AIF-C01 Applications of Foundation Models Practice Question
Exhibit
Refer to the exhibit.
```json
{
"output": {
"message": {
"content": [
{
"text": "The answer is 42"
}
],
"role": "assistant"
}
},
"stop_reason": "end_turn"
}
```A developer receives the above response from invoking a Bedrock model. Which field indicates that the model completed its response normally?
⚠ Common exam trap
It's easy for candidates to confuse the `output` container or the `text` field with the completion indicator, overlooking the dedicated `stop_reason` field that explicitly signals normal termination.
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
✓
stop_reason
The `stop_reason` field in the Bedrock response indicates why the model stopped generating text. A value of `"stop"` or `"end_turn"` (depending on the model) signals that the model completed its response normally, as opposed to hitting a token limit, content filter, 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.
- ✗
output
Why it's wrong here
output is the container object, not a specific status field.
- ✓
stop_reason
Why this is correct
stop_reason 'end_turn' signals normal conversation end.
- ✗
text
Why it's wrong here
text contains the actual content, not a completion indicator.
- ✗
role
Why it's wrong here
role shows 'assistant' but does not indicate completion reason.
Go deeper
Related to this question
About these practice questions
Courseiva writes every AIF-C01 question from scratch — 619 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 AIF-C01 practice question is part of Courseiva's free Amazon Web Services 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 AIF-C01 exam.