AI-200 practice question · Connect to and Consume Azure Services
A multilingual customer support chatbot built on an Azure OpenAI chat deployment often answers in English, even when a…
A multilingual customer support chatbot built on an Azure OpenAI chat deployment often answers in English, even when a user writes in French or Japanese. The team wants the model to reply consistently in the language of the user's latest message. What should they change?
- AAdd an instruction to the system message telling the model to reply in the language of the user's latest message
- BSet temperature to 0 so the model's responses become more deterministic and consistent across conversation turns
- CIncrease frequency_penalty so the model is discouraged from reusing English tokens it has already generated
- DPass the user's browser locale in the request's user parameter so the model can detect which language to use
Show the answer and explanation
Correct answer: A) Add an instruction to the system message telling the model to reply in the language of the user's latest message
Behavior such as reply language is set through instructions in the system message. Sampling and request parameters like temperature, frequency_penalty and user don't tell the model which language to use.
Why each option is right or wrong
- A) Correct. The system message is the highest-level set of instructions in the conversation and steers the model's behavior, tone and output. An explicit, unambiguous instruction about response language is the direct way to get consistent behavior.
- B) Incorrect. Temperature controls how random the sampling is. Lower values make output more focused and deterministic, but they don't tell the model which language to use, so it can still reply in English every time.
- C) Incorrect. frequency_penalty lowers the chance of repeating tokens based on how often they've already appeared, which reduces repetition. It doesn't target a language and doesn't make the model switch to the user's language.
- D) Incorrect. The user parameter is a unique identifier for the end user that helps monitor and detect abuse. The model doesn't use it as an instruction, so it doesn't control the reply language.
- Exam domain
- Connect to and Consume Azure Services · 25% of AI-200
- Question type
- Multiple choice (one answer)
Related AI-200 questions
- A team calls an Azure OpenAI provisioned deployment through the OpenAI Python SDK.Connect to and Consume Azure Services
- A team calls an Azure OpenAI chat model with structured outputs (response_format set to json_schema with strict: true)…Connect to and Consume Azure Services
- A team is estimating costs for a Foundry-native agent built with prompts in Microsoft Foundry Agent Service.Connect to and Consume Azure Services
- You're building a support assistant with the Chat Completions API on a Microsoft Foundry Models deployment.Connect to and Consume Azure Services
All 60 free AI-200 questions by domain · 15 sample questions on one page
Practise the full AI-200 exam
This question is one of a small free sample from the CertRidge AI-200 bank. Full practice exams match the real exam's length, time limit and domain weights, explain every option, and Review Mode re-drills the questions you miss.
Original question written from the official exam guide. Not affiliated with Microsoft; never copied from the real exam.