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?

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.