QuestionQ29

Deploying and implementing a cloud solution

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?

  • A Create a Pub/Sub topic, and enable a Cloud Storage trigger for the Pub/Sub topic. Create an application that sends all medical images to the Pub/Sub topic.
  • B Create a script that uses the gcloud storage command to synchronize the on-premises storage with Cloud Storage, Schedule the script as a cron job.
  • C Create a Pub/Sub topic, and create a Cloud Function connected to the topic that writes data to Cloud Storage. Create an application that sends all medical images to the Pub/Sub topic.
  • D In the Google Cloud console, go to Cloud Storage. Upload the relevant images to the appropriate bucket.
Explanation

A script using gcloud storage sync to synchronize on-premises storage with Cloud Storage, scheduled as a cron job, provides a straightforward and reliable automation method for continuous uploads. This approach is well-established for on-premises-to-cloud synchronization. Pub/Sub solutions (A, C) add unnecessary complexity; manual uploads (D) are not automated.

Community Discussion

No comments yet. Be the first to start the discussion!