Teams are bypassing dev and staging and deploying images directly to production in separate GKE clusters. You need a quick, low-effort Google Cloud control to enforce promotion testing. What do you implement?
Choose an answer
Tap an option to check your answer.
Correct answer: Configure binary authorization policies for the development, staging, and production clusters. Create attestations as part of the continuous integration pipeline..
Why this is the answer
Binary Authorization is a Google Cloud service designed specifically to enforce deployment policies on GKE. By configuring policies for dev, staging, and production clusters, you can require attestations (digital signatures) that prove an image has passed specific checks (like testing in a previous environment). The CI pipeline can automatically create these attestations after successful tests. This provides a strong, automated control against unauthorized deployments. Kubernetes lifecycle hooks and admission controllers are Kubernetes-native solutions that could be configured, but they require more custom development and maintenance compared to the managed Binary Authorization service, which is designed for this exact purpose with lower effort. A corporate policy is a procedural control, not a technical enforcement mechanism, and can easily be bypassed.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed