🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← 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?

  1. A.SHA tags are shorter
  2. B.You know exactly which code is running and can roll back to a specific version
  3. C.Docker requires it
  4. 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 →