
LPI Web Development Essentials
Domain 5Objective 2
035.2 NodeJS Express Basics (weight: 4) WEB-DEVELOPMENT-ESSENTIALS Practice Questions (Page 3)
Part of the 035 NodeJS Server Programming domain, which makes up ~15% of our current practice bank. Linux Professional Institute does not publish an official question count, but from its 60-minute exam (~25–40 total, ~4–6 in this domain), expect 1–2 from this objective — we provide 33 practice questions to prepare you well beyond it. (estimate)
33questions here
7free pages
12concepts
Questions 11–15
- 11
A web app allows users to change their email address via a POST form. An attacker could trick a logged-in user into submitting this form without their knowledge. What is the most effective defense against this attack?
Select an answer first - 12
What is the default behavior of express.static when serving files from a directory?
Select an answer first - 13
A developer wants to create a route '/user' that displays a user profile. The user ID is passed as a query parameter, e.g., '/user?id=42'. How should the route access the ID?
Select an answer first - 14
Which Express method is used to serve static files from a directory?
Select an answer first - 15
Given the URL '/products?category=books&page=2', how do you access the value 'books' in an Express route handler?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by Linux Professional Institute. “WEB-DEVELOPMENT-ESSENTIALS” is a trademark of its owner, used for identification only.