Google Professional Cloud Developer Practice Test 68
Question 670
A wide-column analytics workload chooses key ordering that makes common lookups require broad range scans. The team is choosing a sustainable solution. Which design best meets the stated requirement without broad unrelated changes? Select ONE best answer.
- Retry only transient eligible failures with bounded exponential backoff and jitter, separately handling nonretryable client errors.
- Use bounded per-instance connection pools with application-level limits appropriate to aggregate autoscaling.
- Design Bigtable row keys around anticipated access patterns and distribute high-rate writes across the keyspace.
- Use Cloud Scheduler for managed recurring triggers and make the target idempotent for retry or duplicate delivery.
Explanation
Correct Answer
C:Design Bigtable row keys around anticipated access patterns and distribute high-rate writes across the keyspace. Bigtable performance depends heavily on row-key design; monotonically increasing leading keys can concentrate writes and increase hotspots. Before rollout, inspect row-key distribution, access queries, tablet hot spots, and key-prefix cardinality. A wide-column analytics workload chooses key ordering that makes common lookups require broad range scans. The team is choosing a sustainable solution.
Incorrect Answers
A:Retry only transient eligible failures with bounded exponential backoff and jitter, separately handling nonretryable client errors. This design addresses exponential backoff on transient API errors, where backoff reduces coordinated retries after transient failures; not every error is retryable and repeatable side effects need idempotency. The case instead calls for the following: design Bigtable row keys around anticipated access patterns and distribute high-rate writes across the keyspace.
B:Use bounded per-instance connection pools with application-level limits appropriate to aggregate autoscaling. For this case, 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: design Bigtable row keys around anticipated access patterns and distribute high-rate writes across the keyspace.
D: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. The case instead calls for the following: design Bigtable row keys around anticipated access patterns and distribute high-rate writes across the keyspace.
Question 671
A wide-column analytics workload chooses key ordering that makes common lookups require broad range scans. An approved limited change can be tested in a safe environment. Which implementation action most directly addresses this scenario? Select ONE best answer.
- Implement a bounded paginated loop with tests for empty, single, and multiple pages using supported field selections.
- Publish test updates with consistent per-entity keys and verify consumer ordering while independent keys process concurrently.
- Create representative synthetic keys, run hot-key load tests, and measure read latency and tablet distribution.
- Configure and test a poison message, including correct permissions for dead-letter forwarding and monitoring.
Explanation
Correct Answer
C:Create representative synthetic keys, run hot-key load tests, and measure read latency and tablet distribution. Bigtable performance depends heavily on row-key design; monotonically increasing leading keys can concentrate writes and increase hotspots. Validate the change by checking that the workload spreads writes and provides efficient row-range access for its documented query patterns. An approved limited change can be tested in a safe environment.
Incorrect Answers
A:Implement a bounded paginated loop with tests for empty, single, and multiple pages using supported field selections. This action changes a different concern, Cloud API pagination and field selection. It cannot substitute for the required control: create representative synthetic keys, run hot-key load tests, and measure read latency and tablet distribution.
B: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. It cannot substitute for the required control: create representative synthetic keys, run hot-key load tests, and measure read latency and tablet distribution.
D:Configure and test a poison message, including correct permissions for dead-letter forwarding and monitoring. This action changes a different concern, Pub/Sub dead-letter handling. It cannot substitute for the required control: create representative synthetic keys, run hot-key load tests, and measure read latency and tablet distribution.
Question 672
A wide-column analytics workload chooses key ordering that makes common lookups require broad range scans. The team has tried a correction. Which measurable outcome most directly demonstrates that this issue is resolved? Select ONE best answer.
- The workload spreads writes and provides efficient row-range access for its documented query patterns.
- Calls authenticate and handle failures consistently without relying on unsupported private SDK behavior.
- Objects transition or expire according to policy without deleting data still under mandatory retention.
- The application reaches the intended API in the correct project without granting broad unrelated roles.
Explanation
Correct Answer
A:The workload spreads writes and provides efficient row-range access for its documented query patterns. Bigtable performance depends heavily on row-key design; monotonically increasing leading keys can concentrate writes and increase hotspots. The original diagnosis should have included this step: inspect row-key distribution, access queries, tablet hot spots, and key-prefix cardinality. A wide-column analytics workload chooses key ordering that makes common lookups require broad range scans. The team has tried a correction.
Incorrect Answers
B:Calls authenticate and handle failures consistently without relying on unsupported private SDK behavior. In this case, the outcome to verify is that the workload spreads writes and provides efficient row-range access for its documented query patterns. It addresses a different dependency from bigtable row-key hotspot avoidance.
C:Objects transition or expire according to policy without deleting data still under mandatory retention. That result could support testing of Cloud Storage lifecycle and retention controls: Lifecycle policies automate object management, but enforceable retention controls can prevent deletion until the obligation expires. It addresses a different dependency from bigtable row-key hotspot avoidance.
D:The application reaches the intended API in the correct project without granting broad unrelated roles. That result could support testing of google Cloud API enablement and service identity: Service enablement and IAM authorization are separate prerequisites for Google Cloud API calls; one does not substitute for the other. It addresses a different dependency from bigtable row-key hotspot avoidance.
Question 673
A customer browser needs a short-lived upload URL for one object but the backend considers returning permanent bucket-write credentials. Before choosing a remediation, which investigation best isolates the specific cause or unmet dependency? Select ONE best answer.
- Inspect object naming, authorized HTTP operation, expiry period, and identity allowed to generate signatures.
- Inspect captured exceptions, Error Reporting groups, correlated traces, and the evidence used by an AI-assisted recommendation.
- Inspect response page tokens, page size, requested field masks, and result reconciliation.
- Inspect bucket lifecycle rules, object age, retention policy locks, and legal retention requirements.
Explanation
Correct Answer
A:Inspect object naming, authorized HTTP operation, expiry period, and identity allowed to generate signatures. Success requires that the client uploads or downloads only its authorized object during the permitted period without bucket-wide credentials. A focused follow-up is to generate a short-lived URL for the intended object and test operation and expiry enforcement.
Incorrect Answers
B:Inspect captured exceptions, Error Reporting groups, correlated traces, and the evidence used by an AI-assisted recommendation. Error Reporting groups detected exceptions; AI-assisted observability can aid investigation but does not replace validated diagnosis and authorized change control. The relevant dependency is cloud storage signed upload/download workflows, which this inspection alone does not establish.
C:Inspect response page tokens, page size, requested field masks, and result reconciliation. Cloud APIs frequently paginate collection responses; selecting fewer fields improves efficiency but does not eliminate the need to consume every page. The relevant dependency is cloud storage signed upload/download workflows, which this inspection alone does not establish.
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. The relevant dependency is cloud storage signed upload/download workflows, which this inspection alone does not establish.
Question 674
A customer browser needs a short-lived upload URL for one object but the backend considers returning permanent bucket-write credentials. The team is choosing a sustainable solution. Which design best meets the stated requirement without broad unrelated changes? Select ONE best answer.
- Combine authorized Cloud SQL connectivity with least-privilege database authentication rather than confusing transport access with SQL grants.
- Enable the required Google Cloud API in the correct project and separately grant minimum caller access.
- Use Cloud Tasks for controlled asynchronous targeted delivery to a specific worker rather than broad fan-out.
- Issue narrowly scoped Cloud Storage signed URLs for specific object methods and expiration windows.
Explanation
Correct Answer
D:Issue narrowly scoped Cloud Storage signed URLs for specific object methods and expiration windows. The expected outcome is that the client uploads or downloads only its authorized object during the permitted period without bucket-wide credentials. Before rollout, inspect object naming, authorized HTTP operation, expiry period, and identity allowed to generate signatures.
Incorrect Answers
A:Combine authorized Cloud SQL connectivity with least-privilege database authentication rather than confusing transport access with SQL grants. Applying it first would leave cloud storage signed upload/download workflows unresolved.
B:Enable the required Google Cloud API in the correct project and separately grant minimum caller access. This design addresses google Cloud API enablement and service identity, where service enablement and IAM authorization are separate prerequisites for Google Cloud API calls; one does not substitute for the other. Applying it first would leave cloud storage signed upload/download workflows unresolved.
C:Use Cloud Tasks for controlled asynchronous targeted delivery to a specific worker rather than broad fan-out. Applying it first would leave cloud storage signed upload/download workflows unresolved.
Question 675
A customer browser needs a short-lived upload URL for one object but the backend considers returning permanent bucket-write credentials. 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.
- Propagate trace context across service calls and link request logs to span identifiers while redacting sensitive payloads.
- Generate a short-lived URL for the intended object and test operation and expiry enforcement.
- Activate the intended service and run one authorized request plus a negative permission test.
Explanation
Correct Answer
C:Generate a short-lived URL for the intended object and test operation and expiry enforcement. Validate the change by checking that the client uploads or downloads only its authorized object during the permitted period without bucket-wide credentials.
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. That may help elsewhere, but it does not make the change required for cloud storage signed upload/download workflows.
B:Propagate trace context across service calls and link request logs to span identifiers while redacting sensitive payloads. This action changes a different concern, metrics logs and distributed traces correlation. That may help elsewhere, but it does not make the change required for cloud storage signed upload/download workflows.
D:Activate the intended service and run one authorized request plus a negative permission test. This action changes a different concern, google Cloud API enablement and service identity. That may help elsewhere, but it does not make the change required for cloud storage signed upload/download workflows.
Question 676
A customer browser needs a short-lived upload URL for one object but the backend considers returning permanent bucket-write credentials. The team has tried a correction. Which measurable outcome most directly demonstrates that this issue is resolved? Select ONE best answer.
- SQL requests remain responsive without saturating the database connection budget when the app scales.
- Per-entity operations preserve intended order without unnecessarily serializing all customers.
- The client uploads or downloads only its authorized object during the permitted period without bucket-wide credentials.
- Calls authenticate and handle failures consistently without relying on unsupported private SDK behavior.
Explanation
Correct Answer
C:The client uploads or downloads only its authorized object during the permitted period without bucket-wide credentials. This is evidence that the particular acceptance condition for Cloud Storage signed upload/download workflows has been met, rather than a general availability metric. The original diagnosis should have included this step: inspect object naming, authorized HTTP operation, expiry period, and identity allowed to generate signatures.
Incorrect Answers
A:SQL requests remain responsive without saturating the database connection budget when the app scales. In this case, the outcome to verify is that the client uploads or downloads only its authorized object during the permitted period without bucket-wide credentials. A more direct response is to recognize that the client uploads or downloads only its authorized object during the permitted period without bucket-wide credentials.
B:Per-entity operations preserve intended order without unnecessarily serializing all customers. In this case, the outcome to verify is that the client uploads or downloads only its authorized object during the permitted period without bucket-wide credentials. A more direct response is to recognize that the client uploads or downloads only its authorized object during the permitted period without bucket-wide credentials.
D:Calls authenticate and handle failures consistently without relying on unsupported private SDK behavior. In this case, the outcome to verify is that the client uploads or downloads only its authorized object during the permitted period without bucket-wide credentials. A more direct response is to recognize that the client uploads or downloads only its authorized object during the permitted period without bucket-wide credentials.
Question 677
A private-report system needs to let a user download one authorized object without changing the bucket's public policy. Before choosing a remediation, which investigation best isolates the specific cause or unmet dependency? Select ONE best answer.
- Inspect source provider, event type filters, service destination, trigger identity, and permission bindings.
- Inspect captured exceptions, Error Reporting groups, correlated traces, and the evidence used by an AI-assisted recommendation.
- Inspect bucket lifecycle rules, object age, retention policy locks, and legal retention requirements.
- Inspect object naming, authorized HTTP operation, expiry period, and identity allowed to generate signatures.
Explanation
Correct Answer
D:Inspect object naming, authorized HTTP operation, expiry period, and identity allowed to generate signatures. Success requires that the client uploads or downloads only its authorized object during the permitted period without bucket-wide credentials. A focused follow-up is to generate a short-lived URL for the intended object and test operation and expiry enforcement. Before choosing a remediation, which investigation best isolates the specific cause or unmet dependency.
Incorrect Answers
A:Inspect source provider, event type filters, service destination, trigger identity, and permission bindings. Eventarc event filters constrain selection while destination IAM controls delivery; a matching event does not bypass invoker authorization. To examine the reported mechanism, the team instead needs to inspect object naming, authorized HTTP operation, expiry period, and identity allowed to generate signatures.
B:Inspect captured exceptions, Error Reporting groups, correlated traces, and the evidence used by an AI-assisted recommendation. Error Reporting groups detected exceptions; AI-assisted observability can aid investigation but does not replace validated diagnosis and authorized change control. To examine the reported mechanism, the team instead needs to inspect object naming, authorized HTTP operation, expiry period, and identity allowed to generate signatures.
C: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 object naming, authorized HTTP operation, expiry period, and identity allowed to generate signatures.
Question 678
A private-report system needs to let a user download one authorized object without changing the bucket's public policy. The team is choosing a sustainable solution. Which design best meets the stated requirement without broad unrelated changes? Select ONE best answer.
- Combine authorized Cloud SQL connectivity with least-privilege database authentication rather than confusing transport access with SQL grants.
- Instrument the application with appropriate Google Cloud Observability metrics, structured logs, and distributed traces.
- Issue narrowly scoped Cloud Storage signed URLs for specific object methods and expiration windows.
- Use Cloud Scheduler for managed recurring triggers and make the target idempotent for retry or duplicate delivery.
Explanation
Correct Answer
C:Issue narrowly scoped Cloud Storage signed URLs for specific object methods and expiration windows. The expected outcome is that the client uploads or downloads only its authorized object during the permitted period without bucket-wide credentials. Before rollout, inspect object naming, authorized HTTP operation, expiry period, and identity allowed to generate signatures. A private-report system needs to let a user download one authorized object without changing the bucket's public policy. The team is choosing a sustainable solution.
Incorrect Answers
A:Combine authorized Cloud SQL connectivity with least-privilege database authentication rather than confusing transport access with SQL grants. In this scenario, a private-report system needs to let a user download one authorized object without changing the bucket's public policy. It cannot substitute for the required control: issue narrowly scoped Cloud Storage signed URLs for specific object methods and expiration windows.
B:Instrument the application with appropriate Google Cloud Observability metrics, structured logs, and distributed traces. This design addresses metrics logs and distributed traces correlation, where 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: issue narrowly scoped Cloud Storage signed URLs for specific object methods and expiration windows.
D: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. It cannot substitute for the required control: issue narrowly scoped Cloud Storage signed URLs for specific object methods and expiration windows.
Question 679
A private-report system needs to let a user download one authorized object without changing the bucket's public policy. An approved limited change can be tested in a safe environment. Which implementation action most directly addresses this scenario? Select ONE best answer.
- Create one authorized job with explicit schedule zone and test its authenticated endpoint and job uniqueness key.
- Publish test updates with consistent per-entity keys and verify consumer ordering while independent keys process concurrently.
- Generate a short-lived URL for the intended object and test operation and expiry enforcement.
- Configure a test event trigger and verify one positive, one excluded event, and one unauthorized invocation.
Explanation
Correct Answer
C:Generate a short-lived URL for the intended object and test operation and expiry enforcement. Validate the change by checking that the client uploads or downloads only its authorized object during the permitted period without bucket-wide credentials. An approved limited change can be tested in a safe environment.
Incorrect Answers
A:Create one authorized job with explicit schedule zone and test its authenticated endpoint and job uniqueness key. This action changes a different concern, Cloud Scheduler recurring trigger design. It addresses a different dependency from cloud storage signed upload/download workflows.
B: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. It addresses a different dependency from cloud storage signed upload/download workflows.
D:Configure a test event trigger and verify one positive, one excluded event, and one unauthorized invocation. This action changes a different concern, Eventarc event-type filtering and authorization. It addresses a different dependency from cloud storage signed upload/download workflows.
Question 680
A private-report system needs to let a user download one authorized object without changing the bucket's public policy. The team has tried a correction. Which measurable outcome most directly demonstrates that this issue is resolved? Select ONE best answer.
- Calls authenticate and handle failures consistently without relying on unsupported private SDK behavior.
- The client uploads or downloads only its authorized object during the permitted period without bucket-wide credentials.
- Objects transition or expire according to policy without deleting data still under mandatory retention.
- SQL requests remain responsive without saturating the database connection budget when the app scales.
Explanation
Correct Answer
B:The client uploads or downloads only its authorized object during the permitted period without bucket-wide credentials. This is evidence that the particular acceptance condition for Cloud Storage signed upload/download workflows has been met, rather than a general availability metric. The original diagnosis should have included this step: inspect object naming, authorized HTTP operation, expiry period, and identity allowed to generate signatures. A private-report system needs to let a user download one authorized object without changing the bucket's public policy. The team has tried a correction.
Incorrect Answers
A:Calls authenticate and handle failures consistently without relying on unsupported private SDK behavior. In this case, the outcome to verify is that the client uploads or downloads only its authorized object during the permitted period without bucket-wide credentials. The reported condition is about cloud storage signed upload/download workflows, not this adjacent change.
C:Objects transition or expire according to policy without deleting data still under mandatory retention. That result could support testing of Cloud Storage lifecycle and retention controls: Lifecycle policies automate object management, but enforceable retention controls can prevent deletion until the obligation expires. The reported condition is about cloud storage signed upload/download workflows, not this adjacent change.
D:SQL requests remain responsive without saturating the database connection budget when the app scales. In this case, the outcome to verify is that the client uploads or downloads only its authorized object during the permitted period without bucket-wide credentials. The reported condition is about cloud storage signed upload/download workflows, not this adjacent change.