Google Cloud Professional Cloud Developer — Question 61

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?

Answer options

Correct answer: A

Explanation

The correct answer, A, is effective because it directly links Cloud Storage modifications to Cloud Pub/Sub notifications with minimal setup. Options B, C, and D involve creating additional applications or services that add unnecessary complexity and effort to the process.