Which factor determines how much information fits in one Amazon Bedrock prompt?

Generative AI Fundamentals

A company wants to build a generative AI application by using Amazon Bedrock and needs to choose a foundation model (FM). The company wants to know how much information can fit into one prompt. Which consideration will inform the company's decision?

  1. Temperature
  2. Context window Source Reference Answer
  3. Batch size
  4. Model size

Community Votes

B
100%

100% of anonymous learners picked answer B. Votes are pick records left by other test-takers — they are not the verified answer.

Community Insight

The exam tests your understanding that the context window governs maximum prompt length, while the common trap is confusing it with model size or batch size, which relate to model capacity and inference throughput rather than input length.

The context window of a foundation model defines the maximum number of tokens that can be processed in a single prompt, directly limiting how much information can fit. Community consensus unanimously confirms context window as the correct answer for Amazon Bedrock FM selection.

Many candidates mistakenly choose D (Model size), incorrectly assuming that a larger model inherently supports a longer prompt, when in fact model size refers to parameter count and does not dictate context window length.

Community Discussion (6 comments)

Moon 👍 5 Selected: B
A company needs to know the maximum input size for a single prompt when choosing a Foundation Model (FM) in Amazon Bedrock. A. Temperature: This controls the randomness of the output, not the input prompt length. Temperature affects creativity, not input size. B. Context window: This defines the maximum length of the input prompt the model can process. It directly limits how much information can be included. C. Batch size: This is the number of prompts processed at once, affecting throughput, not individual prompt length. It's about processing multiple prompts efficiently. D. Model size: This relates to the model's overall capacity and complexity, not directly to the input prompt length. Size impacts performance, not input limits. Therefore, B. Context window is the correct answer.
Jessiii 👍 1 Selected: B
Context window: The context window refers to the amount of text (or tokens) that a model can process at once. This is crucial when working with foundation models (FMs) like those available in Amazon Bedrock, as it defines the maximum input size for the prompt. The context window determines how much of the prompt the model can "remember" and use to generate responses. If the prompt exceeds the context window, the model will only process the portion of the prompt that fits within this limit, potentially missing important details.
85b5b55 👍 1 Selected: B
The context-window is the input prompt for the model generation.
eesa 👍 1 Selected: B
The correct answer is: B. Context window Explanation: The context window of a foundation model (FM) determines how much information can fit into one prompt. It refers to the maximum number of tokens (words, characters, or subwords) that the model can process in a single input prompt, including the input and the output combined. The context window size varies across different foundation models, and understanding this parameter is critical for applications like document summarization or question-answering systems where long inputs need to be processed.
eesa 👍 2 Selected: B
B. Context window The context window of a foundation model determines the maximum amount of text that can be processed in a single prompt. A larger context window allows for more complex and informative prompts, while a smaller context window limits the amount of information that can be provided. The other options are not directly related to the maximum prompt length: Temperature: This parameter controls the randomness of the model's output. Batch size: This refers to the number of samples processed in a single batch during training or inference. Model size: This refers to the number of parameters in the model, which affects its complexity and performance. Therefore, when choosing a foundation model for a generative AI application, the company should carefully consider the context window to ensure that it can accommodate the desired input length.
jove 👍 2 Selected: B
The context window refers to the maximum number of tokens (words or pieces of words) that a foundation model can process in a single input prompt.

Comments & Corrections

No comments yet — spotted an error or have a note? Share it below.

Log in to comment, report an error, or add a note about this question.

Submitted for moderation before publishing. Keep it helpful and respectful.

Expert Analysis

Why the Answer Is Correct

The context window specifies the maximum number of tokens a foundation model can ingest in a single prompt, encompassing both input and output tokens. Amazon Bedrock documentation explicitly states that different foundation models expose different context window sizes, making this the primary consideration for prompt-length planning. As community member [3] notes, the context window refers to the maximum number of tokens the model can process in one input prompt. This directly answers the company's question about how much information can fit into one prompt.

Why the Other Options Are Wrong

Temperature (A) controls the randomness and creativity of model output, not input capacity, as correctly pointed out by commenters [1] and [2]. Batch size (C) relates to how many inference requests are processed simultaneously and is irrelevant to single-prompt length. Model size (D) refers to the number of parameters in the model architecture, which influences capability and cost but does not determine the maximum prompt length a model can accept.

Community Comment Notes

All six community comments unanimously selected B (Context window) with 100% vote agreement, indicating strong consensus. Commenters [1], [2], and [4] provided clear explanations distinguishing context window from temperature and model size. Comment [6] added the useful detail that the context window includes both input and output tokens combined, which is a valuable nuance for exam preparation.

Official Reference

Exam Strategy

When a question asks about prompt length or how much text a model can handle, immediately think 'context window.' Eliminate options related to output behavior (temperature), throughput (batch size), or architecture (model size) to quickly isolate the correct answer.

Related Analysis

Practice All AIF-C01 Questions

Access 100 questions with complete answers and detailed explanations.

View Full AIF-C01 Practice Test →

← Back to AIF-C01 Study Guide