AI-901 practice question: Prompts and deploying a model in the Foundry portal (5 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.
A dental clinic network has tested a booking-help chat model in the Foundry playground and has just edited its Instructions.
The developer wants to retest the new Instructions without earlier messages affecting the replies. The developer also wants starter Python code that calls the same deployment.
Which two playground actions should the developer use? (Choose two.)
Choose two answers.
AA. Open the Cost tab to review token usage for the earlier test conversations
BB. Select New chat, which clears the conversation history before the next test
CC. Raise max tokens so that longer earlier replies stay out of the next answer
DD. Select Continue in code, which shows client code for calling the deployment
EE. Add a web search tool so the model checks new facts before each reply
Show the answer and explanation
Answers: B, D
A. Wrong: The Cost tab shows token usage and spending. It helps track cost but neither clears the conversation nor produces client code.
B. Right: Correct. New chat starts a fresh conversation, so earlier messages no longer influence the replies. The developer can then see how the edited Instructions behave on their own. Learn more: Lab: Generative AI and agents (opens in a new tab)
C. Wrong: Max tokens caps the length of each response. It does not remove earlier messages from the conversation or generate any code.
E. Wrong: Web search lets the model use current web results. It does not clear the earlier conversation or give the developer starter code.
Explanation
New chat clears the conversation history, so a retest reflects only the edited Instructions. Continue in code shows client code for the tested deployment, which gives the developer a starting point. Cost, max tokens and web search each serve a different purpose.
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