AI-102 Plan and manage an Azure AI solution Practice Question
Exhibit
Refer to the exhibit.
{
"id": "chatcmpl-xxx",
"object": "chat.completion",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "The capital of France is Paris."
},
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 15,
"completion_tokens": 7,
"total_tokens": 22
}
}You are reviewing the response from an Azure OpenAI Service chat completion API call. The finish_reason is 'stop'. What does this indicate?
⚠ Common exam trap
It's easy for candidates to confuse `finish_reason: 'stop'` with a successful completion, but fail to realize that `'stop'` only indicates natural termination—not that the response is necessarily correct or complete in terms of user intent.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
The model completed the response naturally
The `finish_reason` field in the Azure OpenAI chat completion API response indicates why the model stopped generating tokens. A value of `'stop'` means the model encountered a natural stopping point, such as the end of a sentence or a logical conclusion, and completed the response without hitting any limits or filters.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
The model completed the response naturally
Why this is correct
'stop' indicates natural completion.
- ✗
The response was truncated because the token limit was reached
Why it's wrong here
'length' indicates token limit reached.
- ✗
The response was blocked by the content filter
Why it's wrong here
'content_filter' indicates filter triggered.
- ✗
The model is still generating the response
Why it's wrong here
A 'null' finish_reason indicates streaming not finished.
Go deeper
Related to this question
About these practice questions
Courseiva writes every AI-102 question from scratch — 945 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This AI-102 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AI-102 exam.