Google Cloud Professional Cloud Developer — Question 313

You work for a financial services company that has a container-first approach. Your team develops microservices applications. You have a Cloud Build pipeline that creates a container image, runs regression tests, and publishes the image to Artifact Registry. You need to ensure that only containers that have passed the regression tests are deployed to GKE clusters. You have already enabled Binary Authorization on the GKE clusters. What should you do next?

Answer options

Correct answer: C

Explanation

The correct answer is C because creating an attestor and a policy allows you to formally attest that the container images have passed the regression tests, which is necessary for Binary Authorization to function correctly. Options A and B focus on Voucher, which is not relevant here, while D involves Pod Security Standards, which do not directly address the attestation needed for Binary Authorization.