Home / GenAI Engineer practice test / Application Development / Question

Databricks Generative AI Engineer Associate · free practice question

A user submits the message: 'I require assistance with my order from last Tuesday, #98234, as it hasn't reached me.' To prepare this for a Large Language Model…

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

Updated November 11, 2026

Application Development

A user submits the message: 'I require assistance with my order from last Tuesday, #98234, as it hasn't reached me.' To prepare this for a Large Language Model (LLM), the application needs to infuse pertinent order information into the prompt. What is the OPTIMAL method for augmenting the context for such an input?

  1. AForward the user's unedited message as the prompt and let the LLM infer the order specifics from the text itself.
  2. BDesign a prompt template with a fixed sample order and direct the model to presume the same status for the user's order.
  3. CFetch the five most recently discussed order problems from a vector database and embed them in the prompt as few-shot examples.
  4. DParse out the order ID, date and reported problem, look up order #98234 in the order management system, and add the returned status to the prompt.
Answer & explanation

Correct answer: D

WHY D is correct: Effective prompt augmentation starts by identifying key fields and intents from the user input (order ID, issue type, date reference), then retrieving dynamic user-specific data from authoritative systems and injecting that real-time context into the prompt. This grounds the LLM's response in accurate, current information rather than general parametric knowledge.

WHY NOT A: Passing the raw message without augmentation forces the LLM to answer from training knowledge alone. It cannot access live order status data, so responses will be generic and potentially fabricated.

WHY NOT C: Retrieving similar past order issues introduces unrelated prior cases. The user's specific order #98234 may differ entirely from the retrieved examples, leading to an irrelevant or misleading response.

WHY NOT B: Static example order data does not reflect the real status of the user's specific order. Assuming uniform status across all orders would produce factually incorrect answers for customers.

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 →