nerdexam
Google

PROFESSIONAL-CLOUD-DEVOPS-ENGINEER · Question #95

You are investigating issues in your production application that runs on Google Kubernetes Engine (GKE). You determined that the source of the issue is a recently updated container image, although the

The correct answer is B. Alter the deployment to point to the sha256 digest of the previously working container.. A container image's SHA256 digest is an immutable, cryptographically unique identifier for a specific image layer set. Pointing the deployment to the digest of the previously working image guarantees you are running exactly that image version, regardless of any tag mutations. The

Submitted by obi.ng· Apr 18, 2026Managing a service incident

Question

You are investigating issues in your production application that runs on Google Kubernetes Engine (GKE). You determined that the source of the issue is a recently updated container image, although the exact change in code was not identified. The deployment is currently pointing to the latest tag. You need to update your cluster to run a version of the container that functions as intended. What should you do?

Options

  • ACreate a new tag called stable that points to the previously working container, and change the
  • BAlter the deployment to point to the sha256 digest of the previously working container.
  • CBuild a new container from a previous Git tag, and do a rolling update on the deployment to the
  • DApply the latest tag to the previous container image, and do a rolling update on the deployment.

How the community answered

(50 responses)
  • A
    10% (5)
  • B
    80% (40)
  • C
    6% (3)
  • D
    4% (2)

Explanation

A container image's SHA256 digest is an immutable, cryptographically unique identifier for a specific image layer set. Pointing the deployment to the digest of the previously working image guarantees you are running exactly that image version, regardless of any tag mutations. The 'latest' tag is mutable and can be overwritten at any time. Option A (creating a 'stable' tag) introduces a mutable tag and extra steps. Option C (building from a Git tag) adds unnecessary build time and steps when the known-good image already exists in the registry. Option D (re-tagging previous image as 'latest') is risky and confusing.

Topics

#GKE#Container Image Digests#Immutable Deployments#Rollback

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-DEVOPS-ENGINEER Practice