Skip to content
GAIEA
Application Development
medium
Question 4 of 60

A developer wants to query a Databricks-hosted foundation model using the OpenAI Python client after installing databricks-openai. Which client configuration is correct?

ASet api_key to a Databricks token and base_url to the workspace's serving endpoints URL.
BSet api_key to an OpenAI API key and base_url to https://api.openai.com/v1.
CSet api_key to a Databricks token only; no base_url is needed since the client auto-detects Databricks.
DSet organization to the Databricks workspace ID and use the default OpenAI endpoints.

Educational Content — CertQnA practice questions are written against official exam objectives, covering the same domains tested on the real exam. All content is original and independent — not actual exam questions, not affiliated with any certification vendor. Learn more about our content policy

Discussion

Be the first to share your understanding of this concept

⚠️ Discussion is for concept clarification only. Do not share or request actual exam questions or answers.

Sign in to join the discussion