CertLumen

Databricks Generative AI Engineer Associate · Section 1 · 14% of the exam

Design a prompt that elicits a specifically formatted response

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…); use ai_query for custom prompts or a specific model.

Try a question

Regional sales managers want to type questions such as 'What were Q3 bookings by product line in EMEA?' and get figures computed from governed revenue tables in Unity Catalog. Which description of the pipeline's input, output and shape fits this goal?

  1. AInput: monthly PDF sales reports. Output: an answer generated from an AI Search index built over the report PDFs.
  2. BInput: the manager's natural-language question. Output: a SQL query result over the governed tables, from a Genie Agent.
  3. CInput: the manager's question. Output: an answer from a chat model that is fine-tuned each month on rows of the revenue tables.
  4. DInput: a product line name. Output: an ai_summarize paragraph generated from every row of the revenue table.
Show the answer

B. The knowledge lives in governed tables and the answer is an aggregate, so the pipeline is text-to-SQL: the input is a natural-language question and the output is a query result (a table or chart) computed when the question is asked. A Genie Agent (formerly Genie space) does this over curated Unity Catalog tables and applies each user's own permissions.

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

All 56 objectives · Next objective →