Microsoft Azure AI Engineer Associate AI-102 Practice Question

When using Azure AI Foundry, you configure a GPT-4 deployment in Azure OpenAI to produce contract summaries. The summaries must be repeatable so that each time the same prompt is sent the model returns the same text. You are allowed to generate up to 300 tokens. Which parameter configuration should you apply to minimize randomness while still allowing the model to return the full summary?

  • temperature: 0, top_p: 1.0, max_tokens: 300

  • temperature: 0.7, top_p: 0.9, max_tokens: 300

  • temperature: 0.2, presence_penalty: 0.5, max_tokens: 300

  • temperature: 1.0, top_p: 0.05, max_tokens: 300

Microsoft Azure AI Engineer Associate AI-102
Implement generative AI solutions
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot