exam questions

Exam XK0-005 All Questions

View all questions & answers for the XK0-005 exam

Exam XK0-005 topic 1 question 124 discussion

Actual exam question from CompTIA's XK0-005
Question #: 124
Topic #: 1
[All XK0-005 Questions]

A systems administrator created a new Docker image called test. After building the image, the administrator forgot to version the release. Which of the following will allow the administrator to assign the v1 version to the image?

  • A. docker image save test test:v1
  • B. docker image build test:vl
  • C. docker image tag test test:vl
  • D. docker image version test:v1
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
Alizadeh
8 months, 2 weeks ago
Selected Answer: C
The correct answer is C. docker image tag test test:v1.
upvoted 1 times
...
linux_admin
1 year, 2 months ago
Selected Answer: C
To assign a version to a Docker image that has already been built and tagged, the systems administrator should use the docker image tag command. Therefore, the correct option is C, docker image tag test test:v1. The docker image tag command is used to assign a new tag (including a version number) to an existing Docker image.
upvoted 2 times
...
Ckl22
1 year, 4 months ago
Selected Answer: C
Answer is C $ docker image tag SOURCE_IMAGE[:TAG] TARGET_IMAGE[:TAG] https://docs.docker.com/engine/reference/commandline/image_tag/
upvoted 1 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