Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
Question 10 of 101
Free Preview · 101 of 335 · questions 1–101 of 335 are free. Sign up free to sync your progress across devices.
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
The error is a connection error from the VM itself, not an authentication error. This strongly signals the VM's access scope doesn't include the BigQuery API. Access scopes are set at VM creation time and cannot be changed on a running VM. Creating a new service account with BigQuery access fixes IAM level permissions if VM's access scope doesn't include BigQuery, the connection still fails.
access scope enabled means the vm created with service account access. gcloud compute instances create INSTANCE_NAME --zone=ZONE --service-account=SERVICE_ACCOUNT_EMAIL https://docs.cloud.google.com/bigquery/docs/authentication
B or C both are correct but B is legacy approach & C is the modern one. So go for the latest one.