← Quiz: CI/CD with GitHub Actions: all 10 questions
Quiz: CI/CD with GitHub Actions · Question 3 of 10
Why tag Docker images with the commit SHA instead of latest?
Why tag Docker images with the commit SHA instead of latest?
- A.SHA tags are shorter
- B.You know exactly which code is running and can roll back to a specific version
- C.Docker requires it
- D.It makes builds faster
Answer & explanation
Correct answer: You know exactly which code is running and can roll back to a specific version
A SHA tag ties an image to one commit; latest changes meaning over time.
Can you get the rest right without peeking?
Take the timed Quiz: CI/CD with GitHub Actions quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →