GCP-ADP Data Analysis And Presentation Practice Question
A data analyst is working in a Vertex AI Workbench notebook. They want to connect to a private BigQuery dataset. How should they authenticate?
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
✓
The instance's attached service account will handle authentication automatically.
Vertex AI Workbench notebooks automatically handle authentication using the instance's 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.
- ✗
Enter your username and password in every query.
Why it's wrong here
BigQuery does not use username/password authentication.
- ✗
Hardcode the service account key in the notebook.
Why it's wrong here
Hardcoding keys is a security risk.
- ✓
The instance's attached service account will handle authentication automatically.
Why this is correct
Google Cloud handles authentication via service account scopes for managed notebooks.
- ✗
Use the 'gcloud auth login' command in every cell.
Why it's wrong here
This is not required; the environment is pre-authenticated.
About these practice questions
This GCP-ADP question is part of Courseiva's 205-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. 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.