Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam Associate Cloud Engineer topic 1 question 168 discussion

Actual exam question from Google's Associate Cloud Engineer
Question #: 168
Topic #: 1
[All Associate Cloud Engineer Questions]

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. 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.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
TAvenger
Highly Voted 3 years, 1 month ago
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
upvoted 25 times
dunhill
3 years, 1 month ago
I am not sure but the question also mentions that "wants to use Cloud Storage for archival storage of these images". It can create an application that sends all medical images to storage and no need via PubSub?
upvoted 1 times
...
pca2b
3 years ago
Pub/Sub will be good for all future files in in-prem data-storage. we want to sync all + new, so a local on-prem server running a cron job (not GCE CronJob) to run gsutil to transfer files to Cloud Storage would work. I vote for C
upvoted 5 times
yvinisiupacuando
2 years, 11 months ago
Sorry you are wrong, the question clearly indicates "The hospital wants an automated process to upload ANY NEW medical images to Cloud Storage." It does not mention the need to upload the original stock of images, only the new ones. Then I think the right answer must be A, as you said "Pub/sub will be good for all future files in prem data-storage" which is exactly what the questions is pointing to.
upvoted 6 times
gcpengineer
2 years, 9 months ago
ans is C
upvoted 3 times
...
Priyanka109
1 year, 6 months ago
In option C we are using a cron job, not dragging and dropping the images.
upvoted 1 times
...
...
...
...
GCP_Student1
Highly Voted 3 years, 1 month ago
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.
upvoted 21 times
cserra
1 year, 8 months ago
Where does it say that the on-premises images are already digitized? and even if they are, where does it say that we also keep the old images? I think the correct answer is "A"
upvoted 1 times
theBestStudent
1 year, 7 months ago
Tell yo yourself how the images would end up in the pubsub first of all. Also usually the process is in the other way around for pubsub notifications: Once an object lands in GCS the pubsub is notified of it. Option A makes totally nonsense. Check the flow again. From the options the only one that "makes more sense" is Option C
upvoted 6 times
...
...
...
Cynthia2023
Most Recent 3 months, 3 weeks ago
Selected Answer: C
A. Pub/Sub Topic with Cloud Storage Trigger: While Cloud Pub/Sub is great for event-driven architectures, it's not directly applicable for file synchronization scenarios. It would also require substantial modification to the existing infrastructure to send images to Pub/Sub. B. Dataflow Job: Dataflow is a powerful service for stream and batch data processing, but using it solely for file synchronization is overkill. It also requires more setup and maintenance compared to a simple gsutil script. D. Manual Upload in Cloud Console: This is not feasible for an automated process, as it requires manual intervention and isn’t practical for a large number of files.
upvoted 3 times
...
jkim1708
7 months, 1 week ago
Selected Answer: A
I am also for A. Any new data should be send to Cloud Storage. Yes you need to create an application. To send data to pubsub. But for possible migration to cloud you can use the existing setup
upvoted 1 times
...
Captain1212
7 months, 3 weeks ago
Selected Answer: C
C is the right answer as they want the automated process to upload any new medical image
upvoted 1 times
...
respawn
7 months, 4 weeks ago
Selected Answer: C
C is correct. A will not work because pub/sub is meant for service to service communication only: https://cloud.google.com/pubsub/docs/overview#compare_service-to-service_and_service-to-client_communication Yes C option will sync any new images from onprem to cloud.
upvoted 1 times
...
shreykul
9 months, 1 week ago
Selected Answer: A
New images can use Pub/Sub
upvoted 1 times
...
Charumathi
1 year, 6 months ago
Selected Answer: C
C is the correct answer. Keyword, they require cloud storage for archival and the want to automate the process to upload new medical image to cloud storage, hence we go for gsutil to copy on-prem images to cloud storage and automate the process via cron job. whereas Pub/Sub listens to the changes in the Cloud Storage bucket and triggers the pub/sub topic, which is not required.
upvoted 6 times
Naree
9 months, 3 weeks ago
I agree. The requirement is for both history images and future images. So I go with Option "C".
upvoted 1 times
...
...
zolthar_z
1 year, 9 months ago
Selected Answer: C
The Hospital wants Cloud storage for archival of old images and also sync the new images, for this logic the answer is C
upvoted 2 times
...
AzureDP900
1 year, 10 months ago
C is correct
upvoted 1 times
...
jblima
1 year, 12 months ago
Selected Answer: C
C is correct.
upvoted 1 times
...
wael_tn
2 years ago
Selected Answer: C
Discarding (A) because "Cloud Storage trigger". So for option A the triggering event should be making a change in Cloud Storage, while in the real use case, the triggering should be adding a new medical image to the "on-premises data room"
upvoted 4 times
theBestStudent
1 year, 7 months ago
Correct, and on top of that, how are they suppose to connect the on premises to the cloud. Nothing is mentioned. But either way, option A does not make sense at all (as you already explained too). Correct option: C
upvoted 1 times
...
...
somenick
2 years, 1 month ago
Selected Answer: C
I would go with C Not A, don’t think you can send image files to Pub/Sub. Technically you can do so by converting image to some binary text, but then we don’t know the size of the image and there is a limitation on message size. Not recommended. Not B – there is only this template “Datastore to Cloud Storage Text”, as the name implies it is for text, https://cloud.google.com/dataflow/docs/guides/templates/provided-batch#datastore-to-cloud-storage-text, and it reads from datastore which is definitely not where the medical images are stored, from the question “… stores its medical images in an on-premises data room”. Not D – it’s not automated
upvoted 3 times
...
lilapause
2 years, 2 months ago
Selected Answer: C
Pub/Sub could make sense if you ignore the size limit. But the way it is described with the storage trigger would just not be working.
upvoted 1 times
...
exam_war
2 years, 3 months ago
A is correct. The key is automation whenever there is a new image, it needs to upload to cloud storage. Only pub/sub can make the automation work.
upvoted 1 times
...
[Removed]
2 years, 3 months ago
I think A(once the hospital receive the new images Cloud pub/sub will act on it) and C(creating a script with rsync command https://stackoverflow.com/questions/37662416/how-to-sync-a-local-folder-with-a-folder-in-a-google-cloud-platform-bucket) must be the Correct options
upvoted 1 times
...
RealEL40
2 years, 4 months ago
" any new medical images" so "A" using Pub\Sub
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...