Which statement best describes how Eventarc routes events to targets?
Think about how Eventarc connects event sources to services automatically.
Eventarc automatically listens for events from supported sources and routes them to targets like Cloud Run services based on event filters. It does not batch or require manual polling.
You want to design an Eventarc setup that delivers events from multiple regions to a single Cloud Run service in us-central1. Which architecture ensures low latency and reliability?
Consider how Eventarc triggers work regionally and how direct routing affects latency.
Eventarc triggers are regional and listen to events in their region. Creating triggers in each source region that forward events directly to the Cloud Run service in us-central1 reduces latency and avoids extra hops.
You want to ensure Eventarc triggers have the minimum permissions needed to deliver events to a Cloud Run service. Which IAM role should you assign to the Eventarc service account?
Think about the permission needed to invoke a Cloud Run service securely.
The Eventarc service account needs the roles/run.invoker role on the Cloud Run service to invoke it. Assigning broader roles like editor or owner violates least privilege principles.
Given an Eventarc trigger with the filter type=google.cloud.storage.object.v1.finalized, what happens when a new object is created in a Cloud Storage bucket?
Consider what the event type finalized means in Cloud Storage.
The filter matches events when a new object is finalized (created or overwritten) in Cloud Storage. Thus, the trigger activates and routes the event to its target.
You expect a very high volume of events from multiple sources routed to a Cloud Run service via Eventarc. Which approach best optimizes performance and cost?
Think about splitting workload to avoid bottlenecks and reduce costs.
Using multiple triggers with specific filters allows parallel processing and better scaling. A single broad trigger can cause bottlenecks and higher costs. Polling manually or bypassing Eventarc loses managed routing benefits.