exam questions

Exam 200-901 All Questions

View all questions & answers for the 200-901 exam

Exam 200-901 topic 1 question 501 discussion

Actual exam question from Cisco's 200-901
Question #: 501
Topic #: 1
[All 200-901 Questions]



Refer to the exhibit. What is the result of running the Dockerfile?

  • A. Copy the directory /app from the ubuntu:18.04 image, build it with make, and execute the application with the Python command.
  • B. Copy the directory app from the current directory of the Docker client, execute the application with make, and after it runs, execute an additional application.
  • C. Copy the directory app from the current directory of the Docker client, build it with make, and execute the application with the Python command.
  • D. Copy the /app directory from the ubuntu:18.04 image, execute the application with make, and after it runs, execute an additional application.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
LukeJones
6 days, 8 hours ago
FROM ubuntu:18.04: This line specifies the base image to use for the container. It uses Ubuntu 18.04 as the base. COPY . /app: This line copies everything from the current directory on the Docker client's machine into the /app directory inside the container. RUN make /app: This line runs the make command in the /app directory inside the container, which is typically used to build or compile the application. CMD python /app/app.py: This line specifies the command that will be executed when the container starts. In this case, it runs the app.py Python script located in the /app directory.
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago