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 58

Question 570

A service needs to connect to an internal database IP but the deployment has no VPC egress configuration. The team is choosing a sustainable solution. Which design best meets the stated requirement without broad unrelated changes? Select ONE best answer.

  1. Configure private egress for required VPC destinations and deliberately select whether all or only private traffic uses it.
  2. Use stable matching selectors and Pod labels so the Kubernetes controller owns the intended replicas.
  3. Keep private services authenticated and authorize only the intended caller with a suitable identity token.
  4. Route the intended event type through Eventarc to a compatible authenticated Cloud Run destination.

Explanation

Correct Answer

A:

Configure private egress for required VPC destinations and deliberately select whether all or only private traffic uses it. The expected outcome is that both destination classes follow the approved routes and network controls without leaking private endpoints. Before rollout, inspect network, subnet region, Direct VPC egress mode, firewall policy, and required destinations.

Incorrect Answers

B:

Use stable matching selectors and Pod labels so the Kubernetes controller owns the intended replicas. For this case, Cloud Run VPC egress policy changes outbound routing; IAM, firewall and NAT controls still determine actual reachability. That may help elsewhere, but it does not make the change required for cloud run direct vpc egress configuration.

C:

Keep private services authenticated and authorize only the intended caller with a suitable identity token. This design addresses authenticated Cloud Run invocation, where private Cloud Run invocation requires both valid identity evidence and applicable IAM authorization; making it public is not a substitute. That may help elsewhere, but it does not make the change required for cloud run direct vpc egress configuration.

D:

Route the intended event type through Eventarc to a compatible authenticated Cloud Run destination. This design addresses eventarc-triggered Cloud Run handler, where Eventarc event routing requires compatible source filters, destination connectivity, and authorized trigger identity. That may help elsewhere, but it does not make the change required for cloud run direct vpc egress configuration.

Question 571

A service needs to connect to an internal database IP but the deployment has no VPC egress configuration. An approved limited change can be tested in a safe environment. Which implementation action most directly addresses this scenario? Select ONE best answer.

  1. Deploy a test revision from the approved source and examine the build logs and resolved container digest.
  2. Define startup order where supported and validate a request that depends on the sidecar without exposing its port publicly.
  3. Benchmark cold and warm requests under idle and burst conditions before setting minimum instances.
  4. Deploy a canary revision with the proposed network options and test private SQL and public API connectivity.

Explanation

Correct Answer

D:

Deploy a canary revision with the proposed network options and test private SQL and public API connectivity. Validate the change by checking that both destination classes follow the approved routes and network controls without leaking private endpoints.

Incorrect Answers

A:

Deploy a test revision from the approved source and examine the build logs and resolved container digest. This action changes a different concern, Cloud Run source deployment path. A more direct response is to deploy a canary revision with the proposed network options and test private SQL and public API connectivity.

B:

Define startup order where supported and validate a request that depends on the sidecar without exposing its port publicly. This action changes a different concern, Cloud Run sidecar container dependency. A more direct response is to deploy a canary revision with the proposed network options and test private SQL and public API connectivity.

C:

Benchmark cold and warm requests under idle and burst conditions before setting minimum instances. This action changes a different concern, minimum instances and cold-start tradeoffs. A more direct response is to deploy a canary revision with the proposed network options and test private SQL and public API connectivity.

Question 572

A service needs to connect to an internal database IP but the deployment has no VPC egress configuration. The team has tried a correction. Which measurable outcome most directly demonstrates that this issue is resolved? Select ONE best answer.

  1. The Pod completes startup and later health failures are still detected without premature restarts.
  2. Both destination classes follow the approved routes and network controls without leaking private endpoints.
  3. The Deployment maintains the required replicas with labels recognized by its controller and Service.
  4. The application reads only authorized secret content and adopts updated credentials according to documented delivery behavior.

Explanation

Correct Answer

B:

Both destination classes follow the approved routes and network controls without leaking private endpoints. Cloud Run VPC egress policy changes outbound routing; IAM, firewall and NAT controls still determine actual reachability. The original diagnosis should have included this step: inspect network, subnet region, Direct VPC egress mode, firewall policy, and required destinations.

Incorrect Answers

A:

The Pod completes startup and later health failures are still detected without premature restarts. That result could support testing of GKE startup probe for slow initialization: Kubernetes startup probes can suppress normal liveness and readiness checks during initialization, preventing startup time from being mistaken for failure. The case instead calls for the following: both destination classes follow the approved routes and network controls without leaking private endpoints.

C:

The Deployment maintains the required replicas with labels recognized by its controller and Service. In this case, the outcome to verify is that both destination classes follow the approved routes and network controls without leaking private endpoints. The case instead calls for the following: both destination classes follow the approved routes and network controls without leaking private endpoints.

D:

The application reads only authorized secret content and adopts updated credentials according to documented delivery behavior. In this case, the outcome to verify is that both destination classes follow the approved routes and network controls without leaking private endpoints. The case instead calls for the following: both destination classes follow the approved routes and network controls without leaking private endpoints.

Question 573

A backend loses public API access after routing all traffic into a subnet lacking a permitted internet path. Before choosing a remediation, which investigation best isolates the specific cause or unmet dependency? Select ONE best answer.

  1. Inspect Pod labels, Service selectors, Service type, ingress configuration, and security boundary requirements.
  2. Inspect service revision tags, authentication policy, no-traffic settings, and which URL testers invoke.
  3. Inspect HPA target metrics, resource requests, metrics availability, current versus desired replicas, and scale limits.
  4. Inspect network, subnet region, Direct VPC egress mode, firewall policy, and required destinations.

Explanation

Correct Answer

D:

Inspect network, subnet region, Direct VPC egress mode, firewall policy, and required destinations. Success requires that both destination classes follow the approved routes and network controls without leaking private endpoints. A focused follow-up is to deploy a canary revision with the proposed network options and test private SQL and public API connectivity. Before choosing a remediation, which investigation best isolates the specific cause or unmet dependency.

Incorrect Answers

A:

Inspect Pod labels, Service selectors, Service type, ingress configuration, and security boundary requirements. A Deployment manages Pods, a Service provides stable routing to selected Pods, and ingress determines supported external HTTP entry. It does not isolate the cloud run direct vpc egress configuration issue described.

B:

Inspect service revision tags, authentication policy, no-traffic settings, and which URL testers invoke. Revision tags provide direct revision access for testing; they do not inherently shift regular service URL traffic. It does not isolate the cloud run direct vpc egress configuration issue described.

C:

Inspect HPA target metrics, resource requests, metrics availability, current versus desired replicas, and scale limits. Horizontal Pod Autoscaler makes replica decisions from observed metrics relative to configured targets, not merely from an arbitrary container count. It does not isolate the cloud run direct vpc egress configuration issue described.

Question 574

A backend loses public API access after routing all traffic into a subnet lacking a permitted internet path. The team is choosing a sustainable solution. Which design best meets the stated requirement without broad unrelated changes? Select ONE best answer.

  1. Route the intended event type through Eventarc to a compatible authenticated Cloud Run destination.
  2. Use Cloud Run source deployment with the appropriate build pipeline and explicitly account for the resulting container artifact.
  3. Configure private egress for required VPC destinations and deliberately select whether all or only private traffic uses it.
  4. Use Cloud Scheduler with an appropriately authenticated HTTP target for supported scheduled execution.

Explanation

Correct Answer

C:

Configure private egress for required VPC destinations and deliberately select whether all or only private traffic uses it. The expected outcome is that both destination classes follow the approved routes and network controls without leaking private endpoints. Before rollout, inspect network, subnet region, Direct VPC egress mode, firewall policy, and required destinations. A backend loses public API access after routing all traffic into a subnet lacking a permitted internet path. The team is choosing a sustainable solution.

Incorrect Answers

A:

Route the intended event type through Eventarc to a compatible authenticated Cloud Run destination. This design addresses eventarc-triggered Cloud Run handler, where Eventarc event routing requires compatible source filters, destination connectivity, and authorized trigger identity. It addresses a different dependency from cloud run direct vpc egress configuration.

B:

Use Cloud Run source deployment with the appropriate build pipeline and explicitly account for the resulting container artifact. For this case, Cloud Run VPC egress policy changes outbound routing; IAM, firewall and NAT controls still determine actual reachability. It addresses a different dependency from cloud run direct vpc egress configuration.

D:

Use Cloud Scheduler with an appropriately authenticated HTTP target for supported scheduled execution. This design addresses Cloud Scheduler invoking a private service, where Cloud Scheduler triggers work on a schedule, while Cloud Run request containers are not a reliable place to run an always-on system cron daemon. It addresses a different dependency from cloud run direct vpc egress configuration.

Question 575

A backend loses public API access after routing all traffic into a subnet lacking a permitted internet path. An approved limited change can be tested in a safe environment. Which implementation action most directly addresses this scenario? Select ONE best answer.

  1. Grant scoped invocation rights and send a correctly targeted ID token from the calling workload.
  2. Benchmark cold and warm requests under idle and burst conditions before setting minimum instances.
  3. Deploy a canary revision with the proposed network options and test private SQL and public API connectivity.
  4. Apply the intended ingress mode and test calls from approved internal and unapproved external locations.

Explanation

Correct Answer

C:

Deploy a canary revision with the proposed network options and test private SQL and public API connectivity. Validate the change by checking that both destination classes follow the approved routes and network controls without leaking private endpoints. An approved limited change can be tested in a safe environment.

Incorrect Answers

A:

Grant scoped invocation rights and send a correctly targeted ID token from the calling workload. This action changes a different concern, authenticated Cloud Run invocation. The reported condition is about cloud run direct vpc egress configuration, not this adjacent change.

B:

Benchmark cold and warm requests under idle and burst conditions before setting minimum instances. This action changes a different concern, minimum instances and cold-start tradeoffs. The reported condition is about cloud run direct vpc egress configuration, not this adjacent change.

D:

Apply the intended ingress mode and test calls from approved internal and unapproved external locations. This action changes a different concern, Cloud Run ingress restriction. The reported condition is about cloud run direct vpc egress configuration, not this adjacent change.

Question 576

A backend loses public API access after routing all traffic into a subnet lacking a permitted internet path. The team has tried a correction. Which measurable outcome most directly demonstrates that this issue is resolved? Select ONE best answer.

  1. The application reads only authorized secret content and adopts updated credentials according to documented delivery behavior.
  2. Both destination classes follow the approved routes and network controls without leaking private endpoints.
  3. The Pod completes startup and later health failures are still detected without premature restarts.
  4. The handler runs for authorized matching events with valid delivery identity and no unnecessary invocations.

Explanation

Correct Answer

B:

Both destination classes follow the approved routes and network controls without leaking private endpoints. Cloud Run VPC egress policy changes outbound routing; IAM, firewall and NAT controls still determine actual reachability. The original diagnosis should have included this step: inspect network, subnet region, Direct VPC egress mode, firewall policy, and required destinations. A backend loses public API access after routing all traffic into a subnet lacking a permitted internet path. The team has tried a correction.

Incorrect Answers

A:

The application reads only authorized secret content and adopts updated credentials according to documented delivery behavior. In this case, the outcome to verify is that both destination classes follow the approved routes and network controls without leaking private endpoints. Applying it first would leave cloud run direct vpc egress configuration unresolved.

C:

The Pod completes startup and later health failures are still detected without premature restarts. That result could support testing of GKE startup probe for slow initialization: Kubernetes startup probes can suppress normal liveness and readiness checks during initialization, preventing startup time from being mistaken for failure. Applying it first would leave cloud run direct vpc egress configuration unresolved.

D:

The handler runs for authorized matching events with valid delivery identity and no unnecessary invocations. That result could support testing of eventarc-triggered Cloud Run handler: Eventarc event routing requires compatible source filters, destination connectivity, and authorized trigger identity. Applying it first would leave cloud run direct vpc egress configuration unresolved.

Question 577

A Kubernetes Deployment shows three desired replicas but its pods are not managed because labels fail to match the selector. Before choosing a remediation, which investigation best isolates the specific cause or unmet dependency? Select ONE best answer.

  1. Inspect Deployment selectors, Pod template labels, desired replicas, and rollout status.
  2. Inspect Pod labels, Service selectors, Service type, ingress configuration, and security boundary requirements.
  3. Inspect source language support, build service account, artifact repository location, and required deployment permissions.
  4. Inspect service revision tags, authentication policy, no-traffic settings, and which URL testers invoke.

Explanation

Correct Answer

A:

Inspect Deployment selectors, Pod template labels, desired replicas, and rollout status. This checks the actual operating conditions relevant to GKE Deployment replicas and selectors, rather than changing a service before the failure is understood. A focused follow-up is to correct the manifest and apply it to a staging namespace, then compare desired and available Pods.

Incorrect Answers

B:

Inspect Pod labels, Service selectors, Service type, ingress configuration, and security boundary requirements. A Deployment manages Pods, a Service provides stable routing to selected Pods, and ingress determines supported external HTTP entry. That check does not establish the specific cause behind gke deployment replicas and selectors.

C:

Inspect source language support, build service account, artifact repository location, and required deployment permissions. Cloud Run source deployment packages code into a container using build machinery; it does not eliminate image provenance and build permissions. That check does not establish the specific cause behind gke deployment replicas and selectors.

D:

Inspect service revision tags, authentication policy, no-traffic settings, and which URL testers invoke. Revision tags provide direct revision access for testing; they do not inherently shift regular service URL traffic. That check does not establish the specific cause behind gke deployment replicas and selectors.

Question 578

A Kubernetes Deployment shows three desired replicas but its pods are not managed because labels fail to match the selector. The team is choosing a sustainable solution. Which design best meets the stated requirement without broad unrelated changes? Select ONE best answer.

  1. Use stable matching selectors and Pod labels so the Kubernetes controller owns the intended replicas.
  2. Configure supported HPA metrics and replica bounds with meaningful CPU requests or other validated measurements.
  3. Use a revision tag for controlled targeted testing while keeping production traffic allocation unchanged.
  4. Add a startup probe that gives slow applications an explicit bounded initialization window before normal probes run.

Explanation

Correct Answer

A:

Use stable matching selectors and Pod labels so the Kubernetes controller owns the intended replicas. In this scenario, a Kubernetes Deployment shows three desired replicas but its pods are not managed because labels fail to match the selector. Before rollout, inspect Deployment selectors, Pod template labels, desired replicas, and rollout status.

Incorrect Answers

B:

Configure supported HPA metrics and replica bounds with meaningful CPU requests or other validated measurements. A more direct response is to use stable matching selectors and Pod labels so the Kubernetes controller owns the intended replicas.

C:

Use a revision tag for controlled targeted testing while keeping production traffic allocation unchanged. This design addresses tagged Cloud Run revision validation, where revision tags provide direct revision access for testing; they do not inherently shift regular service URL traffic. A more direct response is to use stable matching selectors and Pod labels so the Kubernetes controller owns the intended replicas.

D:

Add a startup probe that gives slow applications an explicit bounded initialization window before normal probes run. This design addresses GKE startup probe for slow initialization, where Kubernetes startup probes can suppress normal liveness and readiness checks during initialization, preventing startup time from being mistaken for failure. A more direct response is to use stable matching selectors and Pod labels so the Kubernetes controller owns the intended replicas.

Question 579

A Kubernetes Deployment shows three desired replicas but its pods are not managed because labels fail to match the selector. An approved limited change can be tested in a safe environment. Which implementation action most directly addresses this scenario? Select ONE best answer.

  1. Grant scoped invocation rights and send a correctly targeted ID token from the calling workload.
  2. Configure push authentication and verify a test message reaches the private Cloud Run handler once under normal conditions.
  3. Correct the manifest and apply it to a staging namespace, then compare desired and available Pods.
  4. Define startup order where supported and validate a request that depends on the sidecar without exposing its port publicly.

Explanation

Correct Answer

C:

Correct the manifest and apply it to a staging namespace, then compare desired and available Pods. In this scenario, a Kubernetes Deployment shows three desired replicas but its pods are not managed because labels fail to match the selector. Validate the change by checking that the Deployment maintains the required replicas with labels recognized by its controller and Service.

Incorrect Answers

A:

Grant scoped invocation rights and send a correctly targeted ID token from the calling workload. This action changes a different concern, authenticated Cloud Run invocation. The case instead calls for the following: correct the manifest and apply it to a staging namespace, then compare desired and available Pods.

B:

Configure push authentication and verify a test message reaches the private Cloud Run handler once under normal conditions. This action changes a different concern, Pub/Sub push to Cloud Run authentication. The case instead calls for the following: correct the manifest and apply it to a staging namespace, then compare desired and available Pods.

D:

Define startup order where supported and validate a request that depends on the sidecar without exposing its port publicly. This action changes a different concern, Cloud Run sidecar container dependency. The case instead calls for the following: correct the manifest and apply it to a staging namespace, then compare desired and available Pods.

Question 580

A Kubernetes Deployment shows three desired replicas but its pods are not managed because labels fail to match the selector. The team has tried a correction. Which measurable outcome most directly demonstrates that this issue is resolved? Select ONE best answer.

  1. The workload uses short-lived authorized identity and can access only intended buckets without key material in manifests.
  2. The Deployment maintains the required replicas with labels recognized by its controller and Service.
  3. The ingress application responds correctly and required sidecars are available without unintended public endpoints.
  4. Interactive requests terminate predictably while long jobs complete independently with verifiable status.

Explanation

Correct Answer

B:

The Deployment maintains the required replicas with labels recognized by its controller and Service. This is evidence that the particular acceptance condition for GKE Deployment replicas and selectors has been met, rather than a general availability metric. The original diagnosis should have included this step: inspect Deployment selectors, Pod template labels, desired replicas, and rollout status.

Incorrect Answers

A:

The workload uses short-lived authorized identity and can access only intended buckets without key material in manifests. That result could support testing of GKE pod identity without key files: GKE workload identity maps Kubernetes principals to Google Cloud permissions without requiring embedded long-lived service account JSON keys. It cannot substitute for the required control: the Deployment maintains the required replicas with labels recognized by its controller and Service.

C:

The ingress application responds correctly and required sidecars are available without unintended public endpoints. In this case, the outcome to verify is that the Deployment maintains the required replicas with labels recognized by its controller and Service. It cannot substitute for the required control: the Deployment maintains the required replicas with labels recognized by its controller and Service.

D:

Interactive requests terminate predictably while long jobs complete independently with verifiable status. In this case, the outcome to verify is that the Deployment maintains the required replicas with labels recognized by its controller and Service. It cannot substitute for the required control: the Deployment maintains the required replicas with labels recognized by its controller and Service.

Professional Cloud Developer Practice Tests