nerdexam
GoogleGoogle

ASSOCIATE-CLOUD-ENGINEER · Question #273

ASSOCIATE-CLOUD-ENGINEER Question #273: Real Exam Question with Answer & Explanation

The correct answer is B: Create a script that uses the gcloud storage command to synchronize the on-premises storage. To automate the upload of new medical images from on-premises storage to Cloud Storage for archival, a script utilizing gcloud storage rsync (or gsutil rsync) is the most suitable solution for efficient synchronization.

Submitted by kim_seoul· Mar 30, 2026

Question

You are working for a hospital that stores its medical images in an on-premises data room. The hospital wants to use Cloud Storage for archival storage of these images. The hospital wants an automated process to upload any new medical images to Cloud Storage. You need to design and implement a solution. What should you do?

Options

  • ACreate a Pub/Sub topic, and enable a Cloud Storage trigger for the Pub/Sub topic. Create an
  • BCreate a script that uses the gcloud storage command to synchronize the on-premises storage
  • CCreate a Pub/Sub topic, and create a Cloud Function connected to the topic that writes data to
  • DIn the Google Cloud console, go to Cloud Storage. Upload the relevant images to the appropriate

Explanation

To automate the upload of new medical images from on-premises storage to Cloud Storage for archival, a script utilizing gcloud storage rsync (or gsutil rsync) is the most suitable solution for efficient synchronization.

Common mistakes.

  • A. A Pub/Sub topic with a Cloud Storage trigger is designed to react to events within Cloud Storage (e.g., object creation), not to initiate uploads from on-premises to Cloud Storage.
  • C. While a Cloud Function can write data to Cloud Storage, triggering it via Pub/Sub would still require an on-premises mechanism to publish messages for each new file, making a direct synchronization tool more appropriate.
  • D. Manually uploading files through the Google Cloud console does not meet the requirement for an 'automated process'.

Concept tested. Data transfer from on-premises to Cloud Storage

Reference. https://cloud.google.com/storage/docs/gsutil/commands/rsync

Community Discussion

No community discussion yet for this question.

Full ASSOCIATE-CLOUD-ENGINEER PracticeBrowse All ASSOCIATE-CLOUD-ENGINEER Questions