
Answer-first summary for fast verification
Answer: Create a script that uses the gsutil command line interface to synchronize the on-premises storage with Cloud Storage. Schedule the script as a cron job.
The correct answer is C. Creating a script that uses the gsutil command line interface to synchronize the on-premises storage with Cloud Storage and scheduling the script as a cron job is a practical solution that meets the hospital's needs. This method ensures that any new medical images are automatically uploaded to Cloud Storage without requiring substantial infrastructure changes or manual intervention. Pub/Sub, as mentioned in option A, is typically used for event-driven architectures and service-to-service communication, which may not be the most straightforward approach for this file synchronization scenario. Furthermore, B and D do not provide an automated or efficient solution for the ongoing synchronization of new files.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
You are employed at a hospital that currently maintains its medical images in an on-premises data room. The hospital is seeking to migrate these images to Cloud Storage for long-term archival purposes. Additionally, they require an automated process to ensure that any new medical images are promptly uploaded to Cloud Storage. Your task is to design and deploy an appropriate solution. What steps should you take?
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
Deploy a Dataflow job from the batch template, 'Datastore to Cloud Storage.' Schedule the batch job on the desired interval.
C
Create a script that uses the gsutil command line interface to synchronize the on-premises storage with Cloud Storage. Schedule the script as a cron job.
D
In the Cloud Console, go to Cloud Storage. Upload the relevant images to the appropriate bucket.