DevOps Tools Engineer (LPIC-OT 701) — Question 3
Which of the following information is contained in the output of git status? (Choose three correct answers.)
Answer options
- A. Changed files that will not be part of the next commit.
- B. Locked files which cannot be edited until the lock is released.
- C. Changed files that will be part of the next commit.
- D. Unchanged files which have not been edited locally.
- E. Untracked files which are not subject to version control.
Correct answer: C, D, E
Explanation
The correct answers, C, D, and E, represent information that git status provides: C indicates files ready for the next commit, D shows files that have not changed, and E highlights files not being tracked. Options A and B are incorrect because git status does not report on files that are locked or explicitly state which changed files will not be part of the commit.