Q46 — AWS AIF-C01 Ch.1
Question 46 of 100 | ← Chapter 1
A company wants to perform sentiment analysis using a large language model (LLM) on Amazon Bedrock. The company wants to know how much information a prompt can contain. Which factor should the company consider when making this decision?
- A. Temperature
- B. Context window ✓
- C. Batch size
- D. Model size
Correct Answer: B. Context window
Explanation
This question tests understanding of key factors affecting LLM usage. For sentiment analysis, prompt design is critical—it determines how the model interprets and responds to input. The 'context window' defines the maximum number of tokens (words/subwords) the model can process in a single inference, directly limiting how much information a prompt can contain. Temperature controls randomness in output generation, batch size affects throughput and memory usage, and model size influences capability and resource requirements—but none directly constrain prompt information capacity. Therefore, option B, 'context window,' is the correct answer.