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 47

Question 460

A team changes an environment variable on a Cloud Run service and expects the same running revision to mutate in place. 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. Production continues with approved configuration until the new revision is explicitly promoted.
  3. The application reads only authorized secret content and adopts updated credentials according to documented delivery behavior.
  4. Requests complete within the memory budget while measured instance usage and latency remain acceptable.

Explanation

Correct Answer

B:

Production continues with approved configuration until the new revision is explicitly promoted. In this scenario, a team changes an environment variable on a Cloud Run service and expects the same running revision to mutate in place. The original diagnosis should have included this step: inspect service versus revision configuration, environment variables, and which revision receives production traffic.

Incorrect Answers

A:

The deployed revision runs the intended commit and its built image can be traced to approved build inputs. In this case, the outcome to verify is that production continues with approved configuration until the new revision is explicitly promoted. The case instead calls for the following: production continues with approved configuration until the new revision is explicitly promoted.

C:

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 production continues with approved configuration until the new revision is explicitly promoted. The case instead calls for the following: production continues with approved configuration until the new revision is explicitly promoted.

D:

Requests complete within the memory budget while measured instance usage and latency remain acceptable. In this case, the outcome to verify is that production continues with approved configuration until the new revision is explicitly promoted. The case instead calls for the following: production continues with approved configuration until the new revision is explicitly promoted.

Question 461

A debug setting is added globally and unintentionally exposes verbose diagnostics to production users. Before choosing a remediation, which investigation best isolates the specific cause or unmet dependency? Select ONE best answer.

  1. Inspect application secret consumption pattern, configured Secret Manager version, and runtime identity access.
  2. Inspect service versus revision configuration, environment variables, and which revision receives production traffic.
  3. Inspect revision service account, actual access tokens, target resource permissions, and who invokes the service.
  4. Inspect cold-start distribution, request frequency, configured minimum instances, and the application's latency target.

Explanation

Correct Answer

B:

Inspect service versus revision configuration, environment variables, and which revision receives production traffic. This checks the actual operating conditions relevant to Cloud Run environment configuration revisions, rather than changing a service before the failure is understood. A focused follow-up is to deploy the configuration to a tagged or no-traffic revision and verify runtime values before moving traffic. Before choosing a remediation, which investigation best isolates the specific cause or unmet dependency.

Incorrect Answers

A:

Inspect application secret consumption pattern, configured Secret Manager version, and runtime identity access. Secret delivery mode and version selection affect startup and refresh behavior; moving a value to Secret Manager alone does not guarantee live updates. It does not isolate the cloud run environment configuration revisions issue described.

C:

Inspect revision service account, actual access tokens, target resource permissions, and who invokes the service. The deployed execution identity controls Google API permissions from a Cloud Run workload; user identities and deployer privileges are separate. It does not isolate the cloud run environment configuration revisions issue described.

D:

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. It does not isolate the cloud run environment configuration revisions issue described.

Question 462

A debug setting is added globally and unintentionally exposes verbose diagnostics to production users. 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 stable matching selectors and Pod labels so the Kubernetes controller owns the intended replicas.
  3. Use readiness to control serving eligibility and liveness only to restart genuinely unhealthy containers.
  4. Treat configuration changes as new immutable revisions and scope debug settings to a controlled nonproduction rollout.

Explanation

Correct Answer

D:

Treat configuration changes as new immutable revisions and scope debug settings to a controlled nonproduction rollout. Cloud Run revisions are immutable snapshots of code and configuration; environment updates create a new revision rather than editing old instances. Before rollout, inspect service versus revision configuration, environment variables, and which revision receives production traffic.

Incorrect Answers

A:

Choose an appropriate minimum-instance setting and startup optimization based on measured latency and cost. This design addresses minimum instances and cold-start tradeoffs, where Cloud Run minimum instances can reduce cold starts but incur resource charges; the correct setting depends on measured demand and service objectives. It addresses a different dependency from cloud run environment configuration revisions.

B:

Use stable matching selectors and Pod labels so the Kubernetes controller owns the intended replicas. For this case, Cloud Run revisions are immutable snapshots of code and configuration; environment updates create a new revision rather than editing old instances. It addresses a different dependency from cloud run environment configuration revisions.

C:

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. It addresses a different dependency from cloud run environment configuration revisions.

Question 463

A debug setting is added globally and unintentionally exposes verbose diagnostics to production users. 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 the configuration to a tagged or no-traffic revision and verify runtime values before moving traffic.
  2. Grant scoped invocation rights and send a correctly targeted ID token from the calling workload.
  3. Update application startup to honor PORT, bind appropriately, and test the image with the actual runtime contract.
  4. Configure a realistic request deadline and enqueue a long-running export with status tracking instead of holding the request open.

Explanation

Correct Answer

A:

Deploy the configuration to a tagged or no-traffic revision and verify runtime values before moving traffic. Cloud Run revisions are immutable snapshots of code and configuration; environment updates create a new revision rather than editing old instances. Validate the change by checking that production continues with approved configuration until the new revision is explicitly promoted.

Incorrect Answers

B:

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 environment configuration revisions, not this adjacent change.

C:

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 cloud run environment configuration revisions, not this adjacent change.

D:

Configure a realistic request deadline and enqueue a long-running export with status tracking instead of holding the request open. This action changes a different concern, Cloud Run request timeout handling. The reported condition is about cloud run environment configuration revisions, not this adjacent change.

Question 464

A debug setting is added globally and unintentionally exposes verbose diagnostics to production users. The team has tried a correction. Which measurable outcome most directly demonstrates that this issue is resolved? Select ONE best answer.

  1. The job invokes the private endpoint on schedule without requiring a persistent cron process in a scale-to-zero service.
  2. The deployed revision runs the intended commit and its built image can be traced to approved build inputs.
  3. Production continues with approved configuration until the new revision is explicitly promoted.
  4. Only authorized network paths can reach the service, with authentication still enforced where required.

Explanation

Correct Answer

C:

Production continues with approved configuration until the new revision is explicitly promoted. Cloud Run revisions are immutable snapshots of code and configuration; environment updates create a new revision rather than editing old instances. The original diagnosis should have included this step: inspect service versus revision configuration, environment variables, and which revision receives production traffic.

Incorrect Answers

A:

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. Applying it first would leave cloud run environment configuration revisions unresolved.

B:

The deployed revision runs the intended commit and its built image can be traced to approved build inputs. In this case, the outcome to verify is that production continues with approved configuration until the new revision is explicitly promoted. Applying it first would leave cloud run environment configuration revisions unresolved.

D:

Only authorized network paths can reach the service, with authentication still enforced where required. That result could support testing of Cloud Run ingress restriction: Ingress controls which network paths can reach Cloud Run; IAM controls who may invoke it, and both policies can be necessary. Applying it first would leave cloud run environment configuration revisions unresolved.

Question 465

A container expects a certificate file but the deployment passes its contents in a plain environment variable. 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 HPA target metrics, resource requests, metrics availability, current versus desired replicas, and scale limits.
  3. Inspect application secret consumption pattern, configured Secret Manager version, and runtime identity access.
  4. Inspect push endpoint URL, subscription authentication configuration, service account, and invoker IAM.

Explanation

Correct Answer

C:

Inspect application secret consumption pattern, configured Secret Manager version, and runtime identity access. This checks the actual operating conditions relevant to Cloud Run secrets as environment or mounted files, rather than changing a service before the failure is understood. A focused follow-up is to bind the approved secret to the service, test rotation semantics, and verify that no secret values enter logs or images.

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. That check does not establish the specific cause behind cloud run secrets as environment or mounted files.

B:

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. That check does not establish the specific cause behind cloud run secrets as environment or mounted files.

D:

Inspect push endpoint URL, subscription authentication configuration, service account, and invoker IAM. Pub/Sub push delivery can use an OIDC token for authenticated Cloud Run invocation; access is not established by topic ownership alone. That check does not establish the specific cause behind cloud run secrets as environment or mounted files.

Question 466

A container expects a certificate file but the deployment passes its contents in a plain environment variable. 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 an appropriate Kubernetes Service and controlled ingress or load-balancer configuration for the required audience.
  3. Configure private egress for required VPC destinations and deliberately select whether all or only private traffic uses it.
  4. Choose a supported secret environment injection or mounted secret file mechanism appropriate to the application contract.

Explanation

Correct Answer

D:

Choose a supported secret environment injection or mounted secret file mechanism appropriate to the application contract. Before rollout, inspect application secret consumption pattern, configured Secret Manager version, and runtime identity access.

Incorrect Answers

A:

Choose an appropriate minimum-instance setting and startup optimization based on measured latency and cost. This design addresses minimum instances and cold-start tradeoffs, where Cloud Run minimum instances can reduce cold starts but incur resource charges; the correct setting depends on measured demand and service objectives. A more direct response is to choose a supported secret environment injection or mounted secret file mechanism appropriate to the application contract.

B:

Use an appropriate Kubernetes Service and controlled ingress or load-balancer configuration for the required audience. This design addresses GKE Service and ingress exposure, where a Deployment manages Pods, a Service provides stable routing to selected Pods, and ingress determines supported external HTTP entry. A more direct response is to choose a supported secret environment injection or mounted secret file mechanism appropriate to the application contract.

C:

Configure private egress for required VPC destinations and deliberately select whether all or only private traffic uses it. This design addresses Cloud Run Direct VPC egress configuration, where Cloud Run VPC egress policy changes outbound routing; IAM, firewall and NAT controls still determine actual reachability. A more direct response is to choose a supported secret environment injection or mounted secret file mechanism appropriate to the application contract.

Question 467

A container expects a certificate file but the deployment passes its contents in a plain environment variable. An approved limited change can be tested in a safe environment. Which implementation action most directly addresses this scenario? Select ONE best answer.

  1. Correct the manifest and apply it to a staging namespace, then compare desired and available Pods.
  2. Apply a representative HPA target and observe replica changes during controlled load increases and decreases.
  3. Create validated service endpoints and network entry rules, then test authorized internal and external routes.
  4. Bind the approved secret to the service, test rotation semantics, and verify that no secret values enter logs or images.

Explanation

Correct Answer

D:

Bind the approved secret to the service, test rotation semantics, and verify that no secret values enter logs or images. Validate the change by checking that the application reads only authorized secret content and adopts updated credentials according to documented delivery behavior.

Incorrect Answers

A:

Correct the manifest and apply it to a staging namespace, then compare desired and available Pods. This action changes a different concern, GKE Deployment replicas and selectors. The case instead calls for the following: bind the approved secret to the service, test rotation semantics, and verify that no secret values enter logs or images.

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: bind the approved secret to the service, test rotation semantics, and verify that no secret values enter logs or images.

C:

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. The case instead calls for the following: bind the approved secret to the service, test rotation semantics, and verify that no secret values enter logs or images.

Question 468

A container expects a certificate file but the deployment passes its contents in a plain environment variable. The team has tried a correction. Which measurable outcome most directly demonstrates that this issue is resolved? Select ONE best answer.

  1. The revision becomes ready and accepts HTTP requests on the port designated by the hosting platform.
  2. The application reads only authorized secret content and adopts updated credentials according to documented delivery behavior.
  3. The handler runs for authorized matching events with valid delivery identity and no unnecessary invocations.
  4. Authorized push deliveries succeed without exposing the handler publicly or masking errors through silent acknowledgments.

Explanation

Correct Answer

B:

The application reads only authorized secret content and adopts updated credentials according to documented delivery behavior. This is evidence that the particular acceptance condition for Cloud Run secrets as environment or mounted files has been met, rather than a general availability metric. The original diagnosis should have included this step: inspect application secret consumption pattern, configured Secret Manager version, and runtime identity access.

Incorrect Answers

A:

The revision becomes ready and accepts HTTP requests on the port designated by the hosting platform. In this case, the outcome to verify is that the application reads only authorized secret content and adopts updated credentials according to documented delivery behavior. It cannot substitute for the required control: the application reads only authorized secret content and adopts updated credentials according to documented delivery behavior.

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. It cannot substitute for the required control: the application reads only authorized secret content and adopts updated credentials according to documented delivery behavior.

D:

Authorized push deliveries succeed without exposing the handler publicly or masking errors through silent acknowledgments. That result could support testing of Pub/Sub push to Cloud Run authentication: Pub/Sub push delivery can use an OIDC token for authenticated Cloud Run invocation; access is not established by topic ownership alone. It cannot substitute for the required control: the application reads only authorized secret content and adopts updated credentials according to documented delivery behavior.

Question 469

A service reads a secret version at startup and assumes existing instances will refresh instantly after a rotation. Before choosing a remediation, which investigation best isolates the specific cause or unmet dependency? Select ONE best answer.

  1. Inspect ingress-container selection, startup dependencies, internal ports, and sidecar health or readiness.
  2. Inspect push endpoint URL, subscription authentication configuration, service account, and invoker IAM.
  3. Inspect application secret consumption pattern, configured Secret Manager version, and runtime identity access.
  4. Inspect cold-start distribution, request frequency, configured minimum instances, and the application's latency target.

Explanation

Correct Answer

C:

Inspect application secret consumption pattern, configured Secret Manager version, and runtime identity access. This checks the actual operating conditions relevant to Cloud Run secrets as environment or mounted files, rather than changing a service before the failure is understood. A focused follow-up is to bind the approved secret to the service, test rotation semantics, and verify that no secret values enter logs or images. Before choosing a remediation, which investigation best isolates the specific cause or unmet dependency.

Incorrect Answers

A:

Inspect ingress-container selection, startup dependencies, internal ports, and sidecar health or readiness. In multi-container Cloud Run services, the ingress container receives requests while supporting containers perform internal auxiliary work. The first evidence should address cloud run secrets as environment or mounted files, not this separate diagnostic path.

B:

Inspect push endpoint URL, subscription authentication configuration, service account, and invoker IAM. Pub/Sub push delivery can use an OIDC token for authenticated Cloud Run invocation; access is not established by topic ownership alone. The first evidence should address cloud run secrets as environment or mounted files, not this separate diagnostic path.

D:

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. The first evidence should address cloud run secrets as environment or mounted files, not this separate diagnostic path.

Question 470

A service reads a secret version at startup and assumes existing instances will refresh instantly after a rotation. The team is choosing a sustainable solution. Which design best meets the stated requirement without broad unrelated changes? Select ONE best answer.

  1. Set coordinated CPU, memory, and concurrency limits based on profiling rather than tuning a single value in isolation.
  2. Choose a supported secret environment injection or mounted secret file mechanism appropriate to the application contract.
  3. Add a startup probe that gives slow applications an explicit bounded initialization window before normal probes run.
  4. Route the intended event type through Eventarc to a compatible authenticated Cloud Run destination.

Explanation

Correct Answer

B:

Choose a supported secret environment injection or mounted secret file mechanism appropriate to the application contract. In this scenario, a service reads a secret version at startup and assumes existing instances will refresh instantly after a rotation. Before rollout, inspect application secret consumption pattern, configured Secret Manager version, and runtime identity access.

Incorrect Answers

A:

Set coordinated CPU, memory, and concurrency limits based on profiling rather than tuning a single value in isolation. The reported condition is about cloud run secrets as environment or mounted files, not this adjacent change.

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. The reported condition is about cloud run secrets as environment or mounted files, not this adjacent change.

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. The reported condition is about cloud run secrets as environment or mounted files, not this adjacent change.

Professional Cloud Developer Practice Tests