Databricks Generative AI Engineer Associate · Section 3 · 30% of the exam
Enable multi-agent systems to leverage Genie Spaces or conversational API to retrieve data
One of the objectives of the Databricks Certified Generative AI Engineer Associate exam, in the section “Application Development”. Here is what it covers, the points to remember and a question to try.
What it covers
An agent built in code is traced, logged with its resources, registered in Unity Catalog, evaluated and deployed with MLflow and Mosaic AI Agent Framework. A multi-agent system hands structured-data questions to a Genie Agent (formerly Genie space) through GenieAgent, the Conversation API or an MCP server. This lesson covers the workflow the exam tests and the October 2026 replacements.
Points to remember
- Databricks recommends MLflow
ResponsesAgent: implementpredict(and optionallypredict_stream); helpers includecreate_text_output_item;ChatAgentis older but supported. - Models from code: the agent file calls
mlflow.models.set_model(); log withmlflow.pyfunc.log_model(python_model="agent.py", resources=[...]). - Register in Unity Catalog with
mlflow.set_registry_uri("databricks-uc")andmlflow.register_modelbeforeagents.deploy(). agents.deploy()creates the serving endpoint, scoped short-lived credentials, the Review App, real-time tracing to the experiment and inference tables, and monitoring (Beta).- Auth: automatic passthrough via declared resources; on-behalf-of-user (Public Preview) for per-user permissions; manual credentials via secrets.
Try a question
A supervisor agent sends metric questions to a Genie Agent over the sales tables. Finance reports that 'How many active customers did we have in Q2?' returns a count of all customer rows, while finance defines an active customer as one with at least one paid order in the previous 90 days. Analysts who ask the Genie Agent directly get the same wrong count. Which fix addresses the root cause?
- AEncode the definition in the Genie Agent: add a tested example SQL query or SQL function for active customers, with a note on the term
- BAdd the definition to the supervisor's system prompt so that it explains the term to Genie in every call
- CAdd the question and its correct SQL as a benchmark in the Genie Agent so that Genie uses it in later answers
- DReplace the Genie worker with a retriever over AI Search that indexes the sales tables as text chunks
Show the answer
A. Genie knows only the tables, instructions and example SQL its author has added, and the wrong count appears even without the supervisor, so the gap is in the Genie Agent's own context. Example SQL queries and SQL functions (trusted assets) that implement the business definition are the most reliable fix, with text instructions as a supplement. Benchmarks are for evaluation only; Genie doesn't use them to improve its answers.
Written for practice in the style of the exam: never a question from the real exam.
In the course
The lesson Agentic systems with MLflow, Agent Framework and Genie teaches this objective (about 55 minutes), and 13 practice questions test it. The course has lessons, exam-style questions, timed practice exams and an AI tutor for every objective, and a pass prediction that tells you when you're ready to book.
More in this section
- Select Langchain/similar tools for use in a Generative AI application
- Qualitatively assess responses to identify common issues such as quality and safety
- Select chunking strategy based on model & retrieval evaluation
- Augment a prompt with additional context from a user's input based on key fields, terms, and intents
- Create a prompt that adjusts an LLM's response from a baseline to a desired output
- Implement LLM guardrails to prevent negative outcomes
- Select the best LLM based on the attributes of the application to be developed
- Select an embedding model context length based on source documents, expected queries, and optimization strategy
- Select a model from a model hub or marketplace for a task based on model metadata/model cards
- Select the best model for a given task based on common metrics generated in experiments
- Utilize MLflow and Agent Framework for developing agentic systems
- Compare the evaluation and monitoring phases of the Gen AI application life cycle