Question 25
Application DeliveryWhat benefit does GitOps provide regarding auditability and rollback?
Correct answer: C
Explanation
GitOps stores every desired-state change as a Git commit, so the repository history becomes a complete audit trail. Because Git preserves prior commits, you can roll back by using "git revert" to undo a change while keeping the history intact.
Why each option is right or wrong
A. It eliminates the need for logging application events.
B. It relies on manual documentation stored outside Git for tracking changes.
C. Every change to the desired state is a Git commit, providing a full audit trail and easy rollback via git revert.
In GitOps, the declarative desired state is versioned in Git, so each modification is recorded as an immutable commit in the repository history; that gives a complete change log for audit purposes. Because Git preserves prior commits, rollback is performed by reverting the offending commit with `git revert`, which creates a new commit that undoes the change while leaving the audit trail intact.
D. Rollbacks must be performed by directly modifying the live cluster state.
E. Audit trails are only available through proprietary third-party tools.