Google Associate Cloud Engineer Practice Test 24

Question 230

A Pub/Sub pull subscription repeatedly receives a message that its consumer cannot process. Engineers want the message sent to a separate topic after the configured delivery-attempt limit. Which feature should they configure?

  1. Enable message ordering on the subscription
  2. Configure a subscription dead-letter topic with its delivery-attempt policy and required Pub/Sub service-agent permissions
  3. Set the topic's message-retention period to one minute
  4. Create a second unrelated subscription on the source topic and wait for failed messages to move automatically

Explanation

Correct Answer

B:

Dead-letter topics provide a destination for messages that cannot be delivered successfully after the configured number of attempts. The subscription and associated service-agent permissions must be set up correctly.

Incorrect Answers

A:

Ordering controls delivery sequence for messages with the same ordering key. It does not redirect persistently undeliverable messages to a separate topic.

C:

Retention governs how long messages are retained for eligible subscriptions. It is not a dead-letter routing rule and can instead increase the risk of lost processing opportunities.

D:

Independent subscriptions each receive their own message delivery stream. They do not automatically receive only messages that exceeded another subscription's retry limit.

Question 231

A pipeline must window, aggregate and transform records as they arrive. What is the most direct solution?

  1. Use Storage Transfer Service for a supported source and destination
  2. Implement an Apache Beam streaming pipeline on Dataflow
  3. Use Pub/Sub topics with separate subscriptions
  4. Choose Cloud SQL with a supported relational engine
  5. Use Google Cloud Managed Service for Apache Kafka

Explanation

Correct Answer

B:

Dataflow executes stream transformations including supported windows and triggers. Pub/Sub can feed the pipeline but does not itself perform arbitrary data transformations.

Incorrect Answers

A:

While this can orchestrate bulk storage data transfer, the present task requires an action to aggregate streaming records. This operation does not supply the behavior described in the requirements.

C:

This setting would fan out events to independent subscribers. That behavior does not establish the requested ability to aggregate streaming records; it addresses an adjacent concern instead.

D:

Its purpose is to host supported managed relational database engines. That distinction matters: the scenario calls for an action to aggregate streaming records, not this separate configuration task.

E:

This approach can run managed Kafka-compatible streaming. The requirement is to aggregate streaming records, so it controls a different part of the workflow and leaves that result unaddressed.

Question 232

A migration tool needs to transfer an entire Cloud Storage dataset from an external source. Which implementation matches this requirement?

  1. Use Storage Transfer Service for a supported source and destination
  2. Use Google Cloud Managed Service for Apache Kafka
  3. Implement an Apache Beam streaming pipeline on Dataflow
  4. Run a Dataflow streaming pipeline with suitable windows
  5. Use Pub/Sub topics with separate subscriptions

Explanation

Correct Answer

A:

Storage Transfer Service manages large data transfers from supported cloud or on-premises sources. It is designed for scheduled or bulk copy jobs rather than query execution.

Incorrect Answers

B:

Select this when the goal is to run managed Kafka-compatible streaming. Here the decisive requirement is to migrate an object dataset to Cloud Storage, and that outcome is not achieved by this action.

C:

This mechanism is intended to perform stream-window computations. It does not implement the required action to migrate an object dataset to Cloud Storage, even though both are relevant to the same general service.

D:

The technical effect is to aggregate a continuing event stream, not to migrate an object dataset to Cloud Storage; That distinction matters here because the first operation serves build near-real-time telemetry views, rather than the scenario's required result.

E:

The result of this choice would be to fan out events to independent subscribers. The requested outcome, to migrate an object dataset to Cloud Storage, is handled at a different layer or through another operation.

Question 233

Several Compute Engine Linux VMs need a shared POSIX-style file system. Which action is most appropriate?

  1. Evaluate Google Cloud NetApp Volumes
  2. Use Cloud Storage buckets
  3. Evaluate Google Cloud Managed Lustre
  4. Use Filestore with an appropriate performance tier

Explanation

Correct Answer

D:

Filestore supplies managed NFS file shares to supported clients. It is not an object API and supports shared file access semantics.

Incorrect Answers

A:

This choice is useful to provide enterprise managed NAS file services. The stated task is to share a mounted file system across VMs, which requires a different mechanism or permission scope.

B:

It can store and retrieve objects through APIs; however, it does not provide the specific operation to share a mounted file system across VMs. The two controls serve different purposes.

C:

This setting would supply a high-performance parallel file system. That behavior does not establish the requested ability to share a mounted file system across VMs; it addresses an adjacent concern instead.

Question 234

An enterprise workload needs advanced managed NAS features such as supported NFS and SMB sharing. Which solution should be used?

  1. Evaluate Google Cloud Managed Lustre
  2. Use Filestore with an appropriate performance tier
  3. Use Filestore mounted by the eligible Compute Engine clients
  4. Evaluate Google Cloud NetApp Volumes
  5. Use Cloud Storage buckets

Explanation

Correct Answer

D:

NetApp Volumes offers managed file storage with enterprise file-service capabilities. Its file protocols differ from Cloud Storage object operations.

Incorrect Answers

A:

Administrators use it to supply a high-performance parallel file system, rather than to run workloads requiring advanced file sharing. Applying it would change the wrong component of this deployment.

B:

Its purpose is to provide shared NFS file storage. That distinction matters: the scenario calls for an action to run workloads requiring advanced file sharing, not this separate configuration task.

C:

This alternative addresses other managed data infrastructure by allowing a team to provide a mounted NFS file share; The incident, however, requires the different action to run workloads requiring advanced file sharing, so its central configuration remains unchanged.

E:

The result of this choice would be to store and retrieve objects through APIs. The requested outcome, to run workloads requiring advanced file sharing, is handled at a different layer or through another operation.

Question 235

A high-performance computing cluster needs a managed parallel file system optimized for throughput. How should the team proceed?

  1. Use Cloud Storage buckets
  2. Evaluate Google Cloud Managed Lustre
  3. Evaluate Cloud Storage Nearline
  4. Evaluate Google Cloud NetApp Volumes
  5. Use Filestore with an appropriate performance tier

Explanation

Correct Answer

B:

Managed Lustre targets high-throughput shared file access for HPC and AI workloads. A general object bucket does not present the same parallel file system semantics.

Incorrect Answers

A:

The tool can store and retrieve objects through APIs, but it cannot be substituted for the capability needed to support HPC shared file workloads. Its operational effect is not equivalent.

C:

The technical effect is to store data accessed approximately monthly, not to support HPC shared file workloads; That distinction matters here because the first operation serves choose a moderately cold object class, rather than the scenario's required result.

D:

This choice is useful to provide enterprise managed NAS file services. The stated task is to support HPC shared file workloads, which requires a different mechanism or permission scope.

E:

Select this when the goal is to provide shared NFS file storage. Here the decisive requirement is to support HPC shared file workloads, and that outcome is not achieved by this action.

Question 236

A web application stores immutable images and must serve them using object APIs and URLs. What is the most direct solution?

  1. Use Google Cloud Managed Service for Apache Kafka
  2. Evaluate Google Cloud NetApp Volumes
  3. Use Cloud Storage buckets
  4. Use Filestore with an appropriate performance tier
  5. Evaluate Google Cloud Managed Lustre

Explanation

Correct Answer

C:

Cloud Storage stores objects addressed by bucket and object name. It is appropriate for unstructured files accessed through object operations rather than mounted POSIX block semantics.

Incorrect Answers

A:

Choosing this would run managed Kafka-compatible streaming, an appropriate action for event streams and data movement operations; It cannot take the place of the separate step needed to host web image assets in object storage in this specific situation.

B:

This setting would provide enterprise managed NAS file services. That behavior does not establish the requested ability to host web image assets in object storage; it addresses an adjacent concern instead.

D:

While this can provide shared NFS file storage, the present task requires an action to host web image assets in object storage. This operation does not supply the behavior described in the requirements.

E:

Its purpose is to supply a high-performance parallel file system. That distinction matters: the scenario calls for an action to host web image assets in object storage, not this separate configuration task.

Question 237

An actively read dataset has no predictable infrequent-access pattern. What should be configured?

  1. Choose Cloud Storage Standard class
  2. Evaluate Cloud Storage Coldline
  3. Evaluate Cloud Storage Archive
  4. Evaluate Cloud Storage Nearline

Explanation

Correct Answer

A:

Standard storage is designed for frequently accessed data and avoids minimum duration requirements of colder classes. Regional and multi-region placement remain separate choices.

Incorrect Answers

B:

The tool can store rarely accessed backups, but it cannot be substituted for the capability needed to store hot objects without cold-class retrieval tradeoffs. Its operational effect is not equivalent.

C:

This mechanism is intended to store very cold long-lived archives. It does not implement the required action to store hot objects without cold-class retrieval tradeoffs, even though both are relevant to the same general service.

D:

The result of this choice would be to store data accessed approximately monthly. The requested outcome, to store hot objects without cold-class retrieval tradeoffs, is handled at a different layer or through another operation.

Question 238

A disaster recovery archive is expected to be accessed roughly once a month. Which action is most appropriate?

  1. Choose Cloud Storage Standard class
  2. Select the Archive storage class solely to minimize the per-GB storage rate despite monthly restores
  3. Evaluate Cloud Storage Coldline
  4. Evaluate Cloud Storage Archive
  5. Evaluate Cloud Storage Nearline

Explanation

Correct Answer

E:

Nearline is intended for infrequently accessed data and has a shorter minimum storage duration than colder classes. Retrieval and operation charges need consideration.

Incorrect Answers

A:

Using this action would optimize storage for frequent reads, not choose a moderately cold object class. Its function is different from the specific change described in the scenario.

B:

Archive has minimum storage duration and retrieval-related charges that require careful evaluation. Monthly access generally points to Nearline as a more appropriate starting class than an archival tier.

C:

This choice is useful to store rarely accessed backups. The stated task is to choose a moderately cold object class, which requires a different mechanism or permission scope.

D:

This setting would store very cold long-lived archives. That behavior does not establish the requested ability to choose a moderately cold object class; it addresses an adjacent concern instead.

Question 239

A backup vault is normally read only a few times per year. Which solution should be used?

  1. Choose Cloud Storage Standard class
  2. Evaluate Cloud Storage Nearline
  3. Evaluate Cloud Storage Archive
  4. Create a regional Cloud Storage bucket in the required region
  5. Evaluate Cloud Storage Coldline

Explanation

Correct Answer

E:

Coldline targets rare access patterns and has longer minimum duration and retrieval costs than Nearline. It suits data with low expected read frequency.

Incorrect Answers

A:

This mechanism is intended to optimize storage for frequent reads. It does not implement the required action to select a colder backup storage class, even though both are relevant to the same general service.

B:

Administrators use it to store data accessed approximately monthly, rather than to select a colder backup storage class. Applying it would change the wrong component of this deployment.

C:

The result of this choice would be to store very cold long-lived archives. The requested outcome, to select a colder backup storage class, is handled at a different layer or through another operation.

D:

Choosing this would place object storage in one region, an appropriate action for storage location and redundancy operations; It cannot take the place of the separate step needed to select a colder backup storage class in this specific situation.

Question 240

Regulated archival records are expected to sit unused for years. How should the team proceed?

  1. Evaluate Cloud Storage Coldline
  2. Evaluate Cloud Storage Nearline
  3. Choose Cloud SQL with a supported relational engine
  4. Choose Cloud Storage Standard class
  5. Evaluate Cloud Storage Archive

Explanation

Correct Answer

E:

Archive favors very infrequent access with a long minimum storage duration. Restore latency is not the same as an offline tape system, but access charges still apply.

Incorrect Answers

A:

Using this action would store rarely accessed backups, not minimize capacity cost for archival objects. Its function is different from the specific change described in the scenario.

B:

It can store data accessed approximately monthly; however, it does not provide the specific operation to minimize capacity cost for archival objects. The two controls serve different purposes.

C:

This choice is useful to host supported managed relational database engines. The stated task is to minimize capacity cost for archival objects, which requires a different mechanism or permission scope.

D:

The tool can optimize storage for frequent reads, but it cannot be substituted for the capability needed to minimize capacity cost for archival objects. Its operational effect is not equivalent.

Associate Cloud Engineer Practice Tests