exam questions

Exam 200-901 All Questions

View all questions & answers for the 200-901 exam

Exam 200-901 topic 1 question 415 discussion

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

A development team needs to containerize an application named 'custapp4o3p2r6d3s6w7x6t9'. A Dockerfile has been created and now the docker build command must be run using the current folder to find the Dockerfile, build the image and create a local repository named 'custapp4d5c-repo' that points to that image. Which command must be used?

  • A. docker build custapp4d5c-repo Dockerfile .
  • B. docker build -t acustapp4d5c-repo Dockerfile.txt
  • C. docker build custapp4d5c-repo -f Dockerfile.txt
  • D. docker build -t custapp4d5c-repo -f Dockerfile .
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
Woonesuf
Highly Voted 9 months, 3 weeks ago
Selected Answer: D
Tag an image (-t, --tag) Specify a Dockerfile (-f, --file) Source: https://docs.docker.com/engine/reference/commandline/build/
upvoted 6 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 ...