exam questions

Exam XK0-005 All Questions

View all questions & answers for the XK0-005 exam

Exam XK0-005 topic 1 question 340 discussion

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

A DevOps engineer wants to work on a snapshot of the infrastructure as code configuration. Which of the following commands should the engineer use to accomplish this task?

  • A. git pull
  • B. git push
  • C. git branch
  • D. git tag
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
RecoilRabid
2 days, 5 hours ago
Selected Answer: D
He wants to work on the snapshot, not create a snapshot. D.
upvoted 1 times
...
Alex818119
1 month, 1 week ago
Selected Answer: D
AI says D so D
upvoted 2 times
...
Eikan
1 month, 4 weeks ago
Selected Answer: D
Agreed. Tagging is synonymous is with the snapshot feature.
upvoted 1 times
...
NastyNutsu
2 months, 1 week ago
Selected Answer: D
A. git pull is used for fetch and merge changes from a remote repository into the current branch in your local repository. B. git push is used to upload your local repository content to a remote repository. C. git branch is used to list, create, or delete branches in your repository git branch new-branch -- create a new branch git branch -- list all branch D. git tag is used to create a snapshot or a tag in the repository's history. tags are often used to mark important points, such as releases or versions.
upvoted 3 times
...
jimr999
3 months ago
Selected Answer: C
A tag is just a marker within the code. It makes sense that instead the developer here would want to create a branch to work on.
upvoted 2 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