200-901 Application Deployment and Security • Set 8
200-901 Application Deployment and Security Practice Test 8 — 15 questions with explanations. Free, no signup.
A developer is building a container image for a Node.js API. The Dockerfile currently starts with FROM node:18, copies source code, and runs npm install. Builds are slow because dependencies are reinstalled on every code change. The developer wants to leverage Docker layer caching so that npm install runs only when package.json changes. Which change should be made to the Dockerfile?
Choose an answer to begin — your selection is scored in the full session.
15 questions · instant feedback and full explanations after every question.