Microsoft

AI-901 practice question 18

Microsoft Azure AI Fundamentals · free question 18 of 20

Question

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?
  • A. Top P
  • B. Temperature
  • C. Max Completion Tokens Correct
  • D. Model version settings

Explanation

Max Completion Tokens caps the number of tokens a model can generate in its response, directly limiting output length and controlling cost, since billing is based on tokens produced. Top P and Temperature only influence the randomness and diversity of word selection, not how long the response is. Model version settings determine which build of the model runs and do not constrain response length.

Need the theory? Learn it free in the AI-901 course on Godlike Academy

Practice the whole free set

Answer all 20 free AI-901 questions with instant feedback, or unlock all 52 questions with Learn and Exam modes.