Databricks Generative AI Engineer Associate · Section 1 · 14% of the exam
Translate business use case goals into a description of the desired inputs and outputs for the AI pipeline
One of the objectives of the Databricks Certified Generative AI Engineer Associate exam, in the section “Design Applications”. Here is what it covers, the points to remember and a question to try.
What it covers
Turn a business goal into a precise contract of inputs and outputs, choose the model task that fits it, and write prompts (backed by structured outputs) that return exactly the format your downstream code expects.
Points to remember
- Write the contract first: input, output, consumer, knowledge source, latency/volume constraints and success metric.
- Per-record facts (delivery date for a
transaction_id) need a structured lookup keyed by the ID, not a vector store or fine-tuning. - Batch backlogs map to AI Functions in SQL; chats and in-app requests map to real-time endpoints.
- Map requirements to the most specific task: classification, extraction, summarization, translation, sentiment, masking, embeddings, generation.
- Use task-specific AI Functions first (
ai_classify,ai_extract,ai_summarize…); useai_queryfor custom prompts or a specific model.
Try a question
A catalog service asks databricks-meta-llama-3-3-70b-instruct on Foundation Model APIs to extract product attributes from supplier descriptions. The attribute names differ by category (a drill has voltage and chuck size, a sofa has fabric and seat depth) and are not known before each call. The result is stored in a VARIANT column, so it only has to be valid JSON. Which response_format setting fits?
- A
{"type": "text"}, with 'reply in JSON' added to the system prompt - B
{"type": "json_schema"}with one schema that lists every attribute any category could have - CNo
response_format; settool_choicetononeso that the model answers in a single message - D
{"type": "json_object"}, so every response is valid JSON whatever keys the model chooses
Show the answer
D. json_object guarantees syntactically valid JSON without fixing the keys, which is the documented choice when the schema is not known in advance. json_schema is for a known, fixed structure: a schema that tried to enumerate every attribute of every category would exceed what structured outputs allow (at most 64 keys) and would still force irrelevant keys onto every product.
Written for practice in the style of the exam: never a question from the real exam.
In the course
The lesson From Use Case to Prompt: Inputs, Outputs, Tasks and Formats teaches this objective (about 40 minutes), and 17 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
- Design a prompt that elicits a specifically formatted response
- Select model tasks to accomplish a given business requirement
- Select chain components for a desired model input and output
- Define and order tools that gather knowledge or take actions for multi-stage reasoning
- Determine how and when to use Agent Bricks (Knowledge Assistant, Multiagent Supervisor, Information Extraction) to solve problems