Topic 1 Question 168
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?
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.
Deploy a Dataflow job from the batch template, ג€Datastore to Cloud Storage.ג€ Schedule the batch job on the desired interval.
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.
In the Cloud Console, go to Cloud Storage. Upload the relevant images to the appropriate bucket.
ユーザの投票
コメント(17)
From the question the key point is "upload ANY NEW medical images to Cloud Storage". So we are not interested in old images. That's why we need some trigger that will upload images. I think option "A" with PubSub is the best
👍 20TAvenger2021/03/14C. 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.
👍 20GCP_Student12021/03/14I would go with C.
Here is my rationale for excluding option A. Pub/Sub accepts a maximum of 1,000 messages in a batch, and the size of a batch can not exceed 10 megabytes. A single CT scan can be 35 MB, so unless we chunk it up in many smaller pieces and publish them as smaller messages, using a Pub/Sub topic is not a viable alternative.
👍 11jackdbd2021/07/26
シャッフルモード