
CiscoCertified Network Associate Automation (CCNA Automation)
Domain 4Objective 6
6. Interpret Contents of a Dockerfile 200-901 Practice Questions (Page 6)
Part of the 4.0 Application Deployment and Security domain, which accounts for 15% of the 200-901 exam. Cisco does not publish an official question count, but from its 120-minute exam (~50–80 total, ~8–12 in this domain), expect 1–1 from this objective — we provide 43 practice questions to prepare you well beyond it. (estimate)
43questions here
9free pages
12concepts
15%of the exam
Questions 26–30
- 26
A developer is building a Docker image for a web application. The build context contains a large node_modules directory and a .env file with production secrets. The developer wants to copy only the application source code into the image and avoid sending unnecessary files to the Docker daemon. Which approach is correct?
Select an answer first - 27
A team is building a Docker image for a production application. They want to ensure that the image is reproducible and that builds do not break unexpectedly when new base image versions are released. Which Dockerfile practice best addresses this concern?
Select an answer first - 28
Which Dockerfile instruction is used to declare the base image for the build?
Select an answer first - 29
What is the purpose of a `.dockerignore` file?
Select an answer first - 30
A containerized web service listens on TCP port 8443. The Dockerfile should document this port so that other developers know which port to publish. Which instruction should be used?
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 Cisco. “200-901” is a trademark of its owner, used for identification only.