Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

CompTIA Exam XK0-005 Topic 3 Question 48 Discussion

Actual exam question for CompTIA's XK0-005 exam
Question #: 48
Topic #: 3
[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?

Show Suggested Answer Hide Answer
Suggested Answer: D

Creating a snapshot of the current state of the code in Git is best achieved with the git tag <feature> command, which is often used to mark release points or stable versions in a project. Tags are helpful for referencing points in history without affecting the branch structure. Unlike branches, which are for active development, tags are commonly used to mark versions for future reference or deployment. Reference: CompTIA Linux+ Study Guide.


Contribute your Thoughts:

Patria
15 days ago
I'm not sure, but I think D) git tag could also be a possibility.
upvoted 0 times
...
Edgar
16 days ago
I disagree, I believe the correct answer is C) git branch .
upvoted 0 times
...
Sue
18 days ago
I bet the engineer is already regretting their career choice. Git tags are great, but they don't solve world hunger. Or do they? *scratches head*
upvoted 0 times
Leslie
1 days ago
A) git pull
upvoted 0 times
...
...
Laurene
22 days ago
Hold on, is this a trick question? What if the engineer wants to, you know, actually work on the code? Shouldn't they be using git branch?
upvoted 0 times
...
Cecilia
26 days ago
D all the way! Tagging the infrastructure is like putting a bow on a present. It's the perfect way to wrap up the snapshot.
upvoted 0 times
...
Bettina
27 days ago
I was just about to suggest D, but now I'm second-guessing myself. Maybe I should git push the changes instead?
upvoted 0 times
Claudio
1 days ago
No, I believe git branch would be the correct command to work on a snapshot of the infrastructure as code configuration.
upvoted 0 times
...
Dorothea
2 days ago
I think git tag is the right command to use in this situation.
upvoted 0 times
...
...
Delbert
29 days ago
Hmm, I think D is the right choice. Gotta love those git tags to capture the infrastructure state!
upvoted 0 times
Terina
19 days ago
I think git tag is the correct command to use in this situation.
upvoted 0 times
...
Alva
24 days ago
I agree, git tags are perfect for capturing the state of the infrastructure.
upvoted 0 times
...
...
Kati
1 months ago
I think the answer is A) git pull .
upvoted 0 times
...

Save Cancel