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 #71
In an HTML document, where should the <title> tag typically be placed?
- A . Inside the <body> tag
- B . Inside the <footer> tag
- C . Inside the <head> tag
- D . As a standalone tag outside of <html>
Correct Answer: C
Question #72
Which CSS property is used to change the text color of an element?
- A . text-color
- B . color
- C . font-color
- D . background-color
Correct Answer: B
Question #73
In HTML, which attribute is used to link to an external CSS file?
- A . src
- B . href
- C . rel
- D . type
Correct Answer: B
Question #74
In Express.js, how are EJS templates rendered?
- A . res.send(templateName, data)
- B . res.render(templateName, data)
- C . res.ejs(templateName, data)
- D . res.template(templateName, data)
Correct Answer: B
Question #75
What is the primary purpose of HTTP cookies?
- A . To encrypt data transmissions
- B . To provide a user interface
- C . To store data on the client’s machine for state management
- D . To increase network bandwidth efficiency
Correct Answer: C
Question #76
What is source code in the context of software development?
- A . A compiled version of a program ready to be executed
- B . The original code written by a programmer in a high-level language
- C . A specialized language used only for web development
- D . The output produced after a program is executed
Correct Answer: B
Question #77
What is the correct syntax for a CSS rule?
- A . selector { property = value; }
- B . selector { property : value }
- C . selector -> { property : value; }
- D . { selector : property = value; }
Correct Answer: B
Question #78
What is the purpose of web sockets in the context of HTTP?
- A . To enable real-time bidirectional communication between client and server
- B . To store large files on the server
- C . To render graphical content in the browser
- D . To increase the loading time of web pages
Correct Answer: A
Question #79
Which of these are commonly used open source database management systems? (Choose two)
- A . Microsoft SQL Server
- B . Oracle Database
- C . MySQL
- D . PostgreSQL
Correct Answer: CD
Question #80
In Express.js, how do you send a static file as a response to a client request?
- A . res.sendFile(filepath)
- B . res.render(filepath)
- C . res.static(filepath)
- D . res.redirect(filepath)
Correct Answer: A