Question 76 of 500
Applications of Foundation ModelsmediumMultiple ChoiceObjective-mapped

Quick Answer

The answer is that the max_tokens limit was reached, which is the most likely cause of the incomplete response from Amazon Bedrock. When the model generates text, it counts each unit of output as a token, and if the cumulative token count hits the specified max_tokens parameter, generation stops immediately—even mid-sentence—producing a truncated but otherwise coherent response. On the AWS Certified AI Practitioner AIF-C01 exam, this scenario tests your understanding of inference parameters and how they control output length; a common trap is confusing truncation with a model hallucination or content filter, but the key clue is that the text cuts off cleanly without errors or gibberish. For a quick memory tip, think of max_tokens as a hard stop sign: once the token budget is spent, the model slams the brakes, leaving the sentence hanging.

AIF-C01 Applications of Foundation Models Practice Question

This AIF-C01 practice question tests your understanding of applications of foundation models. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

Exhibit

Refer to the exhibit.
{
  "completion": "The capital of France is Paris. The capital of Germany is Berlin. The capital of",
  "stop_reason": "max_tokens",
  "usage": {
    "input_tokens": 10,
    "output_tokens": 30
  }
}

Refer to the exhibit. You receive this response from Amazon Bedrock. What is the most likely cause of the incomplete information?

Clue words in this question

Noticing these words before you look at the options changes how you read each choice.

  • Clue: "most likely"

    Why it matters: Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.

Question 1mediummultiple choice
Full question →

Exhibit

Refer to the exhibit.
{
  "completion": "The capital of France is Paris. The capital of Germany is Berlin. The capital of",
  "stop_reason": "max_tokens",
  "usage": {
    "input_tokens": 10,
    "output_tokens": 30
  }
}

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 max_tokens limit was reached

The response from Amazon Bedrock shows an incomplete sentence that cuts off mid-thought, which is a classic symptom of hitting the max_tokens limit. When the generated output reaches the specified maximum number of tokens, the model stops generating immediately, resulting in truncated text. This is the most likely cause because the output is syntactically incomplete but otherwise coherent up to the cutoff point.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

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 max_tokens limit was reached

    Why this is correct

    stop_reason: max_tokens indicates the output was capped by the token limit.

    Clue confirmation

    The clue word "most likely" in the question point toward this answer.

    Related concept

    Read the scenario before looking for a memorised answer.

  • The prompt was too short

    Why it's wrong here

    Short prompts can cause incomplete answers, but the stop_reason explicitly shows max_tokens.

  • The temperature was too high

    Why it's wrong here

    Temperature affects randomness, not truncation.

  • The model lacks knowledge about capitals

    Why it's wrong here

    The model correctly started listing capitals; missing data is due to truncation.

Common exam traps

Common exam trap: answer the scenario, not the keyword

AWS often tests the distinction between output truncation (max_tokens) and output quality issues (temperature, prompt engineering), so the trap here is that candidates may incorrectly attribute a truncated response to model ignorance or randomness rather than the explicit token limit.

Trap categories for this question

  • Command / output trap

    Short prompts can cause incomplete answers, but the stop_reason explicitly shows max_tokens.

Detailed technical explanation

How to think about this question

The max_tokens parameter in Amazon Bedrock (and underlying models like Claude or Titan) defines the maximum number of tokens the model can generate in a single response. Tokens are subword units, and once the count is reached, generation stops immediately, even mid-word or mid-sentence. In real-world scenarios, this is critical for cost control and latency management, but if set too low, it can produce unusable truncated outputs that require retrying with a higher limit or using streaming to detect early termination.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A cloud solutions architect for a retail company is evaluating services for a new workload. The correct answer here reflects best practice for the specific scenario described — not a general cloud recommendation. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Cloud exam questions reward reading the constraint carefully: the same technology can be right or wrong depending on the use case.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related AIF-C01 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free AIF-C01 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this AIF-C01 question test?

Applications of Foundation Models — This question tests Applications of Foundation Models — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: The max_tokens limit was reached — The response from Amazon Bedrock shows an incomplete sentence that cuts off mid-thought, which is a classic symptom of hitting the max_tokens limit. When the generated output reaches the specified maximum number of tokens, the model stops generating immediately, resulting in truncated text. This is the most likely cause because the output is syntactically incomplete but otherwise coherent up to the cutoff point.

What should I do if I get this AIF-C01 question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Are there clue words in this question I should notice?

Yes — watch for: "most likely". Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 30, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

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.