Topic 1 Question 74
Your company has created an application that uploads a report to a Cloud Storage bucket. When the report is uploaded to the bucket, you want to publish a message to a Cloud Pub/Sub topic. You want to implement a solution that will take a small amount to effort to implement. What should you do?
Configure the Cloud Storage bucket to trigger Cloud Pub/Sub notifications when objects are modified.
Create an App Engine application to receive the file; when it is received, publish a message to the Cloud Pub/Sub topic.
Create a Cloud Function that is triggered by the Cloud Storage bucket. In the Cloud Function, publish a message to the Cloud Pub/Sub topic.
Create an application deployed in a Google Kubernetes Engine cluster to receive the file; when it is received, publish a message to the Cloud Pub/Sub topic.
ユーザの投票
コメント(9)
Since one of reqs is "You want to implement a solution that will take a small amount to effort to implement" I'd choose A because no code has to be written. However option C works great as well and is recommended by https://cloud.google.com/storage/docs/pubsub-notifications#other_notification_options.
👍 15donchick2020/12/21Option-A required least amount of effort to implement. https://cloud.google.com/storage/docs/reporting-changes#enabling
👍 4StelSen2021/02/19- 正解だと思う選択肢: A
Answer A takes least effort to implement the solution
👍 3ParagSanyashiv2022/01/08
シャッフルモード