nerdexam
Amazon

AIF-C01 · Question #42

An education provider is building a question and answer application that uses a generative AI model to explain complex concepts. The education provider wants to automatically change the style of the…

The correct answer is B. Add a role description to the prompt context that instructs the model of the age range that the. Adding a role description to the prompt context is a straightforward way to instruct the generative AI model to adjust its response style based on the user's age range. This method requires minimal implementation effort as it does not involve additional training or complex logic.

Submitted by obi.ng· Mar 30, 2026Prompt Engineering

Question

An education provider is building a question and answer application that uses a generative AI model to explain complex concepts. The education provider wants to automatically change the style of the model response depending on who is asking the question. The education provider will give the model the age range of the user who has asked the question. Which solution meets these requirements with the LEAST implementation effort?

Options

  • AFine-tune the model by using additional training data that is representative of the various age
  • BAdd a role description to the prompt context that instructs the model of the age range that the
  • CUse chain-of-thought reasoning to deduce the correct style and complexity for a response
  • DSummarize the response text depending on the age of the user so that younger users receive

How the community answered

(25 responses)
  • A
    12% (3)
  • B
    76% (19)
  • C
    8% (2)
  • D
    4% (1)

Explanation

Adding a role description to the prompt context is a straightforward way to instruct the generative AI model to adjust its response style based on the user's age range. This method requires minimal implementation effort as it does not involve additional training or complex logic.

Topics

#Generative AI#Prompt engineering#Model output control#Contextual prompting

Community Discussion

No community discussion yet for this question.

Full AIF-C01 Practice