Free Cisco 350-901 Actual Exam Questions - Question 1 Discussion

Question No. 1Drag & Drop

DRAG DROP Refer to the exhibit. 350-901 practice exam questions Drag and drop the correct parts of the Dockerfile from the left onto the item numbers on the right that match the missing sections in the exhibit to complete the Dockerfile to successfully build and deploy a container running a Python application. Not all parts of the Dockerfile are used. 350-901 real exam questions

Options
AENV
BCMD
CRUN
DCOPY
EVOLUME
FFROM
GWORKDIR
HEXPOSE
Drag an item to a target. Click × to remove.
Answer Area
Item 1
Drop item here
Item 2
Drop item here
Item 3
Drop item here
Item 4
Drop item here
Item 5
Drop item here
US
JM
James M.
2026-02-17

I swapped the order a bit from others here. I put the WORKDIR (D) first to set the folder, then COPY the requirements file (C) right after so pip install (B) can run properly with that file in place. The base image (A) definitely kicks things off, so it’s first. That way, dependencies get installed after copying only the requirements, which avoids reinstalling every time app files change. Seems cleaner and should build faster with caching.

0
JM
James M.
2026-02-16

B for installing dependencies after copying requirements, then C to copy app files in place.

0
JM
James M.
2026-02-16

I’d put the COPY command right after setting the WORKDIR so the files land in the correct spot, making option C a good fit for that slot. Also, installing dependencies should only happen after copying requirements, so B works better there.

0
AK
Andre K.
2026-01-24

I think option D fits well for the WORKDIR because it sets the context before copying files. Also, B looks right for installing dependencies since pip install needs to run after copying requirements.

0
CL
Chris L.
2026-01-20

I went with option B for the base image since it specifies Python clearly. Also, the COPY command seems to fit best at number 3 to bring in the app files before running pip install.

0
TN
Tom N.
2026-01-17

Looks pretty straightforward, maybe A, B, and D fit best here.

0