Lpi 030-100 Practice Exams
Last updated on Oct 24,2026- Exam Code: 030-100
- Exam Name: Web Development Essentials - Exam 030, version 1.0
- Certification Provider: Lpi
- Latest update: Oct 24,2026
Question #51
Which of the following are block-level elements in HTML? (Choose two)
- A . <span>
- B . <div>
- C . <img>
- D . <p>
Correct Answer: BD
Question #52
Which of the following are true about Cross-Site Request Forgery (CSRF)? (Choose two)
- A . It involves the execution of malicious scripts in a user’s browser.
- B . It can be mitigated by using same-origin policy.
- C . It is an attack that forces an end user to execute unwanted actions on a web application.
- D . It is exclusively a server-side vulnerability.
Correct Answer: BC
Question #53
How can CSS be embedded within an HTML document?
- A . Using the <css> tag in the HTML body
- B . Inside the <script> tag
- C . Within the <style> tag in the head section
- D . Directly within HTML elements using the style attribute
Correct Answer: CD
Question #54
Which of the following are roles of web browsers? (Choose two)
- A . Executing JavaScript code
- B . Storing cookies for user authentication
- C . Hosting web applications
- D . Compiling high-level code into machine code
Correct Answer: AB
Question #55
How are HTTP URLs typically mapped to file system paths on a web server?
- A . Through the server’s firewall settings
- B . By using the Domain Name System (DNS)
- C . According to the server’s directory structure and configuration files
- D . By encrypting the URL into a file path
Correct Answer: C
Question #56
In Node.js, which function is used to include built-in modules?
- A . include()
- B . require()
- C . import()
- D . getModule()
Correct Answer: B
Question #57
What is the primary role of HTTPS and TLS in web communications?
- A . To compress data to reduce bandwidth usage
- B . To secure communications between client and server
- C . To increase the speed of data transfer
- D . To convert static content to dynamic content
Correct Answer: B
Question #58
In CSS, what is the difference between the margin and padding properties?
- A . margin controls the space inside an element, while padding controls the space outside.
- B . margin and padding have no differences.
- C . margin controls the space outside an element, while padding controls the space inside.
- D . padding is used for text alignment, whereas margin is used for element positioning.
Correct Answer: C
Question #59
Which HTML input type is used for a multi-line text input field?
- A . text
- B . email
- C . password
- D . textarea
Correct Answer: D
Question #60
What is the purpose of the display property in CSS?
- A . To specify the character encoding of the text
- B . To define how an element is displayed in the document flow
- C . To control the color of an element
- D . To add animations to the element
Correct Answer: B