Original study notes for cloud certification exams — Google Cloud first, more clouds in build.

Binary Authorization Study Notes

Binary Authorization is a deploy-time security control for GKE and related runtimes that ensures only trusted, verified container images are allowed to deploy. Images must be signed by trusted authorities, called attestors, who vouch for checks such as passing a build or vulnerability scan. A central policy decides which attestations each cluster or project requires before an image can run.

Exam tip: If the question says an unsigned image must be prevented from running on GKE, that is Binary Authorization, not scanning or IAM.

Key facts

What the exam expects you to know

Binary Authorization vs Artifact Registry vulnerability scanning: when to use which

Artifact Registry with Artifact Analysis scanning tells you what is inside an image and which known vulnerabilities it contains, but it does not by itself stop a vulnerable or unsigned image from deploying. Binary Authorization enforces policy at deploy time by checking for required attestations, which may include a scanning attestation. Choose scanning when the need is visibility and reporting; choose Binary Authorization when the requirement is a hard gate that only verified images can run in your clusters. In mature pipelines the two work together, with scan results feeding an attestor. See also the Artifact Registry vulnerability scanning notes.

Useful gcloud commands

gcloud container binauthz policy export
gcloud container binauthz attestors list
gcloud container binauthz policy import policy.yaml

Common exam traps

Frequently asked questions

What is an attestor in Binary Authorization?

An attestor is a named authority that uses a private key to sign statements, called attestations, about a container image digest. Each attestor represents one verification step, such as a completed build or a passed vulnerability scan. Policies name the attestors whose signatures an image must carry before it is allowed to deploy.

What happens when an image fails the policy?

In enforcement mode the deployment is blocked and the pod is not created, and the denial is recorded in audit logs with the reason. In dry-run mode the deployment proceeds but the policy violation is logged, which is useful while you are tuning the policy. Either way, the event is visible rather than silent.

When should break-glass be used?

Break-glass is reserved for genuine emergencies, such as deploying an urgent fix when the normal attestation pipeline is unavailable. An authorized user annotates the deployment to bypass Binary Authorization, the bypass is logged for audit, and the team should restore the normal signed path as soon as the incident is resolved.

Study aid disclaimer: Cloud Cert Notes is an independent educational study aid. It is not affiliated with, endorsed by, or sponsored by Google, Microsoft, Amazon, Oracle, or Alibaba. Google Cloud, Associate Cloud Engineer, and Cloud Digital Leader are trademarks of Google LLC; all other certification names and product names are trademarks of their respective owners. Always confirm service details against the official provider documentation before sitting an exam.