Question 550
An administrator checks the following condition: An engineer needs to see which commit introduced a service timeout regression. What is the MOST directly supported cause?
Explanation
Correct Answer
A working tree diff alone omits committed changes from earlier revisions. This explains the symptom rather than a coincidental service condition. Verification: The problematic configuration change is attributed.
Incorrect Answers
Commit and push are separate operations. That can explain why a hotfix must be saved locally without pushing it to the shared repository, whereas the current evidence supports git log and git diff can compare relevant historical changes.
The alternative describes git commit normally records changes staged in the index, which is relevant when a developer edits a tracked file but commits without staging it. It does not explain this case because a working tree diff alone omits committed changes from earlier revisions.
Checkout may refuse when a branch switch would overwrite local edits. That can explain why a release branch has uncommitted local work and the developer needs to switch branches, whereas the current evidence supports git log and git diff can compare relevant historical changes.





CompTIA Linux+ (XK0-006) Practice Tests