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 50

Question 490

A Cloud Run service is deployed as private but a scheduled caller gets permission denied because it sends no valid identity token. The team is choosing a sustainable solution. Which design best meets the stated requirement without broad unrelated changes? Select ONE best answer.

  1. Use Cloud Run source deployment with the appropriate build pipeline and explicitly account for the resulting container artifact.
  2. Use stable matching selectors and Pod labels so the Kubernetes controller owns the intended replicas.
  3. Add a startup probe that gives slow applications an explicit bounded initialization window before normal probes run.
  4. Keep private services authenticated and authorize only the intended caller with a suitable identity token.

Explanation

Correct Answer

D:

Keep private services authenticated and authorize only the intended caller with a suitable identity token. In this scenario, a Cloud Run service is deployed as private but a scheduled caller gets permission denied because it sends no valid identity token. Before rollout, inspect invocation authentication setting, caller principal, audience in the ID token, and Cloud Run Invoker binding.

Incorrect Answers

A:

Use Cloud Run source deployment with the appropriate build pipeline and explicitly account for the resulting container artifact. For this case, private Cloud Run invocation requires both valid identity evidence and applicable IAM authorization; making it public is not a substitute. It addresses a different dependency from authenticated cloud run invocation.

B:

Use stable matching selectors and Pod labels so the Kubernetes controller owns the intended replicas. For this case, private Cloud Run invocation requires both valid identity evidence and applicable IAM authorization; making it public is not a substitute. It addresses a different dependency from authenticated cloud run invocation.

C:

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. It addresses a different dependency from authenticated cloud run invocation.

Question 491

A Cloud Run service is deployed as private but a scheduled caller gets permission denied because it sends no valid identity token. 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. Set the known-good revision's traffic to the approved percentage and monitor error recovery under load.
  3. Assign a tag to the candidate revision and run authenticated regression checks against its tag URL.
  4. Update application startup to honor PORT, bind appropriately, and test the image with the actual runtime contract.

Explanation

Correct Answer

A:

Grant scoped invocation rights and send a correctly targeted ID token from the calling workload. In this scenario, a Cloud Run service is deployed as private but a scheduled caller gets permission denied because it sends no valid identity token. Validate the change by checking that permitted invocations succeed while anonymous and wrongly addressed tokens continue to be rejected.

Incorrect Answers

B:

Set the known-good revision's traffic to the approved percentage and monitor error recovery under load. This action changes a different concern, Cloud Run revision rollback strategy. The reported condition is about authenticated cloud run invocation, not this adjacent change.

C:

Assign a tag to the candidate revision and run authenticated regression checks against its tag URL. This action changes a different concern, tagged Cloud Run revision validation. The reported condition is about authenticated cloud run invocation, not this adjacent change.

D:

Update application startup to honor PORT, bind appropriately, and test the image with the actual runtime contract. This action changes a different concern, Cloud Run container listening port. The reported condition is about authenticated cloud run invocation, not this adjacent change.

Question 492

A Cloud Run service is deployed as private but a scheduled caller gets permission denied because it sends no valid identity token. The team has tried a correction. Which measurable outcome most directly demonstrates that this issue is resolved? Select ONE best answer.

  1. Interactive requests terminate predictably while long jobs complete independently with verifiable status.
  2. The candidate is testable without changing serving percentages and can be promoted only after acceptance.
  3. Permitted invocations succeed while anonymous and wrongly addressed tokens continue to be rejected.
  4. The deployed revision runs the intended commit and its built image can be traced to approved build inputs.

Explanation

Correct Answer

C:

Permitted invocations succeed while anonymous and wrongly addressed tokens continue to be rejected. In this scenario, a Cloud Run service is deployed as private but a scheduled caller gets permission denied because it sends no valid identity token. The original diagnosis should have included this step: inspect invocation authentication setting, caller principal, audience in the ID token, and Cloud Run Invoker binding.

Incorrect Answers

A:

Interactive requests terminate predictably while long jobs complete independently with verifiable status. Applying it first would leave authenticated cloud run invocation unresolved.

B:

The candidate is testable without changing serving percentages and can be promoted only after acceptance. That result could support testing of tagged Cloud Run revision validation: Revision tags provide direct revision access for testing; they do not inherently shift regular service URL traffic. Applying it first would leave authenticated cloud run invocation unresolved.

D:

The deployed revision runs the intended commit and its built image can be traced to approved build inputs. Applying it first would leave authenticated cloud run invocation unresolved.

Question 493

A developer enables anonymous invocation to resolve a missing service-to-service invoker role rather than fixing the caller identity. Before choosing a remediation, which investigation best isolates the specific cause or unmet dependency? Select ONE best answer.

  1. Inspect Eventarc trigger source, region, filters, destination service, and trigger identity permissions.
  2. Inspect schedule expression, time zone, target URL, job identity, and endpoint invocation policy.
  3. Inspect invocation authentication setting, caller principal, audience in the ID token, and Cloud Run Invoker binding.
  4. Inspect readiness and liveness probe endpoints, dependency states, Pod events, and restart counts.

Explanation

Correct Answer

C:

Inspect invocation authentication setting, caller principal, audience in the ID token, and Cloud Run Invoker binding. In this scenario, a developer enables anonymous invocation to resolve a missing service-to-service invoker role rather than fixing the caller identity.

Incorrect Answers

A:

Inspect Eventarc trigger source, region, filters, destination service, and trigger identity permissions. Eventarc event routing requires compatible source filters, destination connectivity, and authorized trigger identity. That check does not establish the specific cause behind authenticated cloud run invocation.

B:

Inspect schedule expression, time zone, target URL, job identity, and endpoint invocation policy. 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. That check does not establish the specific cause behind authenticated cloud run invocation.

D:

Inspect readiness and liveness probe endpoints, dependency states, Pod events, and restart counts. Readiness removes a Pod from eligible Service endpoints; liveness triggers restarts and therefore needs a different failure definition. That check does not establish the specific cause behind authenticated cloud run invocation.

Question 494

A developer enables anonymous invocation to resolve a missing service-to-service invoker role rather than fixing the caller identity. The team is choosing a sustainable solution. Which design best meets the stated requirement without broad unrelated changes? Select ONE best answer.

  1. Use Workload Identity Federation for GKE with least-privilege permissions rather than injecting static Google private keys.
  2. Use readiness to control serving eligibility and liveness only to restart genuinely unhealthy containers.
  3. Keep private services authenticated and authorize only the intended caller with a suitable identity token.
  4. Make the ingress container listen on the provided port and accessible interface rather than a hard-coded localhost binding.

Explanation

Correct Answer

C:

Keep private services authenticated and authorize only the intended caller with a suitable identity token. In this scenario, a developer enables anonymous invocation to resolve a missing service-to-service invoker role rather than fixing the caller identity. Before rollout, inspect invocation authentication setting, caller principal, audience in the ID token, and Cloud Run Invoker binding.

Incorrect Answers

A:

Use Workload Identity Federation for GKE with least-privilege permissions rather than injecting static Google private keys. This design addresses GKE pod identity without key files, where GKE workload identity maps Kubernetes principals to Google Cloud permissions without requiring embedded long-lived service account JSON keys. A more direct response is to recognize that keep private services authenticated and authorize only the intended caller with a suitable identity token.

B:

Use readiness to control serving eligibility and liveness only to restart genuinely unhealthy containers. This design addresses GKE readiness versus liveness probes, where readiness removes a Pod from eligible Service endpoints; liveness triggers restarts and therefore needs a different failure definition. A more direct response is to recognize that keep private services authenticated and authorize only the intended caller with a suitable identity token.

D:

Make the ingress container listen on the provided port and accessible interface rather than a hard-coded localhost binding. For this case, private Cloud Run invocation requires both valid identity evidence and applicable IAM authorization; making it public is not a substitute. A more direct response is to recognize that keep private services authenticated and authorize only the intended caller with a suitable identity token.

Question 495

A developer enables anonymous invocation to resolve a missing service-to-service invoker role rather than fixing the caller identity. 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. Apply a representative HPA target and observe replica changes during controlled load increases and decreases.
  3. Configure and test startup, readiness and liveness probes with a deliberately slow initialization path.
  4. Test representative large requests at proposed concurrency values and adjust resource settings or application buffering.

Explanation

Correct Answer

A:

Grant scoped invocation rights and send a correctly targeted ID token from the calling workload. In this scenario, a developer enables anonymous invocation to resolve a missing service-to-service invoker role rather than fixing the caller identity. Validate the change by checking that permitted invocations succeed while anonymous and wrongly addressed tokens continue to be rejected.

Incorrect Answers

B:

Apply a representative HPA target and observe replica changes during controlled load increases and decreases. This action changes a different concern, GKE Horizontal Pod Autoscaler metrics. The case instead calls for the following: grant scoped invocation rights and send a correctly targeted ID token from the calling workload.

C:

Configure and test startup, readiness and liveness probes with a deliberately slow initialization path. This action changes a different concern, GKE startup probe for slow initialization. The case instead calls for the following: grant scoped invocation rights and send a correctly targeted ID token from the calling workload.

D:

Test representative large requests at proposed concurrency values and adjust resource settings or application buffering. This action changes a different concern, Cloud Run memory and concurrency coordination. The case instead calls for the following: grant scoped invocation rights and send a correctly targeted ID token from the calling workload.

Question 496

A developer enables anonymous invocation to resolve a missing service-to-service invoker role rather than fixing the caller identity. The team has tried a correction. Which measurable outcome most directly demonstrates that this issue is resolved? Select ONE best answer.

  1. The deployed revision runs the intended commit and its built image can be traced to approved build inputs.
  2. Permitted invocations succeed while anonymous and wrongly addressed tokens continue to be rejected.
  3. The job invokes the private endpoint on schedule without requiring a persistent cron process in a scale-to-zero service.
  4. Workloads schedule predictably and remain below reasonable limits without starving neighboring applications.

Explanation

Correct Answer

B:

Permitted invocations succeed while anonymous and wrongly addressed tokens continue to be rejected. In this scenario, a developer enables anonymous invocation to resolve a missing service-to-service invoker role rather than fixing the caller identity. The original diagnosis should have included this step: inspect invocation authentication setting, caller principal, audience in the ID token, and Cloud Run Invoker binding.

Incorrect Answers

A:

The deployed revision runs the intended commit and its built image can be traced to approved build inputs. It cannot substitute for the required control: permitted invocations succeed while anonymous and wrongly addressed tokens continue to be rejected.

C:

The job invokes the private endpoint on schedule without requiring a persistent cron process in a scale-to-zero service. That result could support testing of Cloud Scheduler invoking a private service: 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 cannot substitute for the required control: permitted invocations succeed while anonymous and wrongly addressed tokens continue to be rejected.

D:

Workloads schedule predictably and remain below reasonable limits without starving neighboring applications. That result could support testing of GKE resource requests and limits: Kubernetes requests influence scheduling and resource guarantees, while limits bound usage and can cause throttling or out-of-memory termination. It cannot substitute for the required control: permitted invocations succeed while anonymous and wrongly addressed tokens continue to be rejected.

Question 497

An interactive service has strict first-response latency but scales to zero and experiences a measurable cold-start delay. Before choosing a remediation, which investigation best isolates the specific cause or unmet dependency? Select ONE best answer.

  1. Inspect network, subnet region, Direct VPC egress mode, firewall policy, and required destinations.
  2. Inspect request duration, configured timeout, downstream waits, retry behavior, and whether an immediate HTTP response is required.
  3. Inspect cold-start distribution, request frequency, configured minimum instances, and the application's latency target.
  4. Inspect service versus revision configuration, environment variables, and which revision receives production traffic.

Explanation

Correct Answer

C:

Inspect cold-start distribution, request frequency, configured minimum instances, and the application's latency target. Cloud Run minimum instances can reduce cold starts but incur resource charges; the correct setting depends on measured demand and service objectives.

Incorrect Answers

A:

Inspect network, subnet region, Direct VPC egress mode, firewall policy, and required destinations. Cloud Run VPC egress policy changes outbound routing; IAM, firewall and NAT controls still determine actual reachability. The first evidence should address minimum instances and cold-start tradeoffs, not this separate diagnostic path.

B:

Inspect request duration, configured timeout, downstream waits, retry behavior, and whether an immediate HTTP response is required. Cloud Run request timeouts bound synchronous request handling; raising a deadline is not a durable background processing strategy. The first evidence should address minimum instances and cold-start tradeoffs, not this separate diagnostic path.

D:

Inspect service versus revision configuration, environment variables, and which revision receives production traffic. Cloud Run revisions are immutable snapshots of code and configuration; environment updates create a new revision rather than editing old instances. The first evidence should address minimum instances and cold-start tradeoffs, not this separate diagnostic path.

Question 498

An interactive service has strict first-response latency but scales to zero and experiences a measurable cold-start delay. The team is choosing a sustainable solution. Which design best meets the stated requirement without broad unrelated changes? Select ONE best answer.

  1. Choose an appropriate minimum-instance setting and startup optimization based on measured latency and cost.
  2. Use supported request timeouts for bounded synchronous work and dispatch long jobs to a durable asynchronous workflow.
  3. Make the ingress container listen on the provided port and accessible interface rather than a hard-coded localhost binding.
  4. Set resource requests for scheduling needs and limits for safe containment based on observed workload usage.

Explanation

Correct Answer

A:

Choose an appropriate minimum-instance setting and startup optimization based on measured latency and cost. Cloud Run minimum instances can reduce cold starts but incur resource charges; the correct setting depends on measured demand and service objectives. Before rollout, inspect cold-start distribution, request frequency, configured minimum instances, and the application's latency target.

Incorrect Answers

B:

Use supported request timeouts for bounded synchronous work and dispatch long jobs to a durable asynchronous workflow. For this case, Cloud Run minimum instances can reduce cold starts but incur resource charges; the correct setting depends on measured demand and service objectives. The reported condition is about minimum instances and cold-start tradeoffs, not this adjacent change.

C:

Make the ingress container listen on the provided port and accessible interface rather than a hard-coded localhost binding. For this case, Cloud Run minimum instances can reduce cold starts but incur resource charges; the correct setting depends on measured demand and service objectives. The reported condition is about minimum instances and cold-start tradeoffs, not this adjacent change.

D:

Set resource requests for scheduling needs and limits for safe containment based on observed workload usage. This design addresses GKE resource requests and limits, where Kubernetes requests influence scheduling and resource guarantees, while limits bound usage and can cause throttling or out-of-memory termination. The reported condition is about minimum instances and cold-start tradeoffs, not this adjacent change.

Question 499

An interactive service has strict first-response latency but scales to zero and experiences a measurable cold-start delay. An approved limited change can be tested in a safe environment. Which implementation action most directly addresses this scenario? Select ONE best answer.

  1. Create validated service endpoints and network entry rules, then test authorized internal and external routes.
  2. Configure the cron schedule and OIDC identity, then run a one-off schedule test against the intended endpoint.
  3. Assign a tag to the candidate revision and run authenticated regression checks against its tag URL.
  4. Benchmark cold and warm requests under idle and burst conditions before setting minimum instances.

Explanation

Correct Answer

D:

Benchmark cold and warm requests under idle and burst conditions before setting minimum instances. Cloud Run minimum instances can reduce cold starts but incur resource charges; the correct setting depends on measured demand and service objectives. Validate the change by checking that first-request latency meets requirements with a documented tradeoff in warm capacity cost.

Incorrect Answers

A:

Create validated service endpoints and network entry rules, then test authorized internal and external routes. This action changes a different concern, GKE Service and ingress exposure. Applying it first would leave minimum instances and cold-start tradeoffs unresolved.

B:

Configure the cron schedule and OIDC identity, then run a one-off schedule test against the intended endpoint. This action changes a different concern, Cloud Scheduler invoking a private service. Applying it first would leave minimum instances and cold-start tradeoffs unresolved.

C:

Assign a tag to the candidate revision and run authenticated regression checks against its tag URL. This action changes a different concern, tagged Cloud Run revision validation. Applying it first would leave minimum instances and cold-start tradeoffs unresolved.

Question 500

An interactive service has strict first-response latency but scales to zero and experiences a measurable cold-start delay. The team has tried a correction. Which measurable outcome most directly demonstrates that this issue is resolved? Select ONE best answer.

  1. Interactive requests terminate predictably while long jobs complete independently with verifiable status.
  2. First-request latency meets requirements with a documented tradeoff in warm capacity cost.
  3. The handler runs for authorized matching events with valid delivery identity and no unnecessary invocations.
  4. The application reads only authorized secret content and adopts updated credentials according to documented delivery behavior.

Explanation

Correct Answer

B:

First-request latency meets requirements with a documented tradeoff in warm capacity cost. Cloud Run minimum instances can reduce cold starts but incur resource charges; the correct setting depends on measured demand and service objectives. The original diagnosis should have included this step: inspect cold-start distribution, request frequency, configured minimum instances, and the application's latency target.

Incorrect Answers

A:

Interactive requests terminate predictably while long jobs complete independently with verifiable status. In this scenario, an interactive service has strict first-response latency but scales to zero and experiences a measurable cold-start delay. That may help elsewhere, but it does not make the change required for minimum instances and cold-start tradeoffs.

C:

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. That may help elsewhere, but it does not make the change required for minimum instances and cold-start tradeoffs.

D:

The application reads only authorized secret content and adopts updated credentials according to documented delivery behavior. In this scenario, an interactive service has strict first-response latency but scales to zero and experiences a measurable cold-start delay. That may help elsewhere, but it does not make the change required for minimum instances and cold-start tradeoffs.

Professional Cloud Developer Practice Tests