
Answer-first summary for fast verification
Answer: 1. Develop a script that uses the gcloud storage command to sync the on-premises storage with Cloud Storage. 2. Schedule this script to run automatically as a cron job.
Option A is correct because it outlines a method to automatically synchronize the on-premises storage with Cloud Storage using a script that can be scheduled to run at regular intervals via a cron job. This ensures that any new images added to the on-premises storage are automatically uploaded to Cloud Storage without manual intervention. Options B and C involve creating a Pub/Sub topic and developing an application to send images to the topic, but lack specific implementation details, making them incomplete solutions. Option D is incorrect as it requires manual uploading of images, which does not meet the requirement for automation. For more information, refer to the following links: [Google Cloud Storage](https://cloud.google.com/storage), [Google Pub/Sub](https://cloud.google.com/pubsub), [Google Cloud Functions](https://cloud.google.com/functions).
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
Your E-commerce website currently stores images in the server’s local file system. You are considering using Google Cloud Storage as an archive for these images. Which of the following solutions allows for the automatic upload of all newly created images to Google Cloud without manual intervention?
A
B
C
D
No comments yet.