Databricks GenAI Engineer: Model Serving Access, Foundation Model APIs, ai_query() and Agent Memory
Model serving on Databricks is how an LLM application becomes a governed, callable endpoint: you control who can call it, how it authenticates to other resources, which Foundation Model API mode backs it, when to run it as batch inference with ai_query() instead, and where it keeps conversation memory. This lesson covers endpoint permissions, secret-backed credentials, manual agent authentication, AI Gateway rate limits, pay-per-token vs provisioned throughput and external models, the OpenAI-compatible client, serving a chain or agent, ai_query() arguments and compute, and persistent memory in Lakebase scoped to the authenticated user.
You’ve read your 2 free Databricks GenAI lessons
Sign up free to read every lesson — your progress is saved.
Source
This lesson covers the "Assembling and Deploying Applications" domain of the official Databricks GenAI exam guide. Vendors revise their guides — check the source for the current version.
Sign up free to mark lessons complete, bookmark topics and track your exam readiness.