
Ultimate access to all questions.
Answer-first summary for fast verification
Answer: Make the container tag match the source code commit hash.
The correct answer is C. Making the container tag match the source code commit hash ensures an automated, error-free, and auditable linkage between source code and production deployments. This process allows you to trace back any deployment to the specific commit in the source code repository. Option A, tagging code commits with the date and time, is not precise enough, while other options involve manual processes which are prone to errors and do not ensure a fully automated and auditable solution.
Author: LeetQuiz Editorial Team
No comments yet.
Your company is developing a web-based application and is focused on ensuring that production deployments are traceable and auditable back to the specific source code commits. This means that at any point, you should be able to identify which code changes are running in production by reviewing the deployment logs. What should you do?
A
Make sure a developer is tagging the code commit with the date and time of commit.
B
Make sure a developer is adding a comment to the commit that links to the deployment.
C
Make the container tag match the source code commit hash.
D
Make sure the developer is tagging the commits with latest.