
CiscoCertified Network Associate Automation (CCNA Automation)
Domain 4Objective 6
6. Interpret Contents of a Dockerfile 200-901 Practice Questions (Page 1)
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 1–5
- 1
A Dockerfile installs system packages and Python dependencies. The developer notices that the image is larger than expected and wants to reduce the number of layers. Which change to the Dockerfile would help?
Select an answer first - 2
A Dockerfile currently has the following instructions in order: FROM ubuntu:20.04, RUN apt-get update && apt-get install -y curl, COPY . /app, RUN curl -o /app/data.tar.gz https://example.com/data.tar.gz. The developer wants to improve cache efficiency so that the apt-get layer is not re-run when the source code changes. Which change is most effective?
Select an answer first - 3
In a Dockerfile, what is the purpose of the `ENV` instruction?
Select an answer first - 4
A Python application reads a database connection string from the environment variable DB_URL. The Dockerfile must set a default value so the container runs without additional configuration, but operators need to override it at runtime. Which instruction should be used?
Select an answer first - 5
A containerized database application stores data in `/var/lib/db`. The data must persist across container restarts and removals. The Dockerfile should declare a mount point for this directory. Which instruction should be added?
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.