Question 380
A microservice's database password appears in a Terraform variable file checked into version control; developers can see the raw value. Which limitation must be considered before claiming the issue is fully resolved?
Explanation
Correct Answer
Removing the committed line does not remove credentials from Git history or caches. This caution prevents extrapolating beyond the specific evidence or product boundary. Secret rotation and controlled retrieval are required after repository exposure. The unresolved point should be tested using repository commit history, service account permissions and secret access audit logs rather than assuming a working interface proves full compliance or resilience.
Incorrect Answers
Secrets stored in Git history become irretrievable after a simple new commit. This limitation is framed as a blanket exception, but the case requires a different, narrower caution. The relevant boundary is that removing the committed line does not remove credentials from Git history or caches. Secret rotation and controlled retrieval are required after repository exposure. Inspect repository commit history, service account permissions and secret access audit logs.
Commit history has no impact once source code moves to a new branch. The proposed claim mistakes an incomplete signal or product feature for a universal guarantee. The relevant boundary is that removing the committed line does not remove credentials from Git history or caches. Secret rotation and controlled retrieval are required after repository exposure. Inspect repository commit history, service account permissions and secret access audit logs.
A private repository ensures all contractors have a lawful need to read credentials. This claim exceeds the evidence and ignores an important risk or operational dependency. The relevant boundary is that removing the committed line does not remove credentials from Git history or caches. Secret rotation and controlled retrieval are required after repository exposure. Inspect repository commit history, service account permissions and secret access audit logs.