Home / GenAI Engineer practice test / Data Preparation / Question

Databricks Generative AI Engineer Associate · free practice question

A machine learning engineer is curating examples for either fine-tuning or few-shot instruction for a RAG-based summarization application. This system is…

Exam-style question on Data Preparation from the free GenAI Engineer practice test, with the answer and a full explanation below.

Updated November 11, 2026

Data Preparation

A machine learning engineer is curating examples for either fine-tuning or few-shot instruction for a RAG-based summarization application. This system is designed to take 3-5 segments of text and produce a brief, coherent summary that addresses a user's inquiry by integrating relevant details. From the potential prompt-response samples below, which one is most suitable for training this specific model capability?

  1. APrompt: a short factual question, 'What is the capital city of France?', with no context segments supplied. Response: the one-word answer 'Paris.'
  2. BPrompt: the bare keywords 'Drug Y stomach upset drowsiness kidney damage' with no question or instruction. Response: the two-word label 'Adverse reactions.'
  3. CPrompt: an instruction to translate the sentence 'The individual reported negative reactions' from English into French. Response: the French translation of that sentence.
  4. DPrompt: a request for a thorough five-paragraph essay on the evolution of drug regulatory policy in the United States. Response: the full multi-paragraph essay.
  5. EPrompt: a user question on Drug Y's adverse reactions, three labeled text segments, and an instruction to summarize from them. Response: one short paragraph combining the segments.
Answer & explanation

Correct answer: E

WHY E: A training or few-shot example should mirror what the model sees at inference: a user question, several retrieved segments, and an instruction to stay within them, answered by one concise paragraph that combines the segments. This pair teaches exactly that context-grounded synthesis.

WHY NOT A: A closed-book factual pair trains the model to answer from its own parametric knowledge, which is the opposite of summarizing from supplied text segments. It contains no context and no synthesis.

WHY NOT B: Keyword input with a label output is a classification-style pair. It does not teach fluent paragraph generation, grounding in context, or combining several segments.

WHY NOT C: Translation is a sentence-to-sentence rewrite task, not multi-segment synthesis. Including it dilutes the task focus and can confuse the model about the expected output format.

WHY NOT D: Long essay pairs teach verbose, multi-paragraph output with no supplied context, which pulls the model away from the brief, grounded summary the application needs.

Take the full GenAI Engineer practice test free →

Would you pass today?

This question is one of 45 in the free, timed Databricks Generative AI Engineer Associate practice test. Take it and get a section-by-section score.

Start the free test →