When a report file is uploaded to a Cloud Storage bucket, publish a message to Pub/Sub with minimal implementation effort. What do you do?
Choose an answer
Tap an option to check your answer.
Correct answer: Enable Cloud Storage bucket Pub/Sub notifications for object changes..
Why this is the answer
Enabling Cloud Storage bucket Pub/Sub notifications for object changes is the most straightforward and minimal-effort solution. This feature directly integrates Cloud Storage with Pub/Sub, automatically publishing messages to a specified topic whenever objects are created, updated, or deleted in the bucket, without requiring any custom code or additional compute resources. Creating an App Engine app, a Cloud Function, or deploying an application on GKE would all involve writing and deploying custom code, which is more complex and requires more implementation effort than leveraging the built-in notification feature.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed