AI-901 practice question: Prompts and deploying a model in the Foundry portal (4 of 5)
Implement AI solutions by using Microsoft Foundry A free question from our original AI-901 practice exam. Try it, then open the answer to see why each option is right or wrong.
An online pet-supply retailer uses a chat model to draft product descriptions. The marketing lead wants each description to read almost the same every time it is regenerated.
Every description must still be complete sentences, not cut off partway through. The model accepts temperature and top_p settings.
Which change best meets these requirements?
Choose one answer.
AA. Raise the temperature to about 1.2 and leave top_p at its default value
BB. Lower the temperature to about 0.2 and leave top_p at its default value
CC. Lower max tokens to 40 so each description is short and always identical
DD. Turn on web search so each draft is checked against the latest product pages
Show the answer and explanation
Answer: B
A. Wrong: A higher temperature increases randomness, so each regenerated description would vary more, not less. It moves the wording in the opposite direction from what the marketing lead wants.
B. Right: Correct. A low temperature makes the model favor its most likely words, which gives focused and repeatable wording. Adjusting one setting at a time keeps the result predictable.
C. Wrong: Max tokens only caps the response length, so long descriptions would be cut off mid-sentence. It does not make the wording repeat.
D. Wrong: Web search brings in outside pages, which changes the content of each draft. It does not control how predictably the model chooses its words.
Explanation
Repeatable wording comes mainly from the sampling settings, and a lower temperature is the setting to change. Microsoft's guidance is to change temperature or top_p, not both. Max tokens only truncates output, which would cut descriptions off.
Want more on Prompts and deploying a model in the Foundry portal? The 5 full-length practice sets have 25 more Prompts and deploying a model in the Foundry portal questions, 225 in all, none of them in the free exam. One payment of $9.99 $6.99, no subscription. Get the practice sets →
✓ Every exam starts with free questions. No account needed.
Can we use Google Analytics cookies to see which pages help people? No ads, and we never sell data. Privacy