nerdexam
DatabricksDatabricks

GENERATIVE-AI-ENGINEER-ASSOCIATE · Question #41

GENERATIVE-AI-ENGINEER-ASSOCIATE Question #41: Real Exam Question with Answer & Explanation

The correct answer is B: REST API via requests library. The REST API accessed via the requests library does not automatically use the current Databricks session credentials when running in an interactive notebook. Authentication must be explicitly handled by the developer, unlike the other SDKs which integrate with the notebook's sess

Interacting with Databricks Foundation Model Endpoints

Question

All of the following are python APIs used to query Databricks foundation models. When running in an interactive notebook, which of the following libraries does not automatically use the current session credentials?

Options

  • AOpenAI client
  • BREST API via requests library
  • CMLflow Deployments SDK
  • DDatabricks Python SDK

Explanation

The REST API accessed via the requests library does not automatically use the current Databricks session credentials when running in an interactive notebook. Authentication must be explicitly handled by the developer, unlike the other SDKs which integrate with the notebook's session context.

Topics

#Databricks APIs#Authentication#Foundation Models#Python Libraries

Community Discussion

No community discussion yet for this question.

Full GENERATIVE-AI-ENGINEER-ASSOCIATE PracticeBrowse All GENERATIVE-AI-ENGINEER-ASSOCIATE Questions