GCP-ADP Data Pipeline Orchestration Practice Question
In a Cloud Composer DAG, you need to trigger a BigQuery job that runs as a service account other than the one assigned to the GKE nodes. How should you implement this?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Use the 'impersonation_chain' parameter in the BigQueryInsertJobOperator.
Using the 'impersonation_chain' parameter in the BigQueryInsertJobOperator allows the service account running the task to impersonate a different service account.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Hardcode the credentials in a JSON file inside the DAG folder.
Why it's wrong here
Hardcoding credentials is a security risk and is not supported.
- ✓
Use the 'impersonation_chain' parameter in the BigQueryInsertJobOperator.
Why this is correct
This is the secure way to perform service account impersonation in Airflow operators.
- ✗
Change the worker node's identity in the Cloud Console.
Why it's wrong here
This changes the identity for the entire environment, not just one task.
- ✗
Configure a connection with the 'Service Account Key' type in Airflow UI.
Why it's wrong here
Service account keys are discouraged; impersonation is the preferred method.
About these practice questions
One of 205 original GCP-ADP practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed August 2026 · checked against the official Google Cloud exam blueprint
This GCP-ADP practice question is part of Courseiva's free Google Cloud certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the GCP-ADP exam.