Lpi 030-100 Practice Exams
Last updated on Oct 22,2026- Exam Code: 030-100
- Exam Name: Web Development Essentials - Exam 030, version 1.0
- Certification Provider: Lpi
- Latest update: Oct 22,2026
Question #11
What is the function of character encoding in HTML?
- A . To compress the HTML document
- B . To define the character set used for the document, such as UTF-8
- C . To add special effects to text
- D . To specify the document’s language
Correct Answer: B
Question #12
In SQL, what is the function of the LIMIT clause?
- A . To restrict the number of rows returned by a query
- B . To specify the join conditions between tables
- C . To sort the result set in ascending or descending order
- D . To group rows that have the same values in specified columns
Correct Answer: A
Question #13
Which CSS property is used to specify the stacking order of positioned elements?
- A . position
- B . display
- C . z-index
- D . align-items
Correct Answer: C
Question #14
What is the primary purpose of an API in web development?
- A . To increase the processing speed of the application
- B . To enable communication between different software components
- C . To encrypt data transmissions
- D . To provide a graphical interface for users
Correct Answer: B
Question #15
Which CSS property is used to set the space between the borders of adjacent elements?
- A . border-spacing
- B . margin
- C . padding
- D . spacing
Correct Answer: B
Question #16
Which of the following are true about compilers and interpreters? (Choose two)
- A . Compilers convert source code into machine code before runtime.
- B . Interpreters execute the source code line by line during runtime.
- C . Compilers are used to enhance the security of a source code.
- D . Interpreters translate the entire program at once and then execute it.
Correct Answer: AB
Question #17
To update data in a table, which SQL command should be used?
- A . MODIFY
- B . CHANGE
- C . UPDATE
- D . ALTER
Correct Answer: C
Question #18
How are comments added in CSS?
- A . // This is a comment
- B . <!– This is a comment –>
- C . /* This is a comment */
- D . # This is a comment
Correct Answer: C
Question #19
When adding an image to an HTML document, which attribute is essential for accessibility?
- A . src
- B . alt
- C . title
- D . href
Correct Answer: B
Question #20
What is a primary key in an SQL database?
- A . A unique identifier for each row in a table
- B . A password to access the database
- C . The main field used for joining tables
- D . The highest value in a table
Correct Answer: A