
DatabricksCertified Generative AI Engineer Associate
Domain 1Objective 1
Design a Prompt That Elicits a Specifically Formatted Response GENERATIVE-AI-ENGINEER-ASSOCIATE Practice Questions (Page 4)
Part of the Section 1: Design Applications domain, which makes up ~19% of our current practice bank. Databricks does not publish an official question count, but from its 90-minute exam (~35–60 total, ~7–11 in this domain), expect 1–2 from this objective — we provide 20 practice questions to prepare you well beyond it. (estimate)
20questions here
4free pages
6concepts
Questions 16–20
- 16
A team is using a foundation model to convert natural-language queries into SQL queries for a Databricks SQL warehouse. The model sometimes returns SQL with extra commentary like 'Here is the query:' or wraps the SQL in markdown code fences. The team wants the output to be only the raw SQL statement. Which approach is most effective?
Select an answer first - 17
A prompt asks the model to return a JSON object with a 'status' field. Which addition most effectively constrains the possible values for that field?
Select an answer first - 18
A company is deploying a model that acts as a customer service assistant. The system prompt contains the formatting rule: 'Always respond in JSON format with fields response and sentiment.' A user asks: 'What is your return policy?' The model responds with a plain-text answer instead of JSON. The team suspects the user prompt is overriding the system prompt. What is the most effective way to ensure the model always responds in JSON, regardless of the user's phrasing?
Select an answer first - 19
After testing a prompt, the model returns a JSON object with an extra field that was not requested. What is the most appropriate next step?
Select an answer first - 20
Which prompt instruction specifies both a field name and its data type for a structured response?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
No more pagesBack to GENERATIVE-AI-ENGINEER-ASSOCIATE
Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by Databricks. “GENERATIVE-AI-ENGINEER-ASSOCIATE” is a trademark of its owner, used for identification only.