Google Professional Cloud Developer Practice Test 79
Question 780
An application retries Google Cloud API HTTP 429 responses instantly and multiplies an upstream rate-limit incident. The team has tried a correction. Which measurable outcome most directly demonstrates that this issue is resolved? Select ONE best answer.
- An engineer can identify the failing downstream stage and its p95 contribution without exposing confidential request content.
- The client uploads or downloads only its authorized object during the permitted period without bucket-wide credentials.
- Temporary throttling recovers without retry storms and invalid requests fail promptly with actionable diagnostics.
- Recurring errors group into actionable reports and suggested fixes are applied only after independent verification of their evidence.
Explanation
Correct Answer
C:Temporary throttling recovers without retry storms and invalid requests fail promptly with actionable diagnostics. This is evidence that the particular acceptance condition for exponential backoff on transient API errors has been met, rather than a general availability metric. The original diagnosis should have included this step: inspect response codes, retry-after guidance, attempt budget, jitter, and idempotency of the failed operation.
Incorrect Answers
A:An engineer can identify the failing downstream stage and its p95 contribution without exposing confidential request content. That result could support testing of metrics logs and distributed traces correlation: Metrics summarize behavior, logs describe events, and traces connect work across service boundaries; their combined context supports root-cause analysis. That may help elsewhere, but it does not make the change required for exponential backoff on transient api errors.
B:The client uploads or downloads only its authorized object during the permitted period without bucket-wide credentials. In this case, the outcome to verify is that temporary throttling recovers without retry storms and invalid requests fail promptly with actionable diagnostics. That may help elsewhere, but it does not make the change required for exponential backoff on transient api errors.
D:Recurring errors group into actionable reports and suggested fixes are applied only after independent verification of their evidence. That result could support testing of error Reporting and AI-assisted observability: Error Reporting groups detected exceptions; AI-assisted observability can aid investigation but does not replace validated diagnosis and authorized change control. That may help elsewhere, but it does not make the change required for exponential backoff on transient api errors.
Question 781
A worker retries an invalid argument error ten times and loses the original client-side validation problem. Before choosing a remediation, which investigation best isolates the specific cause or unmet dependency? Select ONE best answer.
- Inspect cron syntax, time zone, target identity, and whether the receiving job is safe to invoke more than once.
- Inspect response codes, retry-after guidance, attempt budget, jitter, and idempotency of the failed operation.
- Inspect task dependencies, branching logic, retry policy, state transitions, and auditability requirements.
- Inspect concurrent instances, per-instance connection count, pool configuration, and database connection quota.
Explanation
Correct Answer
B:Inspect response codes, retry-after guidance, attempt budget, jitter, and idempotency of the failed operation. Success requires that temporary throttling recovers without retry storms and invalid requests fail promptly with actionable diagnostics. Before choosing a remediation, which investigation best isolates the specific cause or unmet dependency.
Incorrect Answers
A:Inspect cron syntax, time zone, target identity, and whether the receiving job is safe to invoke more than once. Cloud Scheduler supplies scheduled triggers; exactly-once business execution still requires receiver-level idempotency. The more informative check is to inspect response codes, retry-after guidance, attempt budget, jitter, and idempotency of the failed operation.
C:Inspect task dependencies, branching logic, retry policy, state transitions, and auditability requirements. Workflows coordinates multi-step application processes; simply placing independent messages on topics does not create a deterministic state machine. The more informative check is to inspect response codes, retry-after guidance, attempt budget, jitter, and idempotency of the failed operation.
D:Inspect concurrent instances, per-instance connection count, pool configuration, and database connection quota. Serverless autoscaling multiplies per-instance database pools; a safe single-instance setting may still overwhelm a shared database. The more informative check is to inspect response codes, retry-after guidance, attempt budget, jitter, and idempotency of the failed operation.
Question 782
A worker retries an invalid argument error ten times and loses the original client-side validation problem. The team is choosing a sustainable solution. Which design best meets the stated requirement without broad unrelated changes? Select ONE best answer.
- Design Bigtable row keys around anticipated access patterns and distribute high-rate writes across the keyspace.
- Retry only transient eligible failures with bounded exponential backoff and jitter, separately handling nonretryable client errors.
- Follow pagination tokens until completion and request only supported required fields to reduce payload volume.
- Use Error Reporting and evidence-grounded Cloud Observability assistance as diagnostic inputs, not automatic authorization to change production.
Explanation
Correct Answer
B:Retry only transient eligible failures with bounded exponential backoff and jitter, separately handling nonretryable client errors. The expected outcome is that temporary throttling recovers without retry storms and invalid requests fail promptly with actionable diagnostics. Before rollout, inspect response codes, retry-after guidance, attempt budget, jitter, and idempotency of the failed operation. A worker retries an invalid argument error ten times and loses the original client-side validation problem. The team is choosing a sustainable solution.
Incorrect Answers
A:Design Bigtable row keys around anticipated access patterns and distribute high-rate writes across the keyspace. This design addresses Bigtable row-key hotspot avoidance, where Bigtable performance depends heavily on row-key design; monotonically increasing leading keys can concentrate writes and increase hotspots. The case instead calls for the following: retry only transient eligible failures with bounded exponential backoff and jitter, separately handling nonretryable client errors.
C:Follow pagination tokens until completion and request only supported required fields to reduce payload volume. This design addresses Cloud API pagination and field selection, where Cloud APIs frequently paginate collection responses; selecting fewer fields improves efficiency but does not eliminate the need to consume every page. The case instead calls for the following: retry only transient eligible failures with bounded exponential backoff and jitter, separately handling nonretryable client errors.
D:Use Error Reporting and evidence-grounded Cloud Observability assistance as diagnostic inputs, not automatic authorization to change production. This design addresses error Reporting and AI-assisted observability, where error Reporting groups detected exceptions; AI-assisted observability can aid investigation but does not replace validated diagnosis and authorized change control. The case instead calls for the following: retry only transient eligible failures with bounded exponential backoff and jitter, separately handling nonretryable client errors.
Question 783
A worker retries an invalid argument error ten times and loses the original client-side validation problem. An approved limited change can be tested in a safe environment. Which implementation action most directly addresses this scenario? Select ONE best answer.
- Configure a test bucket's lifecycle policy and separately validate the required retention policy against sample objects.
- Instrument exceptions with useful context and verify any AI-assisted proposed fix against logs, traces, and access controls.
- Wrap stock validation and update in a transaction and test parallel competing purchases.
- Implement capped retry delays with a stable request key and simulate both 429 and permanent invalid-input failures.
Explanation
Correct Answer
D:Implement capped retry delays with a stable request key and simulate both 429 and permanent invalid-input failures. Validate the change by checking that temporary throttling recovers without retry storms and invalid requests fail promptly with actionable diagnostics. An approved limited change can be tested in a safe environment.
Incorrect Answers
A:Configure a test bucket's lifecycle policy and separately validate the required retention policy against sample objects. This action changes a different concern, Cloud Storage lifecycle and retention controls. It cannot substitute for the required control: implement capped retry delays with a stable request key and simulate both 429 and permanent invalid-input failures.
B:Instrument exceptions with useful context and verify any AI-assisted proposed fix against logs, traces, and access controls. This action changes a different concern, error Reporting and AI-assisted observability. It cannot substitute for the required control: implement capped retry delays with a stable request key and simulate both 429 and permanent invalid-input failures.
C:Wrap stock validation and update in a transaction and test parallel competing purchases. This action changes a different concern, Firestore transactional document updates. It cannot substitute for the required control: implement capped retry delays with a stable request key and simulate both 429 and permanent invalid-input failures.
Question 784
A worker retries an invalid argument error ten times and loses the original client-side validation problem. The team has tried a correction. Which measurable outcome most directly demonstrates that this issue is resolved? Select ONE best answer.
- Only approved source events reach the endpoint with the expected authentication context.
- Successfully acknowledged messages avoid redelivery under the supported feature while repeated business operations are handled safely.
- Recurring errors group into actionable reports and suggested fixes are applied only after independent verification of their evidence.
- Temporary throttling recovers without retry storms and invalid requests fail promptly with actionable diagnostics.
Explanation
Correct Answer
D:Temporary throttling recovers without retry storms and invalid requests fail promptly with actionable diagnostics. This is evidence that the particular acceptance condition for exponential backoff on transient API errors has been met, rather than a general availability metric. The original diagnosis should have included this step: inspect response codes, retry-after guidance, attempt budget, jitter, and idempotency of the failed operation. A worker retries an invalid argument error ten times and loses the original client-side validation problem. The team has tried a correction.
Incorrect Answers
A:Only approved source events reach the endpoint with the expected authentication context. That result could support testing of Eventarc event-type filtering and authorization: Eventarc event filters constrain selection while destination IAM controls delivery; a matching event does not bypass invoker authorization. It addresses a different dependency from exponential backoff on transient api errors.
B:Successfully acknowledged messages avoid redelivery under the supported feature while repeated business operations are handled safely. That result could support testing of Pub/Sub exactly-once feature scope: Pub/Sub exactly-once delivery applies to supported pull subscriptions within documented scope and cannot prevent independent duplicate publishes. It addresses a different dependency from exponential backoff on transient api errors.
C:Recurring errors group into actionable reports and suggested fixes are applied only after independent verification of their evidence. That result could support testing of error Reporting and AI-assisted observability: Error Reporting groups detected exceptions; AI-assisted observability can aid investigation but does not replace validated diagnosis and authorized change control. It addresses a different dependency from exponential backoff on transient api errors.
Question 785
A user request traverses three Cloud Run services but engineers only see aggregate HTTP error counts without knowing where time was lost. Before choosing a remediation, which investigation best isolates the specific cause or unmet dependency? Select ONE best answer.
- Inspect concurrent instances, per-instance connection count, pool configuration, and database connection quota.
- Inspect metric labels, log severity and correlation IDs, trace spans, and latency distribution across services.
- Inspect row-key distribution, access queries, tablet hot spots, and key-prefix cardinality.
- Inspect response codes, retry-after guidance, attempt budget, jitter, and idempotency of the failed operation.
Explanation
Correct Answer
B:Inspect metric labels, log severity and correlation IDs, trace spans, and latency distribution across services. Success requires that an engineer can identify the failing downstream stage and its p95 contribution without exposing confidential request content. A focused follow-up is to propagate trace context across service calls and link request logs to span identifiers while redacting sensitive payloads.
Incorrect Answers
A:Inspect concurrent instances, per-instance connection count, pool configuration, and database connection quota. Serverless autoscaling multiplies per-instance database pools; a safe single-instance setting may still overwhelm a shared database. The relevant dependency is metrics logs and distributed traces correlation, which this inspection alone does not establish.
C:Inspect row-key distribution, access queries, tablet hot spots, and key-prefix cardinality. Bigtable performance depends heavily on row-key design; monotonically increasing leading keys can concentrate writes and increase hotspots. The relevant dependency is metrics logs and distributed traces correlation, which this inspection alone does not establish.
D:Inspect response codes, retry-after guidance, attempt budget, jitter, and idempotency of the failed operation. Backoff reduces coordinated retries after transient failures; not every error is retryable and repeatable side effects need idempotency. The relevant dependency is metrics logs and distributed traces correlation, which this inspection alone does not establish.
Question 786
A user request traverses three Cloud Run services but engineers only see aggregate HTTP error counts without knowing where time was lost. The team is choosing a sustainable solution. Which design best meets the stated requirement without broad unrelated changes? Select ONE best answer.
- Use Firestore transactions for supported coordinated document updates with retry-aware application logic.
- Route persistently unprocessable messages to a configured dead-letter topic after a bounded attempt policy.
- Use Cloud Scheduler for managed recurring triggers and make the target idempotent for retry or duplicate delivery.
- Instrument the application with appropriate Google Cloud Observability metrics, structured logs, and distributed traces.
Explanation
Correct Answer
D:Instrument the application with appropriate Google Cloud Observability metrics, structured logs, and distributed traces. Metrics summarize behavior, logs describe events, and traces connect work across service boundaries; their combined context supports root-cause analysis. Before rollout, inspect metric labels, log severity and correlation IDs, trace spans, and latency distribution across services.
Incorrect Answers
A:Use Firestore transactions for supported coordinated document updates with retry-aware application logic. For this case, metrics summarize behavior, logs describe events, and traces connect work across service boundaries; their combined context supports root-cause analysis. Applying it first would leave metrics logs and distributed traces correlation unresolved.
B:Route persistently unprocessable messages to a configured dead-letter topic after a bounded attempt policy. This design addresses Pub/Sub dead-letter handling, where dead-letter routing isolates messages that exceed allowed delivery attempts; it does not itself repair invalid data or guarantee business processing. Applying it first would leave metrics logs and distributed traces correlation unresolved.
C:Use Cloud Scheduler for managed recurring triggers and make the target idempotent for retry or duplicate delivery. This design addresses Cloud Scheduler recurring trigger design, where Cloud Scheduler supplies scheduled triggers; exactly-once business execution still requires receiver-level idempotency. Applying it first would leave metrics logs and distributed traces correlation unresolved.
Question 787
A user request traverses three Cloud Run services but engineers only see aggregate HTTP error counts without knowing where time was lost. An approved limited change can be tested in a safe environment. Which implementation action most directly addresses this scenario? Select ONE best answer.
- Configure a test workload identity and a minimally privileged database user, then validate allowed and denied queries.
- Propagate trace context across service calls and link request logs to span identifiers while redacting sensitive payloads.
- Publish test updates with consistent per-entity keys and verify consumer ordering while independent keys process concurrently.
- Instrument exceptions with useful context and verify any AI-assisted proposed fix against logs, traces, and access controls.
Explanation
Correct Answer
B:Propagate trace context across service calls and link request logs to span identifiers while redacting sensitive payloads. Metrics summarize behavior, logs describe events, and traces connect work across service boundaries; their combined context supports root-cause analysis. Validate the change by checking that an engineer can identify the failing downstream stage and its p95 contribution without exposing confidential request content.
Incorrect Answers
A:Configure a test workload identity and a minimally privileged database user, then validate allowed and denied queries. This action changes a different concern, Cloud SQL Auth Proxy and database authorization. That may help elsewhere, but it does not make the change required for metrics logs and distributed traces correlation.
C:Publish test updates with consistent per-entity keys and verify consumer ordering while independent keys process concurrently. This action changes a different concern, Pub/Sub ordering keys and partitioned work. That may help elsewhere, but it does not make the change required for metrics logs and distributed traces correlation.
D:Instrument exceptions with useful context and verify any AI-assisted proposed fix against logs, traces, and access controls. This action changes a different concern, error Reporting and AI-assisted observability. That may help elsewhere, but it does not make the change required for metrics logs and distributed traces correlation.
Question 788
A user request traverses three Cloud Run services but engineers only see aggregate HTTP error counts without knowing where time was lost. The team has tried a correction. Which measurable outcome most directly demonstrates that this issue is resolved? Select ONE best answer.
- The workload preserves required transaction integrity and meets accepted global-latency targets.
- Recurring errors group into actionable reports and suggested fixes are applied only after independent verification of their evidence.
- An engineer can identify the failing downstream stage and its p95 contribution without exposing confidential request content.
- Calls authenticate and handle failures consistently without relying on unsupported private SDK behavior.
Explanation
Correct Answer
C:An engineer can identify the failing downstream stage and its p95 contribution without exposing confidential request content. Metrics summarize behavior, logs describe events, and traces connect work across service boundaries; their combined context supports root-cause analysis. The original diagnosis should have included this step: inspect metric labels, log severity and correlation IDs, trace spans, and latency distribution across services.
Incorrect Answers
A:The workload preserves required transaction integrity and meets accepted global-latency targets. In this case, the outcome to verify is that an engineer can identify the failing downstream stage and its p95 contribution without exposing confidential request content. A more direct response is to recognize that an engineer can identify the failing downstream stage and its p95 contribution without exposing confidential request content.
B:Recurring errors group into actionable reports and suggested fixes are applied only after independent verification of their evidence. That result could support testing of error Reporting and AI-assisted observability: Error Reporting groups detected exceptions; AI-assisted observability can aid investigation but does not replace validated diagnosis and authorized change control. A more direct response is to recognize that an engineer can identify the failing downstream stage and its p95 contribution without exposing confidential request content.
D:Calls authenticate and handle failures consistently without relying on unsupported private SDK behavior. In this case, the outcome to verify is that an engineer can identify the failing downstream stage and its p95 contribution without exposing confidential request content. A more direct response is to recognize that an engineer can identify the failing downstream stage and its p95 contribution without exposing confidential request content.
Question 789
A service emits log entries from each component without trace IDs, making it difficult to reconstruct one failing request. Before choosing a remediation, which investigation best isolates the specific cause or unmet dependency? Select ONE best answer.
- Inspect cron syntax, time zone, target identity, and whether the receiving job is safe to invoke more than once.
- Inspect metric labels, log severity and correlation IDs, trace spans, and latency distribution across services.
- Inspect response codes, retry-after guidance, attempt budget, jitter, and idempotency of the failed operation.
- Inspect bucket lifecycle rules, object age, retention policy locks, and legal retention requirements.
Explanation
Correct Answer
B:Inspect metric labels, log severity and correlation IDs, trace spans, and latency distribution across services. Success requires that an engineer can identify the failing downstream stage and its p95 contribution without exposing confidential request content. A focused follow-up is to propagate trace context across service calls and link request logs to span identifiers while redacting sensitive payloads. Before choosing a remediation, which investigation best isolates the specific cause or unmet dependency.
Incorrect Answers
A:Inspect cron syntax, time zone, target identity, and whether the receiving job is safe to invoke more than once. Cloud Scheduler supplies scheduled triggers; exactly-once business execution still requires receiver-level idempotency. To examine the reported mechanism, the team instead needs to inspect metric labels, log severity and correlation IDs, trace spans, and latency distribution across services.
C:Inspect response codes, retry-after guidance, attempt budget, jitter, and idempotency of the failed operation. Backoff reduces coordinated retries after transient failures; not every error is retryable and repeatable side effects need idempotency. To examine the reported mechanism, the team instead needs to inspect metric labels, log severity and correlation IDs, trace spans, and latency distribution across services.
D:Inspect bucket lifecycle rules, object age, retention policy locks, and legal retention requirements. Lifecycle policies automate object management, but enforceable retention controls can prevent deletion until the obligation expires. To examine the reported mechanism, the team instead needs to inspect metric labels, log severity and correlation IDs, trace spans, and latency distribution across services.
Question 790
A service emits log entries from each component without trace IDs, making it difficult to reconstruct one failing request. The team is choosing a sustainable solution. Which design best meets the stated requirement without broad unrelated changes? Select ONE best answer.
- Follow pagination tokens until completion and request only supported required fields to reduce payload volume.
- Use Cloud Storage lifecycle management for approved expiration while respecting effective retention constraints.
- Instrument the application with appropriate Google Cloud Observability metrics, structured logs, and distributed traces.
- Combine authorized Cloud SQL connectivity with least-privilege database authentication rather than confusing transport access with SQL grants.
Explanation
Correct Answer
C:Instrument the application with appropriate Google Cloud Observability metrics, structured logs, and distributed traces. In this scenario, a service emits log entries from each component without trace IDs, making it difficult to reconstruct one failing request. Before rollout, inspect metric labels, log severity and correlation IDs, trace spans, and latency distribution across services.
Incorrect Answers
A:Follow pagination tokens until completion and request only supported required fields to reduce payload volume. This design addresses Cloud API pagination and field selection, where Cloud APIs frequently paginate collection responses; selecting fewer fields improves efficiency but does not eliminate the need to consume every page. It cannot substitute for the required control: instrument the application with appropriate Google Cloud Observability metrics, structured logs, and distributed traces.
B:Use Cloud Storage lifecycle management for approved expiration while respecting effective retention constraints. This design addresses Cloud Storage lifecycle and retention controls, where lifecycle policies automate object management, but enforceable retention controls can prevent deletion until the obligation expires. It cannot substitute for the required control: instrument the application with appropriate Google Cloud Observability metrics, structured logs, and distributed traces.
D:Combine authorized Cloud SQL connectivity with least-privilege database authentication rather than confusing transport access with SQL grants. For this case, metrics summarize behavior, logs describe events, and traces connect work across service boundaries; their combined context supports root-cause analysis. It cannot substitute for the required control: instrument the application with appropriate Google Cloud Observability metrics, structured logs, and distributed traces.