Question

Difficulty: MediumAnalyzing Software Development Lifecycle (SDLC) and CI/CD Pipelines

A healthcare enterprise is establishing an automated, zero-trust software delivery pipeline on Google Cloud. The architecture must automatically build, scan, certify, and deploy microservice container updates to a production Google Kubernetes Engine (GKE) cluster. In what sequential order should the CI/CD pipeline execute these operational stages from code check-in to production deployment?

  1. 1Cloud Build compiles the application source code and builds a container image upon receiving a git push event.
  2. 2Artifact Analysis conducts automated vulnerability scanning on the newly created container image.
  3. 3Artifact Registry stores the scanned image, and a KMS key is used to generate a signed cryptographic attestation.
  4. 4Binary Authorization checks the deployment policy and validates the cryptographic attestation signature.
  5. 5Cloud Deploy executes a progressive rollout of the verified container image to the production GKE cluster.

Answer

The correct operational sequence begins with Cloud Build constructing the container image, followed by Artifact Analysis performing vulnerability scans, storing the image and signing an attestation in Artifact Registry, enforcing security policies through Binary Authorization, and concluding with Cloud Deploy releasing the image to GKE.
The sequence reflects Google Cloud secure software supply chain best practices: first, Cloud Build packages the application; second, Artifact Analysis performs vulnerability scanning; third, the artifact is stored in Artifact Registry with a signed attestation; fourth, Binary Authorization verifies the attestation signature against organizational policy; and fifth, Cloud Deploy delivers the image to production GKE.

Step-by-Step Solution

1
Trigger continuous integration and build artifact
Cloud Build compiles source code into a runnable container image.
The source code must be packaged into a container artifact before security scanning can begin.
2
Execute automated security vulnerability analysis
Artifact Analysis scans the container layers for known vulnerabilities.
Security scanning must occur before certifying that an image is safe for environment promotion.
3
Persist image artifact and sign cryptographic attestation
Container image is pushed to Artifact Registry alongside a KMS-signed attestation.
Attestations provide tamper-proof proof that security compliance gates were passed.
4
Enforce container deployment policies
Binary Authorization verifies that valid attestations exist before allowing deployment.
Policy enforcement prevents unsigned or non-compliant images from reaching GKE cluster nodes.
5
Execute progressive release pipeline
Cloud Deploy manages the canary rollout to the production GKE cluster.
Actual deployment execution is the final step in the continuous delivery pipeline.

Key Concept

Analyzing Software Development Lifecycle (SDLC) and CI/CD Pipelines
Rate this question