
Explanation:
The question asks for a solution with minimal implementation effort. Option A directly configures Cloud Storage to trigger Pub/Sub notifications when objects are modified, which is a built-in feature requiring only configuration. This approach leverages Google Cloud's native integrations, offering the simplest and most efficient solution without the need for custom code or additional services.
Ultimate access to all questions.
No comments yet.
What is the most efficient implementation approach for publishing a message to a Cloud Pub/Sub topic whenever a report is uploaded to a Cloud Storage bucket, requiring minimal development effort?
A
Configure the Cloud Storage bucket to trigger Cloud Pub/Sub notifications when objects are modified.
B
Create an App Engine application to receive the file; when it is received, publish a message to the Cloud Pub/Sub topic.
C
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.
D
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.