
LPI Web Development Essentials
Domain 5Objective 2
035.2 NodeJS Express Basics (weight: 4) WEB-DEVELOPMENT-ESSENTIALS Practice Questions (Page 1)
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 1–5
- 1
In an EJS template, how do you access a property of an object passed from the route?
Select an answer first - 2
A developer is building an API endpoint that accepts JSON data via POST. The data includes a 'name' field that must be a string. The developer has added express.json() middleware. What is the most robust way to validate the 'name' field?
Select an answer first - 3
What is the default directory where Express looks for view templates?
Select an answer first - 4
Which property of the request object contains the query string parameters in Express?
Select an answer first - 5
Why is it important to validate user input in a web application?
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.