GCP ACE · Question 25 · Domain 3.3: Deploying and implementing Cloud Run and Cloud Functions
You are writing a Cloud Function in Node.js that needs to execute every time a new file is uploaded to a specific Cloud Storage bucket.
How should you configure the trigger for this Cloud Function?
Answer options:
Configure an HTTP trigger and configure Cloud Storage to send a webhook.
Configure a Cloud Storage trigger using the 'google.storage.object.finalize' event.
Configure a Pub/Sub trigger and poll the bucket every minute.
Configure a Cloud Storage trigger using the 'google.storage.object.create' event.
50 questions · hints · full answers · grading