nerdexam
Google

PROFESSIONAL-CLOUD-DEVOPS-ENGINEER · Question #102

You are configuring your CI/CD pipeline natively on Google Cloud. You want builds in a pre- production Google Kubernetes Engine (GKE) environment to be automatically load-tested before being…

The correct answer is C. Create an attestation for the builds that pass the load test by using a private key stored in Cloud. In a Binary Authorization pipeline, attestations prove that a specific build step (here, the load test) was completed successfully. The Google-recommended approach is to use an asymmetric key pair stored in Cloud KMS to sign attestations programmatically and automatically after…

Submitted by eva_at· Apr 18, 2026Building and implementing CI/CD pipelines for a service

Question

You are configuring your CI/CD pipeline natively on Google Cloud. You want builds in a pre- production Google Kubernetes Engine (GKE) environment to be automatically load-tested before being promoted to the production GKE environment. You need to ensure that only builds that have passed this test are deployed to production. You want to follow Google-recommended practices. How should you configure this pipeline with Binary Authorization?

Options

  • ACreate an attestation for the builds that pass the load test by requiring the lead quality assurance
  • BCreate an attestation for the builds that pass the load test by using a private key stored in Cloud
  • CCreate an attestation for the builds that pass the load test by using a private key stored in Cloud
  • DCreate an attestation for the builds that pass the load test by requiring the lead quality assurance

How the community answered

(22 responses)
  • A
    5% (1)
  • B
    5% (1)
  • C
    82% (18)
  • D
    9% (2)

Explanation

In a Binary Authorization pipeline, attestations prove that a specific build step (here, the load test) was completed successfully. The Google-recommended approach is to use an asymmetric key pair stored in Cloud KMS to sign attestations programmatically and automatically after the load test passes. Cloud KMS provides secure, audited key management without manual key handling. Options A and D require a human (lead QA engineer) to manually sign off, introducing a manual bottleneck and defeating the purpose of automated CI/CD. The key distinction between B and C is the security of where the private key is stored - Cloud KMS is the recommended, secure option.

Topics

#Binary Authorization#CI/CD#Cloud KMS#Automated Attestation

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-DEVOPS-ENGINEER Practice