Exam AI-901 Topic 1 Question 24 Discussion

Actual exam question for Microsoft's AI-901 exam
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?

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.

by Erin at Jul 23, 2026, 01:11 PM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
A voting comment increases the vote count for the chosen answer by one.

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.

0
0
0
10