AI-102 Implement generative AI solutions Practice Question
Exhibit
Refer to the exhibit.
{
"completions": [
{
"choices": [
{
"finish_reason": "stop",
"index": 0,
"message": {
"content": "The capital of France is Paris.",
"role": "assistant"
}
}
],
"created": 1710000000,
"id": "cmpl-123abc",
"model": "gpt-4",
"object": "chat.completion",
"usage": {
"completion_tokens": 7,
"prompt_tokens": 10,
"total_tokens": 17
}
}
],
"object": "list"
}Refer to the exhibit. A developer received this response from an Azure OpenAI chat completion call. The prompt was "What is the capital of France?". The finish_reason is "stop". What does this indicate?
⚠ Common exam trap
Microsoft often tests the distinction between finish_reason values, and the trap here is that candidates confuse 'stop' with 'length' or assume any non-error finish_reason means truncation, when in fact 'stop' explicitly signals a natural and complete generation.
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 'stop' indicates that the model completed the response naturally, meaning it generated a complete answer to the prompt and reached a logical stopping point (e.g., the end of a sentence or the end of the generated text). This is the standard behavior for a successful completion where the model did not encounter any content filter, token limit, or other interruption.
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 response was truncated due to content filtering.
Why it's wrong here
Content filtering would produce a different finish_reason or error.
- ✓
The model completed the response naturally.
Why this is correct
Finish_reason 'stop' indicates normal completion.
- ✗
The model stopped generating before the response was complete.
Why it's wrong here
The response 'The capital of France is Paris.' is complete.
- ✗
The response reached the max_tokens limit.
Why it's wrong here
Token limit would result in 'length' finish reason.
Go deeper
Related to this question
About these practice questions
One of 945 original AI-102 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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.