Databricks conceptsDatabricks Certified Generative AI Engineer AssociateRAG
Assembling and deploying apps: Generative AI Engineer exam
What the Generative AI Engineer Associate exam asks about assembling RAG chains, choosing AI Search indexes, tracing with MLflow and serving custom code.
3 min read
A RAG chain retrieves information for a query and grounds its answer on it. Yet a Direct Vector Access Index cannot even be created in the UI, the kind of detail that decides a question.
01 What does the exam test about assembling and deploying applications?
You open a mock question on a RAG chain, and every option names a real Databricks feature. To tell them apart, know how the chain understands, retrieves and augments, which index feeds it and who may query it, and how you trace and serve it.
What the exam asks about each main objective
- Assemble the chainQuery understanding, retrieval and prompt augmentation
- Build and query the indexIndex type, sync mode and query privileges
- Trace and serveMLflow autologging and pyfunc models
Where this domain sits in the exam
The whole exam: 45 questions
- 1Design Applications14%about 6 questions
- 2Data Preparation14%about 6 questions
- 3Application Development30%about 14 questions
- 4Assembling and Deploying Applications22%about 10 questions
- 5Governance8%about 4 questions
- 6Evaluation and Monitoring12%about 5 questions
Save the 'Where this domain sits in the exam' graphic as a PNG image PNG for LinkedIn or Pinterest
Know each step of the chain and the Databricks feature behind it.
02 How is a RAG chain put together?
Query understanding transforms the user query to better represent intent. The retrieval query is then embedded with the same model used for the document chunks.
The prompt then combines the query with the retrieved context in a template. With several LLM steps, a cheaper model can handle intent detection.
Query and chunks must share one embedding model.
03 Which AI Search index and sync mode fit?
Delta Sync Index versus Direct Vector Access Index
Delta Sync Index
- Syncs incrementally from a source table
- Continuous or Triggered sync
Direct Vector Access Index
- Updated through the REST API or Python SDK
- Cannot be created in the UI
Continuous sync keeps the index seconds behind but costs more. Storage-optimized endpoints support only Triggered sync.
Queries default to ann; query_type hybrid returns at most 200 results by default. Querying needs USE CATALOG, USE SCHEMA and SELECT on the index.
Continuous sync buys freshness at a higher cost.
04 How do you trace and serve the chain?
Calling mlflow.langchain.autolog() logs nested traces for each chain call. A custom pyfunc model loads once in load_context and runs predict on every request.
A custom embedding model is logged with MLflow as a custom Python model. Then test yourself: MockCert is independent, and its quiz questions show each explanation at once, free with no account.
On serverless, tracing starts only when you call autolog.
Summary
- Delta Sync follows a source table; Direct Vector Access is written through the API or SDK.
- Hybrid queries return at most 200 results by default.
- Retrieval embeds the query with the chunks' embedding model.
Sources
- Improve RAG chain quality | Databricks on AWS (opens in a new tab)
- Create AI Search endpoints and indexes | Databricks on AWS (opens in a new tab)
- Tracing LangChain | Databricks on AWS (opens in a new tab)
- RAG chain for inference | Databricks on AWS (opens in a new tab)
- Query an AI Search index | Databricks on AWS (opens in a new tab)
- Deploy Python code with Model Serving | Databricks on AWS (opens in a new tab)
- Use a custom embedding model with AI Search | Databricks on AWS (opens in a new tab)
- MockCert: free study guides, quizzes and mock exams