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 35

Question 340

A service container runs as root despite needing only an unprivileged HTTP listener on a supported port. The team has tried a correction. Which measurable outcome most directly demonstrates that this issue is resolved? Select ONE best answer.

  1. The service meets agreed throughput, tail-latency, and error thresholds under the documented test profile.
  2. The integrated code compiles, behaves as intended, and introduces no unreviewed permission or business-logic change.
  3. The container starts without excessive privileges and retains access only to necessary files and ports.
  4. Development and staging tests use only intended resources and secret material is absent from source and artifact layers.

Explanation

Correct Answer

C:

The container starts without excessive privileges and retains access only to necessary files and ports. In this scenario, a service container runs as root despite needing only an unprivileged HTTP listener on a supported port. The original diagnosis should have included this step: inspect base-image packages, image user, file ownership, and actual runtime permission requirements.

Incorrect Answers

A:

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. A more direct response is to recognize that the container starts without excessive privileges and retains access only to necessary files and ports.

B:

The integrated code compiles, behaves as intended, and introduces no unreviewed permission or business-logic change. That result could support testing of Gemini Code Assist generated code verification: AI coding assistance can accelerate development but generated suggestions do not establish their own correctness or safety. A more direct response is to recognize that the container starts without excessive privileges and retains access only to necessary files and ports.

D:

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. A more direct response is to recognize that the container starts without excessive privileges and retains access only to necessary files and ports.

Question 341

A hardened container fails to read its own application files after dropping unnecessary filesystem permissions. Before choosing a remediation, which investigation best isolates the specific cause or unmet dependency? Select ONE best answer.

  1. Inspect which Google Cloud service exposes a supported emulator and which production behaviors the emulator cannot simulate.
  2. Inspect recorded source revision, isolated build process, artifact digest, and available provenance attestations.
  3. Inspect repository review policy, branch protections, required checks, and deployment-to-commit mapping.
  4. Inspect base-image packages, image user, file ownership, and actual runtime permission requirements.

Explanation

Correct Answer

D:

Inspect base-image packages, image user, file ownership, and actual runtime permission requirements. Success requires that the container starts without excessive privileges and retains access only to necessary files and ports. Before choosing a remediation, which investigation best isolates the specific cause or unmet dependency.

Incorrect Answers

A:

Inspect which Google Cloud service exposes a supported emulator and which production behaviors the emulator cannot simulate. Local emulators reduce feedback latency but cannot certify every managed-service feature or production security boundary. To examine the reported mechanism, the team instead needs to inspect base-image packages, image user, file ownership, and actual runtime permission requirements.

B:

Inspect recorded source revision, isolated build process, artifact digest, and available provenance attestations. Supply-chain provenance records how an artifact was built; test results alone do not establish its origin. To examine the reported mechanism, the team instead needs to inspect base-image packages, image user, file ownership, and actual runtime permission requirements.

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. To examine the reported mechanism, the team instead needs to inspect base-image packages, image user, file ownership, and actual runtime permission requirements.

Question 342

A hardened container fails to read its own application files after dropping unnecessary filesystem permissions. The team is choosing a sustainable solution. Which design best meets the stated requirement without broad unrelated changes? Select ONE best answer.

  1. Run integration tests against suitable emulators plus bounded staging tests for unsupported cloud-specific behavior.
  2. Use a supported minimal trusted base and non-root execution where practical, without removing required runtime assets.
  3. Use Cloud Build steps that test source before building and publishing the approved container artifact.
  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:

Use a supported minimal trusted base and non-root execution where practical, without removing required runtime assets. The expected outcome is that the container starts without excessive privileges and retains access only to necessary files and ports. Before rollout, inspect base-image packages, image user, file ownership, and actual runtime permission requirements.

Incorrect Answers

A:

Run integration tests against suitable emulators plus bounded staging tests for unsupported cloud-specific behavior. This design addresses integration testing with service emulators, where service emulators exercise protocol and data behavior but do not eliminate the need for selective production-like integration checks. It cannot substitute for the required control: use a supported minimal trusted base and non-root execution where practical, without removing required runtime assets.

C:

Use Cloud Build steps that test source before building and publishing the approved container artifact. This design addresses Cloud Build container pipeline steps, where 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: use a supported minimal trusted base and non-root execution where practical, without removing required runtime assets.

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. It cannot substitute for the required control: use a supported minimal trusted base and non-root execution where practical, without removing required runtime assets.

Question 343

A hardened container fails to read its own application files after dropping unnecessary filesystem permissions. An approved limited change can be tested in a safe environment. Which implementation action most directly addresses this scenario? Select ONE best answer.

  1. Set user permissions and file ownership deliberately, then run unit and container startup checks under the final image identity.
  2. Add a test that writes a fixture, reads it back, and verifies application decoding with a real-service smoke check where required.
  3. Run hermetic emulator tests with isolated fixture data and add a controlled cloud integration smoke test.
  4. Review the suggested patch, verify imported methods, and run targeted tests and static analysis before merge.

Explanation

Correct Answer

A:

Set user permissions and file ownership deliberately, then run unit and container startup checks under the final image identity. Validate the change by checking that the container starts without excessive privileges and retains access only to necessary files and ports.

Incorrect Answers

B:

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. It addresses a different dependency from non-root minimal container runtime.

C:

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. It addresses a different dependency from non-root minimal container runtime.

D:

Review the suggested patch, verify imported methods, and run targeted tests and static analysis before merge. This action changes a different concern, Gemini Code Assist generated code verification. It addresses a different dependency from non-root minimal container runtime.

Question 344

A hardened container fails to read its own application files after dropping unnecessary filesystem permissions. The team has tried a correction. Which measurable outcome most directly demonstrates that this issue is resolved? Select ONE best answer.

  1. Existing clients remain interoperable and failures return correctly structured error responses.
  2. The container starts without excessive privileges and retains access only to necessary files and ports.
  3. Development and staging tests use only intended resources and secret material is absent from source and artifact layers.
  4. The same commands target the approved project and permissions across local and automated environments.

Explanation

Correct Answer

B:

The container starts without excessive privileges and retains access only to necessary files and ports. This is evidence that the particular acceptance condition for non-root minimal container runtime has been met, rather than a general availability metric. The original diagnosis should have included this step: inspect base-image packages, image user, file ownership, and actual runtime permission requirements.

Incorrect Answers

A:

Existing clients remain interoperable and failures return correctly structured error responses. In this case, the outcome to verify is that the container starts without excessive privileges and retains access only to necessary files and ports. The reported condition is about non-root minimal container runtime, not this adjacent change.

C:

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. The reported condition is about non-root minimal container runtime, not this adjacent change.

D:

The same commands target the approved project and permissions across local and automated environments. That result could support testing of google Cloud CLI project and identity context: Google Cloud CLI settings influence which identity and project receive operations; implicit defaults can cause unintended resource changes. The reported condition is about non-root minimal container runtime, not this adjacent change.

Question 345

A team enables a GKE deployment admission policy but its pipeline never produces matching attestations for trusted images. Before choosing a remediation, which investigation best isolates the specific cause or unmet dependency? Select ONE best answer.

  1. Inspect API serialization, emulator feature support, test data setup, and the next production-like test boundary.
  2. Inspect attestor configuration, attestation target digest, build service identity, and deployment policy conditions.
  3. Inspect the test boundary, external service calls, fixture data, and whether functions are deterministic.
  4. Inspect environment variables, secret sources, project IDs, and access to production resources from development builds.

Explanation

Correct Answer

B:

Inspect attestor configuration, attestation target digest, build service identity, and deployment policy conditions. This checks the actual operating conditions relevant to binary Authorization attestations in CI, rather than changing a service before the failure is understood. A focused follow-up is to add a verified CI attestation step and test one signed and one unsigned image digest against enforcement.

Incorrect Answers

A:

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. This is not the decisive inspection for binary authorization attestations in ci.

C:

Inspect the test boundary, external service calls, fixture data, and whether functions are deterministic. Unit tests target a bounded code unit; production network dependencies should be tested through separate controlled integration layers. This is not the decisive inspection for binary authorization attestations in ci.

D:

Inspect environment variables, secret sources, project IDs, and access to production resources from development builds. Environment configuration and secret injection must be isolated; a dev label on a file does not constrain the credentials it contains. This is not the decisive inspection for binary authorization attestations in ci.

Question 346

A team enables a GKE deployment admission policy but its pipeline never produces matching attestations for trusted images. The team is choosing a sustainable solution. Which design best meets the stated requirement without broad unrelated changes? Select ONE best answer.

  1. Define narrowly scoped build triggers for approved events and protected release branches.
  2. Use a supported emulator for local feature tests and keep separate targeted tests for real cloud IAM, quotas, and networking.
  3. Generate authorized attestations tied to immutable artifact digests before the deployment policy evaluates them.
  4. Run independent checks in parallel only when publish and deploy steps still depend on all required PASS outcomes.

Explanation

Correct Answer

C:

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.

Incorrect Answers

A:

Define narrowly scoped build triggers for approved events and protected release branches. For this case, 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 binary authorization attestations in ci.

B:

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. That may help elsewhere, but it does not make the change required for binary authorization attestations in ci.

D:

Run independent checks in parallel only when publish and deploy steps still depend on all required PASS outcomes. For this case, 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 binary authorization attestations in ci.

Question 347

A team enables a GKE deployment admission policy but its pipeline never produces matching attestations for trusted images. An approved limited change can be tested in a safe environment. Which implementation action most directly addresses this scenario? Select ONE best answer.

  1. Add a verified CI attestation step and test one signed and one unsigned image digest against enforcement.
  2. Provision the selected environment and validate workspace setup, credential access, and cleanup behavior.
  3. Add a test that writes a fixture, reads it back, and verifies application decoding with a real-service smoke check where required.
  4. Start the authorized proxy and run a harmless connection query with a least-privilege test database user.

Explanation

Correct Answer

A:

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.

Incorrect Answers

B:

Provision the selected environment and validate workspace setup, credential access, and cleanup behavior. This action changes a different concern, Cloud Shell versus Cloud Workstations. A more direct response is to recognize that add a verified CI attestation step and test one signed and one unsigned image digest against enforcement.

C:

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. A more direct response is to recognize that add a verified CI attestation step and test one signed and one unsigned image digest against enforcement.

D:

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. A more direct response is to recognize that add a verified CI attestation step and test one signed and one unsigned image digest against enforcement.

Question 348

A team enables a GKE deployment admission policy but its pipeline never produces matching attestations for trusted images. The team has tried a correction. Which measurable outcome most directly demonstrates that this issue is resolved? Select ONE best answer.

  1. Existing clients remain interoperable and failures return correctly structured error responses.
  2. Only images carrying the expected evidence satisfy the admission policy; arbitrary tags do not bypass the gate.
  3. Staging and production resolve to identical approved image bytes until an explicit change is authorized.
  4. The integrated code compiles, behaves as intended, and introduces no unreviewed permission or business-logic change.

Explanation

Correct Answer

B:

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.

Incorrect Answers

A:

Existing clients remain interoperable and failures return correctly structured error responses. The case instead calls for the following: only images carrying the expected evidence satisfy the admission policy; arbitrary tags do not bypass the gate.

C:

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. The case instead calls for the following: only images carrying the expected evidence satisfy the admission policy; arbitrary tags do not bypass the gate.

D:

The integrated code compiles, behaves as intended, and introduces no unreviewed permission or business-logic change. That result could support testing of Gemini Code Assist generated code verification: AI coding assistance can accelerate development but generated suggestions do not establish their own correctness or safety. The case instead calls for the following: only images carrying the expected evidence satisfy the admission policy; arbitrary tags do not bypass the gate.

Question 349

A build job marks a mutable tag as approved and the tag is later repointed to a different image digest. Before choosing a remediation, which investigation best isolates the specific cause or unmet dependency? Select ONE best answer.

  1. Inspect API serialization, emulator feature support, test data setup, and the next production-like test boundary.
  2. Inspect attestor configuration, attestation target digest, build service identity, and deployment policy conditions.
  3. Inspect the test boundary, external service calls, fixture data, and whether functions are deterministic.
  4. Inspect server tool manifests, caller identity, accessible resources, and validation of tool arguments.

Explanation

Correct Answer

B:

Inspect attestor configuration, attestation target digest, build service identity, and deployment policy conditions. This checks the actual operating conditions relevant to binary Authorization attestations in CI, rather than changing a service before the failure is understood. A focused follow-up is to add a verified CI attestation step and test one signed and one unsigned image digest against enforcement. Before choosing a remediation, which investigation best isolates the specific cause or unmet dependency.

Incorrect Answers

A:

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. It does not isolate the binary authorization attestations in ci issue described.

C:

Inspect the test boundary, external service calls, fixture data, and whether functions are deterministic. Unit tests target a bounded code unit; production network dependencies should be tested through separate controlled integration layers. It does not isolate the binary authorization attestations in ci issue described.

D:

Inspect server tool manifests, caller identity, accessible resources, and validation of tool arguments. Context exchange and tool access do not grant inherent authority; MCP integrations require independent tool-side permissions and argument validation. It does not isolate the binary authorization attestations in ci issue described.

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.

Professional Cloud Developer Practice Tests