Question 270
A historical dataset requires a finite one-time transformation before analytics. Which implementation matches this requirement?
- Run a Dataflow streaming pipeline with suitable windows
- Configure supported Dataflow autoscaling and worker settings
- Use a Dataflow pipeline with Pub/Sub input and BigQuery output
- Run a Dataflow batch pipeline
- Implement an Apache Beam streaming pipeline on Dataflow
Explanation
Correct Answer
D:Batch pipelines process bounded datasets to completion. A continuously running streaming job is not necessary for fixed historical inputs.
Incorrect Answers
A:Its purpose is to aggregate a continuing event stream. That distinction matters: the scenario calls for an action to execute a finite batch ETL job, not this separate configuration task.
B:While this can scale Dataflow processing workers, the present task requires an action to execute a finite batch ETL job. This operation does not supply the behavior described in the requirements.
C:Administrators use it to transform events into warehouse records, rather than to execute a finite batch ETL job. Applying it would change the wrong component of this deployment.
E:The technical effect is to perform stream-window computations, not to execute a finite batch ETL job; That distinction matters here because the first operation serves aggregate streaming records, rather than the scenario's required result.
Question 271
A pipeline receives Pub/Sub events and must write normalized records to BigQuery. What should the administrator do?
- Run a Dataflow batch pipeline
- Run a Dataflow streaming pipeline with suitable windows
- Use a Dataflow pipeline with Pub/Sub input and BigQuery output
- Configure supported Dataflow autoscaling and worker settings
- Configure a Pub/Sub pull subscription
Explanation
Correct Answer
C:Apache Beam connectors can consume Pub/Sub messages and write processed records to BigQuery. Pub/Sub alone cannot apply arbitrary transformations and load warehouse rows.
Incorrect Answers
A:Select this when the goal is to transform bounded historical data. Here the decisive requirement is to stream processed data into BigQuery, and that outcome is not achieved by this action.
B:The tool can aggregate a continuing event stream, but it cannot be substituted for the capability needed to stream processed data into BigQuery. Its operational effect is not equivalent.
D:This choice is useful to scale Dataflow processing workers. The stated task is to stream processed data into BigQuery, which requires a different mechanism or permission scope.
E:Choosing this would retrieve messages on consumer demand, an appropriate action for pub sub topic and subscriber planning operations; It cannot take the place of the separate step needed to stream processed data into BigQuery in this specific situation.
Question 272
A Dataflow job must scale workers with pipeline demand using supported service controls. Which choice provides the required behavior?
- Run a Dataflow batch pipeline
- Use a Dataflow pipeline with Pub/Sub input and BigQuery output
- Run a Dataflow streaming pipeline with suitable windows
- Configure supported Dataflow autoscaling and worker settings
- Configure a Pub/Sub push subscription
Explanation
Correct Answer
D:Dataflow can manage worker scaling for compatible jobs. Job-level processing behavior and quota constraints still influence capacity.
Incorrect Answers
A:Its purpose is to transform bounded historical data. That distinction matters: the scenario calls for an action to adjust distributed pipeline capacity, not this separate configuration task.
B:This setting would transform events into warehouse records. That behavior does not establish the requested ability to adjust distributed pipeline capacity; it addresses an adjacent concern instead.
C:While this can aggregate a continuing event stream, the present task requires an action to adjust distributed pipeline capacity. This operation does not supply the behavior described in the requirements.
E:This proposal can push subscribed messages to an HTTP endpoint, but the failure or goal described here calls for a way to adjust distributed pipeline capacity; It changes the wrong control or scope for the requested outcome.
Question 273
An application repeatedly fetches the same database rows and needs a managed Redis-compatible cache. How should the team proceed?
- Use a suitable managed in-memory store with TTLs
- Add a cache-aside pattern using Memorystore
- Use Memorystore for Redis where supported
- Store the records in a suitable durable transactional database
Explanation
Correct Answer
C:Memorystore supports low-latency Redis-compatible in-memory operations. The underlying database remains the durable source of truth.
Incorrect Answers
A:The result of this choice would be to store short-lived session values. The requested outcome, to reduce repeated relational queries, is handled at a different layer or through another operation.
B:This mechanism is intended to reduce database read load using a cache. It does not implement the required action to reduce repeated relational queries, even though both are relevant to the same general service.
D:The tool can persist authoritative financial transactions, but it cannot be substituted for the capability needed to reduce repeated relational queries. Its operational effect is not equivalent.
Question 274
A session store requires fast access but the application can rebuild sessions when cache entries expire. What is the most direct solution?
- Use an appropriate dual-region or multi-region Cloud Storage location
- Use Memorystore for Redis where supported
- Store the records in a suitable durable transactional database
- Use a suitable managed in-memory store with TTLs
- Add a cache-aside pattern using Memorystore
Explanation
Correct Answer
D:An in-memory cache can expire session values based on TTL policies. Application correctness should not assume cached records are permanent.
Incorrect Answers
A:Choosing this would store redundant object data across regions, an appropriate action for redundancy across data products operations; It cannot take the place of the separate step needed to manage ephemeral login state in this specific situation.
B:This setting would cache expensive database read results. That behavior does not establish the requested ability to manage ephemeral login state; it addresses an adjacent concern instead.
C:This choice is useful to persist authoritative financial transactions. The stated task is to manage ephemeral login state, which requires a different mechanism or permission scope.
E:This approach can reduce database read load using a cache. The requirement is to manage ephemeral login state, so it controls a different part of the workflow and leaves that result unaddressed.
Question 275
A distributed app must avoid hammering its database during a read surge. Which implementation matches this requirement?
- Use a suitable managed in-memory store with TTLs
- Store the records in a suitable durable transactional database
- Choose Spanner with an appropriate multi-region instance configuration
- Use Memorystore for Redis where supported
- Add a cache-aside pattern using Memorystore
Explanation
Correct Answer
E:The application checks the cache before falling back to the database and populates misses. Invalidation logic must align with freshness expectations.
Incorrect Answers
A:Administrators use it to store short-lived session values, rather than to implement application cache-aside. Applying it would change the wrong component of this deployment.
B:The result of this choice would be to persist authoritative financial transactions. The requested outcome, to implement application cache-aside, is handled at a different layer or through another operation.
C:This proposal can run distributed relational transactions across regions, but the failure or goal described here calls for a way to implement application cache-aside; It changes the wrong control or scope for the requested outcome.
D:While this can cache expensive database read results, the present task requires an action to implement application cache-aside. This operation does not supply the behavior described in the requirements.
Question 276
An application needs authoritative long-term financial transaction records rather than volatile cached values. What should the administrator do?
- Use a suitable managed in-memory store with TTLs
- Use Memorystore for Redis where supported
- Add a cache-aside pattern using Memorystore
- Choose Cloud SQL with a supported relational engine
- Store the records in a suitable durable transactional database
Explanation
Correct Answer
E:A system of record needs durable transactional semantics. In-memory caching services are not interchangeable with persistent financial ledgers.
Incorrect Answers
A:This choice is useful to store short-lived session values. The stated task is to protect the primary record from cache eviction, which requires a different mechanism or permission scope.
B:The tool can cache expensive database read results, but it cannot be substituted for the capability needed to protect the primary record from cache eviction. Its operational effect is not equivalent.
C:This setting would reduce database read load using a cache. That behavior does not establish the requested ability to protect the primary record from cache eviction; it addresses an adjacent concern instead.
D:Using this action would host supported managed relational database engines, not protect the primary record from cache eviction. Its function is different from the specific change described in the scenario.
Question 277
A relational app needs a secondary disaster-recovery read copy in a different supported region. Which solution should be used?
- Create the dataset in the supported required location and keep data movement consistent
- Verify replication support and configure each product's native HA or backup mechanism
- Use an appropriate dual-region or multi-region Cloud Storage location
- Configure supported Cloud SQL cross-region replication
Explanation
Correct Answer
D:Cross-region replicas can provide remote copies for appropriate engines, subject to asynchronous replication and promotion procedures. They are not the same as zonal HA standbys.
Incorrect Answers
A:Administrators use it to place analytical data in a compliant location, rather than to maintain a regional disaster recovery copy. Applying it would change the wrong component of this deployment.
B:While this can design product-specific data redundancy, the present task requires an action to maintain a regional disaster recovery copy. This operation does not supply the behavior described in the requirements.
C:Its purpose is to store redundant object data across regions. That distinction matters: the scenario calls for an action to maintain a regional disaster recovery copy, not this separate configuration task.
Question 278
A warehouse dataset must remain in an allowed geography and be queryable from the designated BigQuery location. How should the team proceed?
- Configure supported Cloud SQL cross-region replication
- Use an appropriate dual-region or multi-region Cloud Storage location
- Verify replication support and configure each product's native HA or backup mechanism
- Create the dataset in the supported required location and keep data movement consistent
- Choose a suitable multi-region Cloud Storage bucket
Explanation
Correct Answer
D:BigQuery jobs and datasets have location compatibility requirements. Multi-region labels and physical processing locations should be evaluated against data governance.
Incorrect Answers
A:The tool can replicate relational data to another region, but it cannot be substituted for the capability needed to prevent cross-location query conflicts. Its operational effect is not equivalent.
B:This mechanism is intended to store redundant object data across regions. It does not implement the required action to prevent cross-location query conflicts, even though both are relevant to the same general service.
C:Select this when the goal is to design product-specific data redundancy. Here the decisive requirement is to prevent cross-location query conflicts, and that outcome is not achieved by this action.
E:This proposal can store objects redundantly within a multi-region, but the failure or goal described here calls for a way to prevent cross-location query conflicts; It changes the wrong control or scope for the requested outcome.
Question 279
A Cloud Storage dual-region bucket already satisfies its two-region placement requirement. The recovery team now needs faster cross-region replication with a documented short recovery point objective. Which additional feature should be evaluated?
- Switch the bucket to the Archive storage class to guarantee synchronous regional replication
- Enable turbo replication on a supported dual-region bucket
- Enable Uniform bucket-level access to force immediate cross-region object replication
- Create a Cloud NAT gateway in each region to accelerate internal bucket replication
Explanation
Correct Answer
B:Turbo replication provides a shorter replication recovery point objective for eligible dual-region buckets. It complements dual-region placement rather than replacing the bucket's location setting.
Incorrect Answers
A:Archive is a storage class for infrequently accessed data. It does not provide a synchronous cross-region replication guarantee or a shorter recovery point objective.
C:Uniform bucket-level access controls the authorization model for objects and buckets. It does not determine asynchronous replication timing between a dual-region bucket's locations.
D:Cloud NAT provides network address translation for outbound connections. Google-managed Cloud Storage replication is not accelerated by customer VPC NAT gateways.
Question 280
An operational data platform has multiple data products with different replication features. Which implementation matches this requirement?
- Create a regional Cloud Storage bucket in the required region
- Verify replication support and configure each product's native HA or backup mechanism
- Use an appropriate dual-region or multi-region Cloud Storage location
- Create the dataset in the supported required location and keep data movement consistent
- Configure supported Cloud SQL cross-region replication
Explanation
Correct Answer
B:Storage class, regional database HA and cross-region replication are separate product-specific capabilities. Assuming one global toggle provides redundancy across services is incorrect.
Incorrect Answers
A:For the stated need to plan distinct backup and HA controls per service, this would instead place object storage in one region; it supports the separate task to maintain region-local object data, not the required configuration.
C:Administrators use it to store redundant object data across regions, rather than to plan distinct backup and HA controls per service. Applying it would change the wrong component of this deployment.
D:The result of this choice would be to place analytical data in a compliant location. The requested outcome, to plan distinct backup and HA controls per service, is handled at a different layer or through another operation.
E:Select this when the goal is to replicate relational data to another region. Here the decisive requirement is to plan distinct backup and HA controls per service, and that outcome is not achieved by this action.