Unlock the power of your data in the cloud! Get hands-on with Google Cloud's core data services like BigQuery and Looker to validate your practical skills in data ingestion, analysis, and management, and earn your Associate Data Practitioner certification!
Prepare and test your skills
Prepare and test your skills
Worked example. The correct answer is already marked and every option is explained below, so there is nothing to select here. To answer questions yourself, start the free trial.
Your team is deploying an event-driven data pipeline in Google Cloud. An Eventarc trigger is configured to listen for state changes in Dataflow jobs and route those events to an internal, authenticated Cloud Run service for automated post-processing.
After creating the trigger, you notice that the Cloud Run service is never triggered, and the trigger logs display the following error message:
The request was not authenticated. Either allow unauthenticated invocations or set the proper Authorization header.
Which Identity and Access Management (IAM) configuration should you implement to resolve this issue securely?
The Cloud Run Invoker (roles/run.invoker) role is a predefined Identity and Access Management (IAM) role in Google Cloud. It provides the specific run.routes.invoke and run.services.invoke permissions required to send HTTP requests to private, authenticated Cloud Run services and jobs.
roles/run.invoker allows this identity to authenticate against the target service.roles/run.invoker directly on the specific Cloud Run service—rather than across the entire project—restricts invocation rights strictly to the target container without granting administrative control.Cloud Run services are deployed private by default. When routing events from services such as Dataflow or Cloud Storage to authenticated Cloud Run targets via Eventarc, binding roles/run.invoker to the trigger's designated service account is the Google-recommended approach for secure, reliable event delivery.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.