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 16

Question 150

A team deploys a container revision and assumes that tag-based testing and production traffic percentage are identical controls. The team is choosing a sustainable solution. Which design best meets the stated requirement without broad unrelated changes? Select ONE best answer.

  1. Use revision-specific traffic allocation to stage releases with an available rollback to the previous working revision.
  2. Use Identity Platform for supported end-user identity flows and separate application sessions from workload IAM credentials.
  3. Use a dedicated runtime service account with minimum required roles and keyless Application Default Credentials.
  4. Select Cloud API Gateway for supported simpler managed gateway use or Apigee when its broader API management features are necessary.

Explanation

Correct Answer

A:

Use revision-specific traffic allocation to stage releases with an available rollback to the previous working revision. Cloud Run revisions are immutable; traffic splitting and revision tags let teams stage, test, and reverse changes without editing an existing revision. Before rollout, inspect immutable revision IDs, serving percentages, tag URLs, and rollback targets. A team deploys a container revision and assumes that tag-based testing and production traffic percentage are identical controls. The team is choosing a sustainable solution.

Incorrect Answers

B:

Use Identity Platform for supported end-user identity flows and separate application sessions from workload IAM credentials. This design addresses identity Platform end-user sign-in, where end-user authentication and service-to-service IAM authentication are distinct trust boundaries requiring different tokens and policies. That may help elsewhere, but it does not make the change required for cloud run revision traffic splitting.

C:

Use a dedicated runtime service account with minimum required roles and keyless Application Default Credentials. This design addresses service account and least-privilege API identity, where service identities and IAM roles authorize Google Cloud APIs; embedding reusable private keys is not necessary for managed runtime credentials. That may help elsewhere, but it does not make the change required for cloud run revision traffic splitting.

D:

Select Cloud API Gateway for supported simpler managed gateway use or Apigee when its broader API management features are necessary. This design addresses API Gateway versus Apigee responsibilities, where a basic managed gateway and a full API management platform overlap in routing but differ in breadth of policy, analytics, and developer lifecycle. That may help elsewhere, but it does not make the change required for cloud run revision traffic splitting.

Question 151

A team deploys a container revision and assumes that tag-based testing and production traffic percentage are identical controls. An approved limited change can be tested in a safe environment. Which implementation action most directly addresses this scenario? Select ONE best answer.

  1. Migrate the credential to an approved secret version and test rotation without exposing secret contents in logs.
  2. Move the cart record to an authorized shared datastore and test alternating requests across independently restarted instances.
  3. Configure claim conditions and tightly scoped impersonation, then test valid and invalid CI identities.
  4. Deploy the new revision without full cutover, send a limited traffic share, and monitor error and latency differences.

Explanation

Correct Answer

D:

Deploy the new revision without full cutover, send a limited traffic share, and monitor error and latency differences. Cloud Run revisions are immutable; traffic splitting and revision tags let teams stage, test, and reverse changes without editing an existing revision. Validate the change by checking that measured production traffic follows the configured split and can be restored to a prior healthy revision. An approved limited change can be tested in a safe environment.

Incorrect Answers

A:

Migrate the credential to an approved secret version and test rotation without exposing secret contents in logs. This action changes a different concern, secret Manager access and rotation. A more direct response is to deploy the new revision without full cutover, send a limited traffic share, and monitor error and latency differences.

B:

Move the cart record to an authorized shared datastore and test alternating requests across independently restarted instances. This action changes a different concern, stateless service session design. A more direct response is to deploy the new revision without full cutover, send a limited traffic share, and monitor error and latency differences.

C:

Configure claim conditions and tightly scoped impersonation, then test valid and invalid CI identities. This action changes a different concern, external CI Workload Identity Federation. A more direct response is to deploy the new revision without full cutover, send a limited traffic share, and monitor error and latency differences.

Question 152

A team deploys a container revision and assumes that tag-based testing and production traffic percentage are identical controls. The team has tried a correction. Which measurable outcome most directly demonstrates that this issue is resolved? Select ONE best answer.

  1. Measured production traffic follows the configured split and can be restored to a prior healthy revision.
  2. The application can recover from the specified fault within its recovery-time and recovery-point objectives.
  3. Over-budget requests are throttled while healthy clients remain within the service capacity budget.
  4. Checkout returns promptly and downstream jobs recover from subscriber outages without duplicate business effects.

Explanation

Correct Answer

A:

Measured production traffic follows the configured split and can be restored to a prior healthy revision. Cloud Run revisions are immutable; traffic splitting and revision tags let teams stage, test, and reverse changes without editing an existing revision. The original diagnosis should have included this step: inspect immutable revision IDs, serving percentages, tag URLs, and rollback targets. A team deploys a container revision and assumes that tag-based testing and production traffic percentage are identical controls. The team has tried a correction.

Incorrect Answers

B:

The application can recover from the specified fault within its recovery-time and recovery-point objectives. That result could support testing of zonal and regional resiliency: Spreading compute across zones does not automatically replicate state or guarantee continuity after a region-wide disruption. The case instead calls for the following: measured production traffic follows the configured split and can be restored to a prior healthy revision.

C:

Over-budget requests are throttled while healthy clients remain within the service capacity budget. That result could support testing of API rate limiting and request quota: Rate limiting and quota policies regulate request load; they are different from IAM authorization and should produce explicit throttling semantics. The case instead calls for the following: measured production traffic follows the configured split and can be restored to a prior healthy revision.

D:

Checkout returns promptly and downstream jobs recover from subscriber outages without duplicate business effects. That result could support testing of Pub/Sub decoupled processing architecture: Publish-subscribe messaging decouples production from consumption but consumers still need retry-safe processing and eventual completion visibility. The case instead calls for the following: measured production traffic follows the configured split and can be restored to a prior healthy revision.

Question 153

A Cloud Run service uses a project-wide privileged account just to read one bucket object. Before choosing a remediation, which investigation best isolates the specific cause or unmet dependency? Select ONE best answer.

  1. Inspect required authentication, quota policy, developer-portal features, routing, and API product governance.
  2. Inspect hostname requirements, URL paths, backends, ingress type, health checks, and TLS certificate scope.
  3. Inspect stable request identifiers, processing checkpoints, retry codes, and the atomicity of business side effects.
  4. Inspect execution identity, IAM policy bindings, resource scope, and how credentials are obtained at runtime.

Explanation

Correct Answer

D:

Inspect execution identity, IAM policy bindings, resource scope, and how credentials are obtained at runtime. This checks the actual operating conditions relevant to service account and least-privilege API identity, rather than changing a service before the failure is understood.

Incorrect Answers

A:

Inspect required authentication, quota policy, developer-portal features, routing, and API product governance. A basic managed gateway and a full API management platform overlap in routing but differ in breadth of policy, analytics, and developer lifecycle. It does not isolate the service account and least-privilege api identity issue described.

B:

Inspect hostname requirements, URL paths, backends, ingress type, health checks, and TLS certificate scope. Application load balancing can apply HTTP host and path rules; DNS resolution alone cannot implement those backend routing decisions. It does not isolate the service account and least-privilege api identity issue described.

C:

Inspect stable request identifiers, processing checkpoints, retry codes, and the atomicity of business side effects. Transient retries and at-least-once event delivery do not imply exactly-once business effects without an idempotent application design. It does not isolate the service account and least-privilege api identity issue described.

Question 154

A Cloud Run service uses a project-wide privileged account just to read one bucket object. The team is choosing a sustainable solution. Which design best meets the stated requirement without broad unrelated changes? Select ONE best answer.

  1. Use an appropriate external Application Load Balancer with URL routing instead of treating DNS records as layer-seven routing policies.
  2. Select health criteria that accurately represent backend readiness without causing unnecessary removal during transient dependencies.
  3. Select Cloud API Gateway for supported simpler managed gateway use or Apigee when its broader API management features are necessary.
  4. Use a dedicated runtime service account with minimum required roles and keyless Application Default Credentials.

Explanation

Correct Answer

D:

Use a dedicated runtime service account with minimum required roles and keyless Application Default Credentials. This is the bounded design decision for service account and least-privilege API identity, not a general request to widen access or replace unrelated resources. Before rollout, inspect execution identity, IAM policy bindings, resource scope, and how credentials are obtained at runtime.

Incorrect Answers

A:

Use an appropriate external Application Load Balancer with URL routing instead of treating DNS records as layer-seven routing policies. This design addresses external application load balancer routing, where application load balancing can apply HTTP host and path rules; DNS resolution alone cannot implement those backend routing decisions. It addresses a different dependency from service account and least-privilege api identity.

B:

Select health criteria that accurately represent backend readiness without causing unnecessary removal during transient dependencies. This design addresses backend health and failure routing, where a healthy network listener and a healthy application are not necessarily equivalent; routing depends on meaningful health checks. It addresses a different dependency from service account and least-privilege api identity.

C:

Select Cloud API Gateway for supported simpler managed gateway use or Apigee when its broader API management features are necessary. This design addresses API Gateway versus Apigee responsibilities, where a basic managed gateway and a full API management platform overlap in routing but differ in breadth of policy, analytics, and developer lifecycle. It addresses a different dependency from service account and least-privilege api identity.

Question 155

A Cloud Run service uses a project-wide privileged account just to read one bucket object. An approved limited change can be tested in a safe environment. Which implementation action most directly addresses this scenario? Select ONE best answer.

  1. Assign the scoped identity to the service and remove plaintext keys after rotating any previously exposed secrets.
  2. Bind the Pod to a dedicated Kubernetes ServiceAccount and grant narrowly scoped cloud permissions to the corresponding principal.
  3. Test the supported failover path with representative dependent services and measure recovery time and data loss.
  4. Configure tested host and path rules, valid TLS, and the permitted backend services behind the load balancer.

Explanation

Correct Answer

A:

Assign the scoped identity to the service and remove plaintext keys after rotating any previously exposed secrets. In this scenario, a Cloud Run service uses a project-wide privileged account just to read one bucket object. Validate the change by checking that authorized operations succeed while unrelated resource access is rejected under least privilege.

Incorrect Answers

B:

Bind the Pod to a dedicated Kubernetes ServiceAccount and grant narrowly scoped cloud permissions to the corresponding principal. This action changes a different concern, GKE Workload Identity Federation. The reported condition is about service account and least-privilege api identity, not this adjacent change.

C:

Test the supported failover path with representative dependent services and measure recovery time and data loss. This action changes a different concern, zonal and regional resiliency. The reported condition is about service account and least-privilege api identity, not this adjacent change.

D:

Configure tested host and path rules, valid TLS, and the permitted backend services behind the load balancer. This action changes a different concern, external application load balancer routing. The reported condition is about service account and least-privilege api identity, not this adjacent change.

Question 156

A Cloud Run service uses a project-wide privileged account just to read one bucket object. The team has tried a correction. Which measurable outcome most directly demonstrates that this issue is resolved? Select ONE best answer.

  1. Over-budget requests are throttled while healthy clients remain within the service capacity budget.
  2. Authorized operations succeed while unrelated resource access is rejected under least privilege.
  3. Only authorized workloads retrieve approved secret versions, and the service adopts rotations according to policy.
  4. Latency and data placement meet stated goals without assuming every managed Google Cloud service is globally replicated.

Explanation

Correct Answer

B:

Authorized operations succeed while unrelated resource access is rejected under least privilege. This is evidence that the particular acceptance condition for service account and least-privilege API identity has been met, rather than a general availability metric. The original diagnosis should have included this step: inspect execution identity, IAM policy bindings, resource scope, and how credentials are obtained at runtime.

Incorrect Answers

A:

Over-budget requests are throttled while healthy clients remain within the service capacity budget. That result could support testing of API rate limiting and request quota: Rate limiting and quota policies regulate request load; they are different from IAM authorization and should produce explicit throttling semantics. Applying it first would leave service account and least-privilege api identity unresolved.

C:

Only authorized workloads retrieve approved secret versions, and the service adopts rotations according to policy. It would not establish the success condition for service account and least-privilege API identity. Applying it first would leave service account and least-privilege api identity unresolved.

D:

Latency and data placement meet stated goals without assuming every managed Google Cloud service is globally replicated. That result could support testing of regional latency and data placement: A product's regional or zonal scope determines placement, failure exposure, and latency; global branding alone does not guarantee global data residency. Applying it first would leave service account and least-privilege api identity unresolved.

Question 157

A developer embeds a service account JSON private key in application source to call a Google Cloud API. Before choosing a remediation, which investigation best isolates the specific cause or unmet dependency? Select ONE best answer.

  1. Inspect required authentication, quota policy, developer-portal features, routing, and API product governance.
  2. Inspect affinity configuration, revision traffic allocation, session data dependencies, and failover behavior.
  3. Inspect execution identity, IAM policy bindings, resource scope, and how credentials are obtained at runtime.
  4. Inspect immutable revision IDs, serving percentages, tag URLs, and rollback targets.

Explanation

Correct Answer

C:

Inspect execution identity, IAM policy bindings, resource scope, and how credentials are obtained at runtime. This checks the actual operating conditions relevant to service account and least-privilege API identity, rather than changing a service before the failure is understood. Before choosing a remediation, which investigation best isolates the specific cause or unmet dependency.

Incorrect Answers

A:

Inspect required authentication, quota policy, developer-portal features, routing, and API product governance. A basic managed gateway and a full API management platform overlap in routing but differ in breadth of policy, analytics, and developer lifecycle. That check does not establish the specific cause behind service account and least-privilege api identity.

B:

Inspect affinity configuration, revision traffic allocation, session data dependencies, and failover behavior. Affinity influences routing preferences but cannot guarantee durable state or prevent all changes in backend selection. That check does not establish the specific cause behind service account and least-privilege api identity.

D:

Inspect immutable revision IDs, serving percentages, tag URLs, and rollback targets. Cloud Run revisions are immutable; traffic splitting and revision tags let teams stage, test, and reverse changes without editing an existing revision. That check does not establish the specific cause behind service account and least-privilege api identity.

Question 158

A developer embeds a service account JSON private key in application source to call a Google Cloud API. The team is choosing a sustainable solution. Which design best meets the stated requirement without broad unrelated changes? Select ONE best answer.

  1. Use Firestore for appropriate document-oriented operational data, Cloud Storage for object blobs, and BigQuery for analytical queries.
  2. Use a dedicated runtime service account with minimum required roles and keyless Application Default Credentials.
  3. Treat session affinity as a best-effort routing optimization and keep correctness independent of instance or revision attachment.
  4. Use idempotency keys and transactional state transitions around work that may be redelivered or retried.

Explanation

Correct Answer

B:

Use a dedicated runtime service account with minimum required roles and keyless Application Default Credentials. This is the bounded design decision for service account and least-privilege API identity, not a general request to widen access or replace unrelated resources. Before rollout, inspect execution identity, IAM policy bindings, resource scope, and how credentials are obtained at runtime. A developer embeds a service account JSON private key in application source to call a Google Cloud API. The team is choosing a sustainable solution.

Incorrect Answers

A:

Use Firestore for appropriate document-oriented operational data, Cloud Storage for object blobs, and BigQuery for analytical queries. This design addresses Firestore versus Cloud Storage versus BigQuery, where document stores, object stores, and analytical warehouses solve different persistence problems even if each can hold serialized data. A more direct response is to use a dedicated runtime service account with minimum required roles and keyless Application Default Credentials.

C:

Treat session affinity as a best-effort routing optimization and keep correctness independent of instance or revision attachment. This design addresses session affinity limitations, where affinity influences routing preferences but cannot guarantee durable state or prevent all changes in backend selection. A more direct response is to use a dedicated runtime service account with minimum required roles and keyless Application Default Credentials.

D:

Use idempotency keys and transactional state transitions around work that may be redelivered or retried. This design addresses retry-safe application side effects, where transient retries and at-least-once event delivery do not imply exactly-once business effects without an idempotent application design. A more direct response is to use a dedicated runtime service account with minimum required roles and keyless Application Default Credentials.

Question 159

A developer embeds a service account JSON private key in application source to call a Google Cloud API. An approved limited change can be tested in a safe environment. Which implementation action most directly addresses this scenario? Select ONE best answer.

  1. Enforce a bounded API policy and test a normal client alongside an intentionally over-budget client.
  2. Assign the scoped identity to the service and remove plaintext keys after rotating any previously exposed secrets.
  3. Measure cost and latency under representative burst and idle patterns and deploy appropriate scaling controls.
  4. Configure tested host and path rules, valid TLS, and the permitted backend services behind the load balancer.

Explanation

Correct Answer

B:

Assign the scoped identity to the service and remove plaintext keys after rotating any previously exposed secrets. This targets the identified configuration or behavior for service account and least-privilege API identity. Validate the change by checking that authorized operations succeed while unrelated resource access is rejected under least privilege.

Incorrect Answers

A:

Enforce a bounded API policy and test a normal client alongside an intentionally over-budget client. This action changes a different concern, API rate limiting and request quota. The case instead calls for the following: assign the scoped identity to the service and remove plaintext keys after rotating any previously exposed secrets.

C:

Measure cost and latency under representative burst and idle patterns and deploy appropriate scaling controls. This action changes a different concern, Cloud Run scaling and cost guardrails. The case instead calls for the following: assign the scoped identity to the service and remove plaintext keys after rotating any previously exposed secrets.

D:

Configure tested host and path rules, valid TLS, and the permitted backend services behind the load balancer. This action changes a different concern, external application load balancer routing. The case instead calls for the following: assign the scoped identity to the service and remove plaintext keys after rotating any previously exposed secrets.

Question 160

A developer embeds a service account JSON private key in application source to call a Google Cloud API. The team has tried a correction. Which measurable outcome most directly demonstrates that this issue is resolved? Select ONE best answer.

  1. The workload executes the needed steps in the intended order without conflating scheduling, orchestration, and queue delivery.
  2. Approved clients can exchange the expected payloads within latency and compatibility requirements.
  3. Operational document queries, large objects, and analytic scans use services aligned with their access patterns.
  4. Authorized operations succeed while unrelated resource access is rejected under least privilege.

Explanation

Correct Answer

D:

Authorized operations succeed while unrelated resource access is rejected under least privilege. This is evidence that the particular acceptance condition for service account and least-privilege API identity has been met, rather than a general availability metric. The original diagnosis should have included this step: inspect execution identity, IAM policy bindings, resource scope, and how credentials are obtained at runtime. A developer embeds a service account JSON private key in application source to call a Google Cloud API. The team has tried a correction.

Incorrect Answers

A:

The workload executes the needed steps in the intended order without conflating scheduling, orchestration, and queue delivery. It would not establish the success condition for service account and least-privilege API identity. It cannot substitute for the required control: authorized operations succeed while unrelated resource access is rejected under least privilege.

B:

Approved clients can exchange the expected payloads within latency and compatibility requirements. That result could support testing of REST and gRPC contract choice: REST and gRPC are different interface and transport approaches; a protocol choice must match actual client support and the API contract. It cannot substitute for the required control: authorized operations succeed while unrelated resource access is rejected under least privilege.

C:

Operational document queries, large objects, and analytic scans use services aligned with their access patterns. That result could support testing of Firestore versus Cloud Storage versus BigQuery: Document stores, object stores, and analytical warehouses solve different persistence problems even if each can hold serialized data. It cannot substitute for the required control: authorized operations succeed while unrelated resource access is rejected under least privilege.

Professional Cloud Developer Practice Tests