Question 153 of 284
Single answerYou have created a code snippet that should be triggered whenever a new file is uploaded to a Cloud Storage bucket. You want to deploy this code snippet. What should you do?
AUse App Engine and configure Cloud Scheduler to trigger the application using Pub/Sub.
✓BUse Cloud Functions and configure the bucket as a trigger resource.
CUse Google Kubernetes Engine and configure a CronJob to trigger the application using Pub/Sub.
DUse Dataflow as a batch job, and configure the bucket as a data source.
✓
Correct Answer: B
Use Cloud Functions and configure the bucket as a trigger resource.
▥
Explanation
The correct answer is highlighted above. Review the wording carefully, then use the next question to continue building your understanding of Google certification topics.