Free Cisco 200-901 Actual Exam Questions - Question 7 Discussion

Question No. 7Drag & Drop

DRAG DROP Drag and drop the Docker file instructions from the onto correct descriptions on the right. Not all options are used. 200-901 practice exam questions

Options
AFROM ubuntu:12.04
BVOLUME ["/var/www", "/var/log/apache2", "/etc/apache2"]
CRUN apt-get update && apt-get install -y-force-yes apache2
DENTRYPOINT ["/usr/sbin/apache2ct", "-D", "FOREGROUND"]
EEXPOSE 1521
Drag an item to a target. Click × to remove.
Answer Area
informs Docker that the container listens on the specified network port(s) at runtime
Drop item here
creates a mount point with the specified name
Drop item here
configures a container that runs as an executable
Drop item here
must be the first instruction in the Docker file
Drop item here
US
AV
Andrew V.
2026-02-11

I noticed that the question mentions dragging Dockerfile instructions onto their descriptions, but not all options are used. Since ENTRYPOINT and CMD aren’t in the list, those can be ruled out for matching. FROM definitely lines up with selecting the base image, and COPY matches moving files into the image. RUN is for executing commands during build, so it fits with running installation or setup commands. The key is to focus on what each instruction does in the build process rather than container runtime behavior. That helps eliminate the unused choices easily.

0
JS
James S.
2026-01-19

COPY is definitely for adding files, so that matches the file transfer description.

0
RB
Rizwan B.
2026-01-18

For this one, I focused on what each instruction actually changes in the image build or container behavior. For example, COPY is about adding files from the build context, so it fits with file transfer. RUN executes commands during build, so it’s tied to image layers, not runtime config. ENV sets environment variables inside the container, which affects runtime but not the build process directly. So, matching them based on when they act helps separate some options easily. The tricky part is between CMD and ENTRYPOINT like you said, but since CMD provides default args and ENTRYPOINT is more fix

0
RB
Rizwan B.
2026-01-16

Okay, from what I remember, a big trap here is the CMD instruction because it’s easy to confuse it with ENTRYPOINT. CMD sets default commands but can be overridden, while ENTRYPOINT defines the executable that always runs. So, would put CMD under something like “default command that can be changed” or “run this if no other command is specified.” The others like FROM (base image) and COPY (copies files) are pretty straightforward but watch out for instructions like RUN vs CMD; they’re pretty different in when they execute. Not all options on the left get used, so don't try to force matches.

0