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 21

Question 200

A build service outside Google Cloud needs short-lived scoped Google API access based on its external identity token. The team has tried a correction. Which measurable outcome most directly demonstrates that this issue is resolved? Select ONE best answer.

  1. Untrusted images are rejected while policy-compliant images can be deployed under a recorded approval chain.
  2. Only expected events invoke the handler and their metadata is validated before a side effect occurs.
  3. The Pod reaches authorized APIs but cannot access unrelated data after secrets containing static keys are removed.
  4. Only authorized external jobs obtain temporary deployment credentials and no private key needs to be committed.

Explanation

Correct Answer

D:

Only authorized external jobs obtain temporary deployment credentials and no private key needs to be committed. Federation trusts verified external identity claims under explicit conditions instead of exposing long-lived service account private keys. The original diagnosis should have included this step: inspect CI issuer claims, Workload Identity Pool provider trust, audience, and target service account permissions. A build service outside Google Cloud needs short-lived scoped Google API access based on its external identity token. The team has tried a correction.

Incorrect Answers

A:

Untrusted images are rejected while policy-compliant images can be deployed under a recorded approval chain. That result could support testing of binary Authorization deployment policy: Artifact storage and verified deployment authorization are separate; Binary Authorization enforces policy based on artifact trust evidence. A more direct response is to recognize that only authorized external jobs obtain temporary deployment credentials and no private key needs to be committed.

B:

Only expected events invoke the handler and their metadata is validated before a side effect occurs. It would not establish the success condition for external CI Workload Identity Federation. A more direct response is to recognize that only authorized external jobs obtain temporary deployment credentials and no private key needs to be committed.

C:

The Pod reaches authorized APIs but cannot access unrelated data after secrets containing static keys are removed. That result could support testing of GKE Workload Identity Federation: GKE Workload Identity Federation associates Kubernetes workload identity with Google IAM permissions without embedding service-account private keys in containers. A more direct response is to recognize that only authorized external jobs obtain temporary deployment credentials and no private key needs to be committed.

Question 201

A Kubernetes Pod uses a mounted Google service account JSON key to read a single Cloud Storage bucket. Before choosing a remediation, which investigation best isolates the specific cause or unmet dependency? Select ONE best answer.

  1. Inspect transaction scope, SQL query needs, global replication, throughput, data size, and indexing patterns.
  2. Inspect Kubernetes ServiceAccount binding, workload identity principal, token audience, and IAM access scope.
  3. Inspect backend health status, health-check behavior, dependency errors, and actual request distribution.
  4. Inspect per-instance simultaneous requests, CPU saturation, memory pressure, tail latency, and autoscaling metrics.

Explanation

Correct Answer

B:

Inspect Kubernetes ServiceAccount binding, workload identity principal, token audience, and IAM access scope. GKE Workload Identity Federation associates Kubernetes workload identity with Google IAM permissions without embedding service-account private keys in containers.

Incorrect Answers

A:

Inspect transaction scope, SQL query needs, global replication, throughput, data size, and indexing patterns. Cloud SQL, Spanner, and Bigtable differ in data model and transaction guarantees; no one product is optimal for all workloads. To examine the reported mechanism, the team instead needs to inspect Kubernetes ServiceAccount binding, workload identity principal, token audience, and IAM access scope.

C:

Inspect backend health status, health-check behavior, dependency errors, and actual request distribution. A healthy network listener and a healthy application are not necessarily equivalent; routing depends on meaningful health checks. To examine the reported mechanism, the team instead needs to inspect Kubernetes ServiceAccount binding, workload identity principal, token audience, and IAM access scope.

D:

Inspect per-instance simultaneous requests, CPU saturation, memory pressure, tail latency, and autoscaling metrics. Cloud Run concurrency bounds concurrent requests handled by an instance; optimal settings depend on whether its code is CPU-bound, I/O-bound, or stateful. To examine the reported mechanism, the team instead needs to inspect Kubernetes ServiceAccount binding, workload identity principal, token audience, and IAM access scope.

Question 202

A Kubernetes Pod uses a mounted Google service account JSON key to read a single Cloud Storage bucket. The team is choosing a sustainable solution. Which design best meets the stated requirement without broad unrelated changes? Select ONE best answer.

  1. Use Identity Platform for supported end-user identity flows and separate application sessions from workload IAM credentials.
  2. Use Kubernetes NetworkPolicy for supported traffic isolation and a supported service mesh for additional service-level controls.
  3. Use versioned or invalidated cached data with identity-scoped keys and freshness bounds appropriate to the business rule.
  4. Use Workload Identity Federation for GKE to provide keyless workload access limited to intended Google resources.

Explanation

Correct Answer

D:

Use Workload Identity Federation for GKE to provide keyless workload access limited to intended Google resources. GKE Workload Identity Federation associates Kubernetes workload identity with Google IAM permissions without embedding service-account private keys in containers. Before rollout, inspect Kubernetes ServiceAccount binding, workload identity principal, token audience, and IAM access scope.

Incorrect Answers

A:

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. It cannot substitute for the required control: use Workload Identity Federation for GKE to provide keyless workload access limited to intended Google resources.

B:

Use Kubernetes NetworkPolicy for supported traffic isolation and a supported service mesh for additional service-level controls. This design addresses service mesh versus network policy, where network policies and service meshes operate at different levels; allowing or denying packets does not automatically implement mutual TLS or service observability. It cannot substitute for the required control: use Workload Identity Federation for GKE to provide keyless workload access limited to intended Google resources.

C:

Use versioned or invalidated cached data with identity-scoped keys and freshness bounds appropriate to the business rule. This design addresses cache freshness and invalidation, where cache invalidation and tenant-aware keying are correctness and security controls, not merely performance tuning. It cannot substitute for the required control: use Workload Identity Federation for GKE to provide keyless workload access limited to intended Google resources.

Question 203

A Kubernetes Pod uses a mounted Google service account JSON key to read a single Cloud Storage bucket. 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 new revision without full cutover, send a limited traffic share, and monitor error and latency differences.
  2. Bind the Pod to a dedicated Kubernetes ServiceAccount and grant narrowly scoped cloud permissions to the corresponding principal.
  3. Enforce a bounded API policy and test a normal client alongside an intentionally over-budget client.
  4. Assign the scoped identity to the service and remove plaintext keys after rotating any previously exposed secrets.

Explanation

Correct Answer

B:

Bind the Pod to a dedicated Kubernetes ServiceAccount and grant narrowly scoped cloud permissions to the corresponding principal. GKE Workload Identity Federation associates Kubernetes workload identity with Google IAM permissions without embedding service-account private keys in containers. Validate the change by checking that the Pod reaches authorized APIs but cannot access unrelated data after secrets containing static keys are removed.

Incorrect Answers

A:

Deploy the new revision without full cutover, send a limited traffic share, and monitor error and latency differences. This action changes a different concern, Cloud Run revision traffic splitting. It addresses a different dependency from gke workload identity federation.

C:

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. It addresses a different dependency from gke workload identity federation.

D:

Assign the scoped identity to the service and remove plaintext keys after rotating any previously exposed secrets. This action changes a different concern, service account and least-privilege API identity. It addresses a different dependency from gke workload identity federation.

Question 204

A Kubernetes Pod uses a mounted Google service account JSON key to read a single Cloud Storage bucket. The team has tried a correction. Which measurable outcome most directly demonstrates that this issue is resolved? Select ONE best answer.

  1. Approved clients can exchange the expected payloads within latency and compatibility requirements.
  2. User state remains correct during scale-out, failover, and rollout even if a subsequent request reaches another instance.
  3. The Pod reaches authorized APIs but cannot access unrelated data after secrets containing static keys are removed.
  4. Repeated delivery yields a single authorized business result with traceable completion or failure state.

Explanation

Correct Answer

C:

The Pod reaches authorized APIs but cannot access unrelated data after secrets containing static keys are removed. GKE Workload Identity Federation associates Kubernetes workload identity with Google IAM permissions without embedding service-account private keys in containers. The original diagnosis should have included this step: inspect Kubernetes ServiceAccount binding, workload identity principal, token audience, and IAM access scope.

Incorrect Answers

A:

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. The reported condition is about gke workload identity federation, not this adjacent change.

B:

User state remains correct during scale-out, failover, and rollout even if a subsequent request reaches another instance. That result could support testing of session affinity limitations: Affinity influences routing preferences but cannot guarantee durable state or prevent all changes in backend selection. The reported condition is about gke workload identity federation, not this adjacent change.

D:

Repeated delivery yields a single authorized business result with traceable completion or failure state. That result could support testing of retry-safe application side effects: Transient retries and at-least-once event delivery do not imply exactly-once business effects without an idempotent application design. The reported condition is about gke workload identity federation, not this adjacent change.

Question 205

A GKE workload can access unrelated project resources because its Kubernetes identity is mapped to an overprivileged Google principal. Before choosing a remediation, which investigation best isolates the specific cause or unmet dependency? Select ONE best answer.

  1. Inspect client interoperability requirements, message schemas, transport capabilities, latency, and streaming needs.
  2. Inspect destination IP, supported VPC region, egress configuration, firewall rules, and service identity.
  3. Inspect CI issuer claims, Workload Identity Pool provider trust, audience, and target service account permissions.
  4. Inspect Kubernetes ServiceAccount binding, workload identity principal, token audience, and IAM access scope.

Explanation

Correct Answer

D:

Inspect Kubernetes ServiceAccount binding, workload identity principal, token audience, and IAM access scope. GKE Workload Identity Federation associates Kubernetes workload identity with Google IAM permissions without embedding service-account private keys in containers. Before choosing a remediation, which investigation best isolates the specific cause or unmet dependency.

Incorrect Answers

A:

Inspect client interoperability requirements, message schemas, transport capabilities, latency, and streaming needs. REST and gRPC are different interface and transport approaches; a protocol choice must match actual client support and the API contract. This is not the decisive inspection for gke workload identity federation.

B:

Inspect destination IP, supported VPC region, egress configuration, firewall rules, and service identity. Private VPC egress changes the network path for selected Cloud Run outbound traffic and still requires downstream firewall and identity controls. This is not the decisive inspection for gke workload identity federation.

C:

Inspect CI issuer claims, Workload Identity Pool provider trust, audience, and target service account permissions. Federation trusts verified external identity claims under explicit conditions instead of exposing long-lived service account private keys. This is not the decisive inspection for gke workload identity federation.

Question 206

A GKE workload can access unrelated project resources because its Kubernetes identity is mapped to an overprivileged Google principal. 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 to provide keyless workload access limited to intended Google resources.
  2. Publish durable business events through Pub/Sub and let independent subscribers process appropriate downstream work asynchronously.
  3. Generate time-limited Cloud Storage signed URLs scoped to the intended object and operation instead of exposing a broad credential.
  4. Store sensitive application credentials in Secret Manager and grant narrowly scoped access to the execution identity.

Explanation

Correct Answer

A:

Use Workload Identity Federation for GKE to provide keyless workload access limited to intended Google resources. GKE Workload Identity Federation associates Kubernetes workload identity with Google IAM permissions without embedding service-account private keys in containers. Before rollout, inspect Kubernetes ServiceAccount binding, workload identity principal, token audience, and IAM access scope. A GKE workload can access unrelated project resources because its Kubernetes identity is mapped to an overprivileged Google principal. The team is choosing a sustainable solution.

Incorrect Answers

B:

Publish durable business events through Pub/Sub and let independent subscribers process appropriate downstream work asynchronously. This design addresses Pub/Sub decoupled processing architecture, where publish-subscribe messaging decouples production from consumption but consumers still need retry-safe processing and eventual completion visibility. That may help elsewhere, but it does not make the change required for gke workload identity federation.

C:

Generate time-limited Cloud Storage signed URLs scoped to the intended object and operation instead of exposing a broad credential. For this case, GKE Workload Identity Federation associates Kubernetes workload identity with Google IAM permissions without embedding service-account private keys in containers. That may help elsewhere, but it does not make the change required for gke workload identity federation.

D:

Store sensitive application credentials in Secret Manager and grant narrowly scoped access to the execution identity. For this case, GKE Workload Identity Federation associates Kubernetes workload identity with Google IAM permissions without embedding service-account private keys in containers. That may help elsewhere, but it does not make the change required for gke workload identity federation.

Question 207

A GKE workload can access unrelated project resources because its Kubernetes identity is mapped to an overprivileged Google principal. An approved limited change can be tested in a safe environment. Which implementation action most directly addresses this scenario? Select ONE best answer.

  1. Bind the Pod to a dedicated Kubernetes ServiceAccount and grant narrowly scoped cloud permissions to the corresponding principal.
  2. Invalidate or replace affected entries after authorized updates and test that users cannot receive another tenant's cached content.
  3. Move the cart record to an authorized shared datastore and test alternating requests across independently restarted instances.
  4. Create an appropriately signed URL with short expiration and test allowed and disallowed methods or objects.

Explanation

Correct Answer

A:

Bind the Pod to a dedicated Kubernetes ServiceAccount and grant narrowly scoped cloud permissions to the corresponding principal. GKE Workload Identity Federation associates Kubernetes workload identity with Google IAM permissions without embedding service-account private keys in containers. Validate the change by checking that the Pod reaches authorized APIs but cannot access unrelated data after secrets containing static keys are removed. An approved limited change can be tested in a safe environment.

Incorrect Answers

B:

Invalidate or replace affected entries after authorized updates and test that users cannot receive another tenant's cached content. This action changes a different concern, cache freshness and invalidation. A more direct response is to recognize that bind the Pod to a dedicated Kubernetes ServiceAccount and grant narrowly scoped cloud permissions to the corresponding principal.

C:

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 recognize that bind the Pod to a dedicated Kubernetes ServiceAccount and grant narrowly scoped cloud permissions to the corresponding principal.

D:

Create an appropriately signed URL with short expiration and test allowed and disallowed methods or objects. This action changes a different concern, Cloud Storage signed URL access. A more direct response is to recognize that bind the Pod to a dedicated Kubernetes ServiceAccount and grant narrowly scoped cloud permissions to the corresponding principal.

Question 208

A GKE workload can access unrelated project resources because its Kubernetes identity is mapped to an overprivileged Google principal. The team has tried a correction. Which measurable outcome most directly demonstrates that this issue is resolved? Select ONE best answer.

  1. The Pod reaches authorized APIs but cannot access unrelated data after secrets containing static keys are removed.
  2. Traffic demand is handled within a documented budget without unnecessary warm instances or overload-induced failures.
  3. The allowed caller invokes the private service successfully while requests without valid identity are denied.
  4. Measured production traffic follows the configured split and can be restored to a prior healthy revision.

Explanation

Correct Answer

A:

The Pod reaches authorized APIs but cannot access unrelated data after secrets containing static keys are removed. GKE Workload Identity Federation associates Kubernetes workload identity with Google IAM permissions without embedding service-account private keys in containers. The original diagnosis should have included this step: inspect Kubernetes ServiceAccount binding, workload identity principal, token audience, and IAM access scope. A GKE workload can access unrelated project resources because its Kubernetes identity is mapped to an overprivileged Google principal. The team has tried a correction.

Incorrect Answers

B:

Traffic demand is handled within a documented budget without unnecessary warm instances or overload-induced failures. It would not establish the success condition for GKE Workload Identity Federation. The case instead calls for the following: the Pod reaches authorized APIs but cannot access unrelated data after secrets containing static keys are removed.

C:

The allowed caller invokes the private service successfully while requests without valid identity are denied. That result could support testing of Cloud Run service-to-service identity tokens: Cloud Run authenticated HTTP invocation validates an identity token audience and caller permissions; generic Google API access tokens are not interchangeable. The case instead calls for the following: the Pod reaches authorized APIs but cannot access unrelated data after secrets containing static keys are removed.

D:

Measured production traffic follows the configured split and can be restored to a prior healthy revision. That result could support testing of Cloud Run revision traffic splitting: Cloud Run revisions are immutable; traffic splitting and revision tags let teams stage, test, and reverse changes without editing an existing revision. The case instead calls for the following: the Pod reaches authorized APIs but cannot access unrelated data after secrets containing static keys are removed.

Question 209

An internal service needs telemetry and mutual TLS between microservices, but a team assumes basic Pod traffic filters provide service-level identity encryption. Before choosing a remediation, which investigation best isolates the specific cause or unmet dependency? Select ONE best answer.

  1. Inspect transaction scope, SQL query needs, global replication, throughput, data size, and indexing patterns.
  2. Inspect authenticated invocation settings, caller service account, token audience, and Cloud Run invoker permissions.
  3. Inspect event sources, supported Eventarc provider types, filters, delivery destinations, and handler authorization.
  4. Inspect whether the requirement is L3/L4 network isolation, L7 routing telemetry, or authenticated service-to-service encryption.

Explanation

Correct Answer

D:

Inspect whether the requirement is L3/L4 network isolation, L7 routing telemetry, or authenticated service-to-service encryption. This checks the actual operating conditions relevant to service mesh versus network policy, rather than changing a service before the failure is understood. A focused follow-up is to define explicit ingress/egress policy and, where needed, mesh mTLS and route policy, then test authorized peer flows.

Incorrect Answers

A:

Inspect transaction scope, SQL query needs, global replication, throughput, data size, and indexing patterns. Cloud SQL, Spanner, and Bigtable differ in data model and transaction guarantees; no one product is optimal for all workloads. It does not isolate the service mesh versus network policy issue described.

B:

Inspect authenticated invocation settings, caller service account, token audience, and Cloud Run invoker permissions. Cloud Run authenticated HTTP invocation validates an identity token audience and caller permissions; generic Google API access tokens are not interchangeable. It does not isolate the service mesh versus network policy issue described.

C:

Inspect event sources, supported Eventarc provider types, filters, delivery destinations, and handler authorization. Eventarc routes supported source events to destinations; filters, delivery permissions, and handler idempotency determine reliable behavior. It does not isolate the service mesh versus network policy issue described.

Question 210

An internal service needs telemetry and mutual TLS between microservices, but a team assumes basic Pod traffic filters provide service-level identity encryption. The team is choosing a sustainable solution. Which design best meets the stated requirement without broad unrelated changes? Select ONE best answer.

  1. Use idempotency keys and transactional state transitions around work that may be redelivered or retried.
  2. Use Kubernetes NetworkPolicy for supported traffic isolation and a supported service mesh for additional service-level controls.
  3. Use versioned or invalidated cached data with identity-scoped keys and freshness bounds appropriate to the business rule.
  4. Choose Cloud SQL for managed relational instances, Spanner for supported distributed SQL needs, or Bigtable for high-scale key-based wide-column access.

Explanation

Correct Answer

B:

Use Kubernetes NetworkPolicy for supported traffic isolation and a supported service mesh for additional service-level controls. Network policies and service meshes operate at different levels; allowing or denying packets does not automatically implement mutual TLS or service observability. Before rollout, inspect whether the requirement is L3/L4 network isolation, L7 routing telemetry, or authenticated service-to-service encryption.

Incorrect Answers

A:

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. It addresses a different dependency from service mesh versus network policy.

C:

Use versioned or invalidated cached data with identity-scoped keys and freshness bounds appropriate to the business rule. This design addresses cache freshness and invalidation, where cache invalidation and tenant-aware keying are correctness and security controls, not merely performance tuning. It addresses a different dependency from service mesh versus network policy.

D:

Choose Cloud SQL for managed relational instances, Spanner for supported distributed SQL needs, or Bigtable for high-scale key-based wide-column access. This design addresses Cloud SQL versus Spanner versus Bigtable, where Cloud SQL, Spanner, and Bigtable differ in data model and transaction guarantees; no one product is optimal for all workloads. It addresses a different dependency from service mesh versus network policy.

Professional Cloud Developer Practice Tests