Google PCA Designing for Security and Compliance Practice Question
A company wants to use Binary Authorization to enforce that only images signed by their internal CI/CD pipeline can be deployed to their GKE clusters. They have set up Cloud Build to sign images. Which THREE steps are required to configure this? (Choose 3)
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Create an attestation for each container image using Cloud Build
To use Binary Authorization, you need to create an attestor that represents the signing authority, create an attestation (signed metadata) for each image, and create a policy that requires attestations. The policy can be cluster-specific. Granting the attestor the Cloud KMS signer role is needed to sign, but the question asks for steps to configure; storing keys in Cloud KMS is a prerequisite but not listed as a step here.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Create an attestation for each container image using Cloud Build
Why this is correct
Attestations are the signed metadata proving the image was verified.
- ✓
Create a Binary Authorization policy that requires attestations for the GKE cluster
Why this is correct
The policy enforces that only attested images can be deployed.
- ✓
Create an attestor in Binary Authorization
Why this is correct
An attestor is needed to represent the trusted signer.
- ✗
Store the signing keys in Cloud HSM
Why it's wrong here
While recommended, storing keys in HSM is not a required step for configuration; keys can be stored in Cloud KMS.
- ✗
Grant the GKE service account the roles/container.deployer role
Why it's wrong here
This role is for deploying, not for Binary Authorization configuration.
Go deeper
Related to this question
Learn chapter
Introduction to Google Cloud Platform
Key term
Cloud KMS
Cloud KMS (Key Management Service) is a cloud-based service that lets you create, manage, and use encryption keys to protect your data at rest and in transit.
Key term
Cloud Build
Cloud Build is a managed service that compiles source code into deployable artifacts, often used in continuous integration and continuous delivery pipelines.
About these practice questions
This PCA question is part of Courseiva's 955-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This PCA practice question is part of Courseiva's free Google Cloud certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the PCA exam.