XK0-005 · Question #756
XK0-005 Question #756: Real Exam Question with Answer & Explanation
The correct answer is D: git tag <feature>. {"question_number": 1, "correct_answer": "D", "explanation": "A git tag creates a named, immutable reference (snapshot) pointing to a specific commit in the repository's history. Unlike branches, tags do not move as new commits are added, making them ideal for marking a fixed poi
Question
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?
Options
- Agit pull <feature>
- Bgit push <feature>
- Cgit branch <feature>
- Dgit tag <feature>
Explanation
{"question_number": 1, "correct_answer": "D", "explanation": "A git tag creates a named, immutable reference (snapshot) pointing to a specific commit in the repository's history. Unlike branches, tags do not move as new commits are added, making them ideal for marking a fixed point in time - such as a known-good infrastructure configuration. 'git branch' creates a movable pointer to commits, 'git pull' fetches and merges remote changes, and 'git push' uploads local commits to a remote - none of which produce a static snapshot.", "generated_by": "claude-sonnet", "llm_judge_score": 4}
Topics
Community Discussion
No community discussion yet for this question.