Professional Cloud Architect Practice Questions

Google Cloud Professional Cloud Architect exam preparation

Professional Cloud Architect practice questions in English: 180 questions with explanations. The mock exam has 60 questions and 120 minutes.

Professional Cloud Architect free question 7 / 10 · Domain 3: Designing for security and compliance

You want only container images that were built by a defined CI pipeline and contain no vulnerabilities above a certain severity to run on GKE and Cloud Run. Images that do not meet the conditions should be stopped at deploy time. Which approach follows the Software supply chain security page?

  1. Enable Artifact Analysis scanning, and stop images that do not meet the conditions at deploy time
  2. Have Cloud Build output build provenance, and stop images that do not match at deploy time
  3. Verify attestations with Binary Authorization, and stop images that do not meet the conditions at deploy time
  4. Use the GKE security posture dashboard to stop images that do not meet the conditions at deploy time
Show the answer and explanation

Answer: C

Why this is correct
The page says Binary Authorization collects attestations, which are digital documents that certify an image, and defines, verifies, and enforces trust-based policies so that an image is deployed only if its attestations satisfy the organization’s policy. As examples of what an attestation can state, it gives that the image was built by Cloud Build and that it has no vulnerabilities above a specified severity, and it says this works with GKE and Cloud Run.

Why the other options are wrong
"Have Cloud Build output build provenance, and stop images that do not match at deploy time" … According to the page, build provenance is verifiable metadata that records things such as the image digest, the input sources, and the build steps. Producing provenance is a function on the build side, and by itself it does not enforce rejecting images at deploy time.
"Enable Artifact Analysis scanning, and stop images that do not meet the conditions at deploy time" … The page describes Artifact Analysis as detecting vulnerabilities in Artifact Registry artifacts and generating SBOMs. It finds vulnerabilities; it is not an enforcement that stops deployment, and it does not check which pipeline built the image.
"Use the GKE security posture dashboard to stop images that do not meet the conditions at deploy time" … The page describes the GKE security posture dashboard as showing actionable recommendations on cluster configuration, workload configuration, and vulnerabilities. It is a tool that shows recommendations and is not an enforcement mechanism that blocks deployment.

Related settings
According to the Binary Authorization overview page, deployment of an image that violates the policy is blocked and the reason is written to Cloud Audit Logs. Attestations include build verification (that the image was built by a specific CI pipeline) and manual attestations made by hand, such as by a QA person. At deploy time, only the attestations are checked, and the earlier steps are not redone.

Go to the Professional Cloud Architect practice app (10 free questions; purchase unlocks all questions)

See the full practice set