A CI job publishes a new predictive-model release every Tuesday. The security Cloud Function should run immediately after each release on that weekly cadence. How do you wire the trigger?
Choose an answer
Tap an option to check your answer.
Correct answer: Configure the deployment job to notify a Pub/Sub topic that triggers a Cloud Function..
Why this is the answer
The correct approach is to configure the deployment job to publish a message to a Pub/Sub topic, which then triggers the Cloud Function. This creates a direct, event-driven workflow where the function executes immediately upon the new model release. Pub/Sub is designed for asynchronous messaging and event ingestion, making it ideal for decoupling the deployment process from the security function's execution. Cloud Tasks is for scheduling or queueing tasks, not directly for immediate, event-driven triggers from a CI job. Cloud Logging sinks are for exporting logs, not for initiating actions based on a deployment event. IAM and Confidential Computing are security and compute isolation features, not mechanisms for triggering functions based on deployment events.
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