Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
Linux Professional Institute logo

LPI Web Development Essentials

Domain 5Objective 2

035.2 NodeJS Express Basics (weight: 4) WEB-DEVELOPMENT-ESSENTIALS Practice Questions (Page 2)

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 6–10

  1. 6foundation · easy

    What is a common defense against CSRF attacks?

    Select an answer first
  2. 7expert · hard

    A developer is building a blog where users can post comments. The comments are rendered in an EJS template. The developer wants to allow basic formatting like bold text using HTML tags, but is concerned about XSS attacks. What is the most secure approach?

    Select an answer first
  3. 8expert · hard

    A developer has a route that renders a list of items. The data comes from a database query that may return a large number of items. The developer wants to paginate the results. The URL is '/items?page=2'. How should the route handle the 'page' parameter and render the correct items?

    Select an answer first
  4. 9expert · hard

    An Express app serves static files from 'public'. A developer adds a route '/files' that should serve a file from a different directory 'private' that is not publicly accessible. What is the correct approach?

    Select an answer first
  5. 10foundation · easy

    What is Cross-Site Scripting (XSS)?

    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.