An enterprise financial technology platform requires a highly secure, automated continuous integration and deployment pipeline for containerized microservices running on Google Kubernetes Engine (GKE). The security policy strictly dictates that all artifacts must pass automated container scanning, have a Cryptographic Build Attestation signed by Cloud KMS, pass Binary Authorization policy checks, and follow a controlled canary release pattern using Cloud Deploy with automated metric validation. In what chronological sequence must the pipeline execute these operations from source code push to full release?
- 1Cloud Build compiles source code, builds the container image, pushes it to Artifact Registry, and waits for automated Artifact Analysis vulnerability scanning to complete clean.
- 2Cloud Build invokes a custom builder step that signs the build artifact's digest using a Cloud KMS key to generate a Binary Authorization vulnerability attestation note.
- 3Cloud Deploy initiates a release to the staging GKE cluster, where the GKE Binary Authorization enforcer verifies the signature against the KMS attestor policy prior to pod scheduling.
- 4Cloud Deploy executes a multi-target rollout phase, deploying a 10% canary traffic allocation to production while monitoring Cloud Logging and Cloud Monitoring metrics for latency and error rate anomalies.
- 5Cloud Deploy promotes the release to 100% production traffic upon successful metric evaluation, completing the delivery pipeline rollout.
Cevap
The correct end-to-end pipeline ordering is: (1) Image build, Artifact Registry push, and vulnerability scanning, (2) Cryptographic Binary Authorization attestation signing via Cloud KMS, (3) Cloud Deploy release to staging with Binary Authorization signature verification, (4) Cloud Deploy canary rollout in production with telemetry monitoring, and (5) Promotion to 100% production traffic.
The proper secure CI/CD pipeline progression establishes software supply chain security first (building, vulnerability scanning, and signing attestations via Cloud KMS), followed by environment delivery execution (Binary Authorization verification during deployment via Cloud Deploy to staging), and concludes with controlled progressive deployment (canary traffic split and monitoring evaluation prior to 100% promotion).
Adım Adım Çözüm
Anahtar Kavram
Secure Software Supply Chain & Automated Release Pipeline Integration