Exam AI-901 Topic 1 Question 24 Discussion
Actual exam question for Microsoft's AI-901 exam
Question #: 24
Topic #: 1
Question #: 24
Topic #: 1
You have a Microsoft Foundry project that has a generative AI model deployment.
You need to ensure that responses generated by the model minimize costs and remain within a defined length.
Which parameter should you configure?
You need to ensure that responses generated by the model minimize costs and remain within a defined length.
Which parameter should you configure?
Suggested Answer: B Vote an answer
To minimize cost and keep generated responses within a defined length, configure Max Completion Tokens.
Microsoft's Azure OpenAI / Foundry API reference defines max_completion_tokens as an upper bound for the number of tokens that can be generated for a completion. Because generated tokens contribute to usage and response length, limiting completion tokens helps control both output length and cost.
Temperature and Top P control randomness or sampling behavior, not maximum response length. Model version settings do not directly define the generated response length.
Microsoft's Azure OpenAI / Foundry API reference defines max_completion_tokens as an upper bound for the number of tokens that can be generated for a completion. Because generated tokens contribute to usage and response length, limiting completion tokens helps control both output length and cost.
Temperature and Top P control randomness or sampling behavior, not maximum response length. Model version settings do not directly define the generated response length.
by Erin at Jul 23, 2026, 01:11 PM
0
0
0
10
Comments
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Report Comment
Commenting
You can sign-up / login (it's free).