Q41 — AWS AIF-C01 Ch.2
Question 41 of 100 | ← Chapter 2
An educational institution is developing a question-and-answer application that uses generative AI models to explain complex concepts. The institution wants the model’s responses to automatically adapt their tone based on the questioner’s identity. The institution will provide the model with the user’s age range. Which solution satisfies these requirements with minimal implementation effort?
- A. Fine-tune the model using additional training data representing all age groups supported by the application.
- B. Add a role description in the prompt context instructing the model which age group to target in its response. ✓
- C. Apply chain-of-thought reasoning to infer the correct tone and complexity level suitable for the user’s response.
- D. Summarize the response text based on the user’s age to deliver more concise replies to younger users.
Correct Answer: B. Add a role description in the prompt context instructing the model which age group to target in its response.
Explanation
To automatically adapt response tone based on user identity with minimal implementation effort, adding a role description in the prompt context explicitly instructing the model to tailor its response to a specific age group is the most direct and efficient method. This approach guides the model to generate appropriately styled and complex responses without requiring extensive retraining or complex inference logic.