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.
A data analytics team wants to analyze customer feedback stored in BigQuery by using a pretrained Google large language model (LLM) hosted in Vertex AI. To securely query the model from BigQuery SQL without embedding API keys or user passwords in scripts, the team must establish a remote connection.
How should the team configure authentication and access for this remote connection?
A BigQuery Cloud resource connection (also referred to as a remote connection) is a managed Google Cloud resource that allows BigQuery to securely interact with external Google Cloud services, such as Vertex AI foundational large language models (LLMs) and Cloud Functions, directly within SQL queries.
ML.GENERATE_TEXT or ML.PREDICT functions.roles/aiplatform.user) role specifically to the connection's service account in Identity and Access Management (IAM), BigQuery obtains delegated permissions to invoke the remote model without exposing user credentials or static API keys.CREATE OR REPLACE MODEL ... REMOTE WITH CONNECTION directly in standard BigQuery SQL syntax.Using a native Cloud resource connection with IAM service account delegation is the Google-recommended, zero-trust architecture pattern for extending BigQuery capabilities to Vertex AI foundational models.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.