Question

Difficulty: EasyAutomating Continuous Deployment Pipelines and Release Strategies

An organization is setting up an automated continuous delivery pipeline for a microservice deployed to Cloud Run using Google Cloud Deploy. The architecture team requires progressive traffic shifting to canary instances during release rollout and mandatory container image security attestation before deployment. Which TWO deployment pipeline configurations should you implement to satisfy these requirements?

  1. Configure a Google Cloud Deploy delivery pipeline with a canary deployment strategy specifying explicit traffic split percentages.Answer
  2. Enable Binary Authorization policy enforcement on the target environment to validate attestations signed by the CI/CD pipeline.Answer
  3. C
    Assign the primitive Owner role to the pipeline service account so that build steps have unrestricted resource access across all project targets.
  4. D
    Store the deployment infrastructure state file in local runner disk storage without Cloud Storage versioning enabled.
  5. E
    Grant the Service Account Admin role to the build service account to grant access to compute resources during the execution phase.

Answer

To establish a secure continuous delivery pipeline with canary release capabilities on Google Cloud, you should configure a Cloud Deploy delivery pipeline with explicit canary traffic split percentages and enforce Binary Authorization policy validation for container image attestations.
Configuring Cloud Deploy with a canary delivery strategy allows automated progressive traffic management for Cloud Run targets. Combining this with Binary Authorization ensures that only container images that have passed vulnerability scans and signed attestations can be deployed into the target environment.

Step-by-Step Solution

1
Identify the release strategy requirements for traffic shifting
Google Cloud Deploy provides built-in canary strategies to automate progressive traffic routing to Cloud Run services.
Canary deployment strategies reduce release risk by routing a small percentage of traffic to the new revision before full promotion.
2
Identify the security verification requirement for container image deployment
Enabling Binary Authorization on Cloud Run targets ensures container images must possess cryptographic attestations generated during CI/CD security scans.
Binary Authorization acts as an enforcement gate preventing unauthorized or unverified container images from being deployed.

Key Concept

Automating progressive canary deployments using Cloud Deploy combined with Binary Authorization container security policy enforcement.
Rate this question