cert
cert-1
cert-2

Pass Google Professional Cloud Developer Exam in First Attempt Guaranteed!

Get 100% Latest Exam Questions, Accurate & Verified Answers to Pass the Actual Exam!
30 Days Free Updates, Instant Download!

cert-5
cert-6
Professional Cloud Developer Exam - Verified By Experts
Professional Cloud Developer Premium Bundle
$29.98

Professional Cloud Developer Premium Bundle

$79.99
$109.97
  • Premium File 379 Questions & Answers. Last update: Nov 24, 2026
  • Training Course 253 Video Lectures
  • Study Guide 498 Pages
 
$109.97
$79.99
accept 17 downloads in last 7 days
block-screenshots
Purchase Google Professional Cloud Developer Exam Training Products Individually
Google Professional Cloud Developer Premium File
Premium File 379 Q&A
$76.99$69.99
Google Professional Cloud Developer Video Training Course
Training Course 253 Lectures
$21.99 $19.99
Google Professional Cloud Developer PDF Study Guide
Study Guide 498 Pages
$21.99 $19.99
Google Professional Cloud Developer Practice Test 36

Question 350

A build job marks a mutable tag as approved and the tag is later repointed to a different image digest. The team is choosing a sustainable solution. Which design best meets the stated requirement without broad unrelated changes? Select ONE best answer.

  1. Generate authorized attestations tied to immutable artifact digests before the deployment policy evaluates them.
  2. Treat AI-generated code as a reviewable proposal that must satisfy the same tests and security standards as human-written code.
  3. Use protected branches with mandatory code review and verified CI status before release promotions.
  4. Expose narrowly scoped MCP server tools with explicit authorization and untrusted-input handling.

Explanation

Correct Answer

A:

Generate authorized attestations tied to immutable artifact digests before the deployment policy evaluates them. Before rollout, inspect attestor configuration, attestation target digest, build service identity, and deployment policy conditions. A build job marks a mutable tag as approved and the tag is later repointed to a different image digest. The team is choosing a sustainable solution.

Incorrect Answers

B:

Treat AI-generated code as a reviewable proposal that must satisfy the same tests and security standards as human-written code. This design addresses Gemini Code Assist generated code verification, where aI coding assistance can accelerate development but generated suggestions do not establish their own correctness or safety. It addresses a different dependency from binary authorization attestations in ci.

C:

Use protected branches with mandatory code review and verified CI status before release promotions. For this case, Binary Authorization requires digest-specific trust evidence and an enforcement policy, not just an assertion that a build succeeded. It addresses a different dependency from binary authorization attestations in ci.

D:

Expose narrowly scoped MCP server tools with explicit authorization and untrusted-input handling. For this case, Binary Authorization requires digest-specific trust evidence and an enforcement policy, not just an assertion that a build succeeded. It addresses a different dependency from binary authorization attestations in ci.

Question 351

A build job marks a mutable tag as approved and the tag is later repointed to a different image digest. An approved limited change can be tested in a safe environment. Which implementation action most directly addresses this scenario? Select ONE best answer.

  1. Define explicit Cloud Build dependencies and inject one failed test to verify that release stages are skipped.
  2. Run hermetic emulator tests with isolated fixture data and add a controlled cloud integration smoke test.
  3. Provision the selected environment and validate workspace setup, credential access, and cleanup behavior.
  4. Add a verified CI attestation step and test one signed and one unsigned image digest against enforcement.

Explanation

Correct Answer

D:

Add a verified CI attestation step and test one signed and one unsigned image digest against enforcement. Binary Authorization requires digest-specific trust evidence and an enforcement policy, not just an assertion that a build succeeded. Validate the change by checking that only images carrying the expected evidence satisfy the admission policy; arbitrary tags do not bypass the gate. An approved limited change can be tested in a safe environment.

Incorrect Answers

A:

Define explicit Cloud Build dependencies and inject one failed test to verify that release stages are skipped. This action changes a different concern, Cloud Build parallel tests and failure gates. The reported condition is about binary authorization attestations in ci, not this adjacent change.

B:

Run hermetic emulator tests with isolated fixture data and add a controlled cloud integration smoke test. This action changes a different concern, local Google Cloud emulator boundaries. The reported condition is about binary authorization attestations in ci, not this adjacent change.

C:

Provision the selected environment and validate workspace setup, credential access, and cleanup behavior. This action changes a different concern, Cloud Shell versus Cloud Workstations. The reported condition is about binary authorization attestations in ci, not this adjacent change.

Question 352

A build job marks a mutable tag as approved and the tag is later repointed to a different image digest. The team has tried a correction. Which measurable outcome most directly demonstrates that this issue is resolved? Select ONE best answer.

  1. Development and staging tests use only intended resources and secret material is absent from source and artifact layers.
  2. Interface regressions are caught before production without claiming emulators prove every IAM, quota, or availability condition.
  3. The service meets agreed throughput, tail-latency, and error thresholds under the documented test profile.
  4. Only images carrying the expected evidence satisfy the admission policy; arbitrary tags do not bypass the gate.

Explanation

Correct Answer

D:

Only images carrying the expected evidence satisfy the admission policy; arbitrary tags do not bypass the gate. The original diagnosis should have included this step: inspect attestor configuration, attestation target digest, build service identity, and deployment policy conditions. A build job marks a mutable tag as approved and the tag is later repointed to a different image digest. The team has tried a correction.

Incorrect Answers

A:

Development and staging tests use only intended resources and secret material is absent from source and artifact layers. That result could support testing of development secrets and environment isolation: Environment configuration and secret injection must be isolated; a dev label on a file does not constrain the credentials it contains. Applying it first would leave binary authorization attestations in ci unresolved.

B:

Interface regressions are caught before production without claiming emulators prove every IAM, quota, or availability condition. That result could support testing of integration testing with service emulators: Service emulators exercise protocol and data behavior but do not eliminate the need for selective production-like integration checks. Applying it first would leave binary authorization attestations in ci unresolved.

C:

The service meets agreed throughput, tail-latency, and error thresholds under the documented test profile. That result could support testing of performance and load testing before release: Performance acceptance requires representative load and percentile metrics; a successful small demo does not demonstrate capacity. Applying it first would leave binary authorization attestations in ci unresolved.

Question 353

An auditor cannot determine which source commit, builder identity, and dependencies produced the running container. Before choosing a remediation, which investigation best isolates the specific cause or unmet dependency? Select ONE best answer.

  1. Inspect build steps, image artifact outputs, stage dependencies, and failure propagation.
  2. Inspect flag targeting, defaults, kill-switch behavior, and test coverage of enabled and disabled code paths.
  3. Inspect repository review policy, branch protections, required checks, and deployment-to-commit mapping.
  4. Inspect recorded source revision, isolated build process, artifact digest, and available provenance attestations.

Explanation

Correct Answer

D:

Inspect recorded source revision, isolated build process, artifact digest, and available provenance attestations. Success requires that reviewers can trace an artifact to its build inputs and trusted builder without relying on a mutable filename. Supply-chain provenance records how an artifact was built; test results alone do not establish its origin.

Incorrect Answers

A:

Inspect build steps, image artifact outputs, stage dependencies, and failure propagation. A build pipeline must explicitly encode its ordering and failure gates; saving a Dockerfile alone does not enforce release quality. That check does not establish the specific cause behind slsa and build provenance evidence.

B:

Inspect flag targeting, defaults, kill-switch behavior, and test coverage of enabled and disabled code paths. Feature flags separate code deployment from feature exposure, but untested flag branches can still create production failures. That check does not establish the specific cause behind slsa and build provenance evidence.

C:

Inspect repository review policy, branch protections, required checks, and deployment-to-commit mapping. Source-control governance and traceable commits protect the integrity of the software delivery pipeline. That check does not establish the specific cause behind slsa and build provenance evidence.

Question 354

An auditor cannot determine which source commit, builder identity, and dependencies produced the running container. The team is choosing a sustainable solution. Which design best meets the stated requirement without broad unrelated changes? Select ONE best answer.

  1. Roll out features through controlled identities and verify both states before exposing real users.
  2. Capture supported build provenance with a documented trust level and link it to the deployed artifact.
  3. Use a supported minimal trusted base and non-root execution where practical, without removing required runtime assets.
  4. Use a supported emulator for local feature tests and keep separate targeted tests for real cloud IAM, quotas, and networking.

Explanation

Correct Answer

B:

Capture supported build provenance with a documented trust level and link it to the deployed artifact. In this scenario, an auditor cannot determine which source commit, builder identity, and dependencies produced the running container. Supply-chain provenance records how an artifact was built; test results alone do not establish its origin.

Incorrect Answers

A:

Roll out features through controlled identities and verify both states before exposing real users. This design addresses feature-flag regression testing, where feature flags separate code deployment from feature exposure, but untested flag branches can still create production failures. A more direct response is to recognize that capture supported build provenance with a documented trust level and link it to the deployed artifact.

C:

Use a supported minimal trusted base and non-root execution where practical, without removing required runtime assets. This design addresses non-root minimal container runtime, where least-privilege container identity and reduced packages narrow the impact of a compromised application process. A more direct response is to recognize that capture supported build provenance with a documented trust level and link it to the deployed artifact.

D:

Use a supported emulator for local feature tests and keep separate targeted tests for real cloud IAM, quotas, and networking. This design addresses local Google Cloud emulator boundaries, where local emulators reduce feedback latency but cannot certify every managed-service feature or production security boundary. A more direct response is to recognize that capture supported build provenance with a documented trust level and link it to the deployed artifact.

Question 355

An auditor cannot determine which source commit, builder identity, and dependencies produced the running container. An approved limited change can be tested in a safe environment. Which implementation action most directly addresses this scenario? Select ONE best answer.

  1. Refactor the Dockerfile to separate compilation from runtime and inspect the final image filesystem and dependency inventory.
  2. Start the authorized proxy and run a harmless connection query with a least-privilege test database user.
  3. Enable provenance generation in an approved Cloud Build workflow and verify its source-to-image linkage.
  4. Provision the selected environment and validate workspace setup, credential access, and cleanup behavior.

Explanation

Correct Answer

C:

Enable provenance generation in an approved Cloud Build workflow and verify its source-to-image linkage. In this scenario, an auditor cannot determine which source commit, builder identity, and dependencies produced the running container. Supply-chain provenance records how an artifact was built; test results alone do not establish its origin.

Incorrect Answers

A:

Refactor the Dockerfile to separate compilation from runtime and inspect the final image filesystem and dependency inventory. This action changes a different concern, multi-stage Docker image construction. The case instead calls for the following: enable provenance generation in an approved Cloud Build workflow and verify its source-to-image linkage.

B:

Start the authorized proxy and run a harmless connection query with a least-privilege test database user. This action changes a different concern, Cloud SQL Auth Proxy local connectivity. The case instead calls for the following: enable provenance generation in an approved Cloud Build workflow and verify its source-to-image linkage.

D:

Provision the selected environment and validate workspace setup, credential access, and cleanup behavior. This action changes a different concern, Cloud Shell versus Cloud Workstations. The case instead calls for the following: enable provenance generation in an approved Cloud Build workflow and verify its source-to-image linkage.

Question 356

An auditor cannot determine which source commit, builder identity, and dependencies produced the running container. The team has tried a correction. Which measurable outcome most directly demonstrates that this issue is resolved? Select ONE best answer.

  1. Reviewers can trace an artifact to its build inputs and trusted builder without relying on a mutable filename.
  2. Staging and production resolve to identical approved image bytes until an explicit change is authorized.
  3. Only reviewed commits with passing checks reach production and each deployment has a reproducible source reference.
  4. Failed tests prevent promotion and successful builds identify an exact source revision and image digest.

Explanation

Correct Answer

A:

Reviewers can trace an artifact to its build inputs and trusted builder without relying on a mutable filename. In this scenario, an auditor cannot determine which source commit, builder identity, and dependencies produced the running container. Supply-chain provenance records how an artifact was built; test results alone do not establish its origin.

Incorrect Answers

B:

Staging and production resolve to identical approved image bytes until an explicit change is authorized. That result could support testing of artifact Registry image digest reproducibility: Tags can be moved to new images; a content digest identifies the exact stored container artifact for verification and rollback. It cannot substitute for the required control: reviewers can trace an artifact to its build inputs and trusted builder without relying on a mutable filename.

C:

Only reviewed commits with passing checks reach production and each deployment has a reproducible source reference. In this case, the outcome to verify is that reviewers can trace an artifact to its build inputs and trusted builder without relying on a mutable filename. It cannot substitute for the required control: reviewers can trace an artifact to its build inputs and trusted builder without relying on a mutable filename.

D:

Failed tests prevent promotion and successful builds identify an exact source revision and image digest. That result could support testing of Cloud Build container pipeline steps: A build pipeline must explicitly encode its ordering and failure gates; saving a Dockerfile alone does not enforce release quality. It cannot substitute for the required control: reviewers can trace an artifact to its build inputs and trusted builder without relying on a mutable filename.

Question 357

A supply-chain review sees a passing test report but no trustworthy trace from submitted source to the released image. Before choosing a remediation, which investigation best isolates the specific cause or unmet dependency? Select ONE best answer.

  1. Inspect recorded source revision, isolated build process, artifact digest, and available provenance attestations.
  2. Inspect generated code against current API references, tests, permissions, and the application's domain invariants.
  3. Inspect API serialization, emulator feature support, test data setup, and the next production-like test boundary.
  4. Inspect build step dependency IDs, failure propagation, required test outputs, and artifact publish sequence.

Explanation

Correct Answer

A:

Inspect recorded source revision, isolated build process, artifact digest, and available provenance attestations. Success requires that reviewers can trace an artifact to its build inputs and trusted builder without relying on a mutable filename. Supply-chain provenance records how an artifact was built; test results alone do not establish its origin. Before choosing a remediation, which investigation best isolates the specific cause or unmet dependency.

Incorrect Answers

B:

Inspect generated code against current API references, tests, permissions, and the application's domain invariants. AI coding assistance can accelerate development but generated suggestions do not establish their own correctness or safety. The first evidence should address slsa and build provenance evidence, not this separate diagnostic path.

C:

Inspect API serialization, emulator feature support, test data setup, and the next production-like test boundary. Service emulators exercise protocol and data behavior but do not eliminate the need for selective production-like integration checks. The first evidence should address slsa and build provenance evidence, not this separate diagnostic path.

D:

Inspect build step dependency IDs, failure propagation, required test outputs, and artifact publish sequence. CI step ordering and explicit dependencies determine whether parallel checks actually gate artifact promotion. The first evidence should address slsa and build provenance evidence, not this separate diagnostic path.

Question 358

A supply-chain review sees a passing test report but no trustworthy trace from submitted source to the released image. The team is choosing a sustainable solution. Which design best meets the stated requirement without broad unrelated changes? Select ONE best answer.

  1. Use versioned dependencies and safe build caches rather than sacrificing reproducibility for faster downloads.
  2. Use a supported minimal trusted base and non-root execution where practical, without removing required runtime assets.
  3. Capture supported build provenance with a documented trust level and link it to the deployed artifact.
  4. Enforce contract tests for backward-compatible request and response shapes before traffic migration.

Explanation

Correct Answer

C:

Capture supported build provenance with a documented trust level and link it to the deployed artifact. The expected outcome is that reviewers can trace an artifact to its build inputs and trusted builder without relying on a mutable filename. Supply-chain provenance records how an artifact was built; test results alone do not establish its origin.

Incorrect Answers

A:

Use versioned dependencies and safe build caches rather than sacrificing reproducibility for faster downloads. The reported condition is about slsa and build provenance evidence, not this adjacent change.

B:

Use a supported minimal trusted base and non-root execution where practical, without removing required runtime assets. This design addresses non-root minimal container runtime, where least-privilege container identity and reduced packages narrow the impact of a compromised application process. The reported condition is about slsa and build provenance evidence, not this adjacent change.

D:

Enforce contract tests for backward-compatible request and response shapes before traffic migration. The reported condition is about slsa and build provenance evidence, not this adjacent change.

Question 359

A supply-chain review sees a passing test report but no trustworthy trace from submitted source to the released image. An approved limited change can be tested in a safe environment. Which implementation action most directly addresses this scenario? Select ONE best answer.

  1. Enable provenance generation in an approved Cloud Build workflow and verify its source-to-image linkage.
  2. Run old and new client fixtures against tagged revisions and reject a release that breaks the approved contract.
  3. Set user permissions and file ownership deliberately, then run unit and container startup checks under the final image identity.
  4. Add a test that writes a fixture, reads it back, and verifies application decoding with a real-service smoke check where required.

Explanation

Correct Answer

A:

Enable provenance generation in an approved Cloud Build workflow and verify its source-to-image linkage. Validate the change by checking that reviewers can trace an artifact to its build inputs and trusted builder without relying on a mutable filename. Supply-chain provenance records how an artifact was built; test results alone do not establish its origin.

Incorrect Answers

B:

Run old and new client fixtures against tagged revisions and reject a release that breaks the approved contract. This action changes a different concern, Cloud Run HTTP API contract tests. Applying it first would leave slsa and build provenance evidence unresolved.

C:

Set user permissions and file ownership deliberately, then run unit and container startup checks under the final image identity. This action changes a different concern, non-root minimal container runtime. Applying it first would leave slsa and build provenance evidence unresolved.

D:

Add a test that writes a fixture, reads it back, and verifies application decoding with a real-service smoke check where required. This action changes a different concern, integration testing with service emulators. Applying it first would leave slsa and build provenance evidence unresolved.

Question 360

A supply-chain review sees a passing test report but no trustworthy trace from submitted source to the released image. The team has tried a correction. Which measurable outcome most directly demonstrates that this issue is resolved? Select ONE best answer.

  1. Reviewers can trace an artifact to its build inputs and trusted builder without relying on a mutable filename.
  2. The pipeline gains safe parallelism while no failed or unfinished mandatory check can produce an approved release.
  3. Only images carrying the expected evidence satisfy the admission policy; arbitrary tags do not bypass the gate.
  4. The application reaches the intended instance without opening unrestricted inbound database access.

Explanation

Correct Answer

A:

Reviewers can trace an artifact to its build inputs and trusted builder without relying on a mutable filename. This is evidence that the particular acceptance condition for SLSA and build provenance evidence has been met, rather than a general availability metric. Supply-chain provenance records how an artifact was built; test results alone do not establish its origin.

Incorrect Answers

B:

The pipeline gains safe parallelism while no failed or unfinished mandatory check can produce an approved release. In this case, the outcome to verify is that reviewers can trace an artifact to its build inputs and trusted builder without relying on a mutable filename. That may help elsewhere, but it does not make the change required for slsa and build provenance evidence.

C:

Only images carrying the expected evidence satisfy the admission policy; arbitrary tags do not bypass the gate. That result could support testing of binary Authorization attestations in CI: Binary Authorization requires digest-specific trust evidence and an enforcement policy, not just an assertion that a build succeeded. That may help elsewhere, but it does not make the change required for slsa and build provenance evidence.

D:

The application reaches the intended instance without opening unrestricted inbound database access. In this case, the outcome to verify is that reviewers can trace an artifact to its build inputs and trusted builder without relying on a mutable filename. That may help elsewhere, but it does not make the change required for slsa and build provenance evidence.

Professional Cloud Developer Practice Tests