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?
Click on the arrows to vote for the correct answer
A. B. C. D.C.
The best answer for this scenario is 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.
Here's why:
Cloud Storage is a good solution for archival storage of medical images, as it provides scalable, durable, and cost-effective storage. However, to automate the process of uploading new medical images to Cloud Storage, you need to use a trigger that will detect new images and upload them automatically.
Option A suggests using Pub/Sub and Cloud Storage triggers to accomplish this. Pub/Sub is a messaging service that decouples senders and receivers of messages, allowing for reliable and scalable asynchronous communication between independent applications. By creating a Pub/Sub topic and enabling a Cloud Storage trigger for that topic, you can automate the process of uploading new medical images to Cloud Storage.
To implement this solution, you would create a Pub/Sub topic and a subscription for that topic. Then, you would create an application that sends all new medical images to the Pub/Sub topic, which would trigger the Cloud Storage trigger and upload the images to the appropriate bucket.
Option B suggests using Dataflow to move data from Datastore to Cloud Storage. However, this option is not suitable for the scenario presented in the question, as there is no mention of using Datastore as a source for the medical images.
Option C suggests using a script that uses the gsutil command line interface to synchronize on-premises storage with Cloud Storage. While this option would work, it is not as automated or reliable as using Pub/Sub and Cloud Storage triggers.
Option D suggests manually uploading the relevant images to the appropriate bucket in Cloud Storage. This option is not automated and would require manual intervention each time a new medical image is created.
In conclusion, the best option for automating the process of uploading new medical images to Cloud Storage is to create a Pub/Sub topic, enable a Cloud Storage trigger for the Pub/Sub topic, and create an application that sends all medical images to the Pub/Sub topic.