Databricks conceptsDatabricks Certified Generative AI Engineer AssociatePrompt engineering
Generative AI Engineer Associate: design applications
What the Generative AI Engineer Associate exam asks about designing apps: prompts and versions, RAG chain components, AI Functions and structured outputs.
3 min read
A RAG chain's prompt augmentation step combines the user query with retrieved information and instructions. And prompt versions in the Prompt Registry cannot be edited once created.
01 What does the exam test about designing applications?
A question asks which model task fits condensing a paragraph into one sentence, and two answers look close. That one is summarization. This domain covers prompt design, RAG chain components, and AI Functions and structured outputs.
What the exam asks about each main objective
- Design the promptText or Chat type, template variables, versions and aliases
- Pick the chain componentsQuery understanding, prompt augmentation, guardrails
- Match the task to a toolTask-specific AI Functions or ai_query, structured outputs
How design compares with the other domains
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 'How design compares with the other domains' graphic as a PNG image PNG for LinkedIn or Pinterest
Name the task first; the tool follows from it.
02 How are prompts versioned and compared?
Prompt Registry templates use double braces, as in {{name}}. Registering an existing prompt name creates a new version. Versions are immutable; aliases are mutable pointers to them.
The Compare button shows only a text diff. To see which version answers better, evaluate both on the same dataset.
To edit a prompt, create a new version; aliases are mutable pointers.
03 Which chain components and functions fit the task?
Task-specific AI Functions versus ai_query
Task-specific functions
- ai_summarize, ai_classify, ai_mask
- No customization needed
ai_query
- Your own prompt
- Any supported Foundation Model API
Query understanding extracts filters or keywords, and guardrails keep answers on topic. With several LLM steps, a cheaper model can detect intent. AI Functions need Databricks Runtime 15.4 LTS or above.
AI Functions do not run on Classic SQL warehouses.
04 How do you get output in a fixed shape?
Structured outputs use a response_format field, the same for every provider. A JSON schema holds at most 64 keys.
Then check what stuck. MockCert is independent, and its quizzes on this exam are free with no account, each answer explained at once.
Claude models accept json_schema, not json_object.
Summary
- Condensing text to one sentence is a summarization task.
- Prompt versions are immutable; aliases point to them.
- Compare prompt versions with evaluations on the same data.
- A structured output schema holds at most 64 keys.
Sources
- Improve RAG chain quality | Databricks on AWS (opens in a new tab)
- Create and edit prompts | Databricks on AWS (opens in a new tab)
- Databricks Exam Guide Databricks Certified Generative AI Engineer Associate (opens in a new tab)
- Prompt Registry | Databricks on AWS (opens in a new tab)
- Evaluate and compare prompt versions | Databricks on AWS (opens in a new tab)
- Transform unstructured data using AI Functions | Databricks on AWS (opens in a new tab)
- Structured outputs on Databricks | Databricks on AWS (opens in a new tab)
- MockCert: free study guides, quizzes and mock exams