Q44 — AWS AIF-C01 Ch.2
Question 44 of 100 | ← Chapter 2
A company wants to use a large language model (LLM) on Amazon Bedrock for sentiment analysis. The company requires the LLM to produce consistent responses for identical input prompts. What inference parameter adjustment should the company make to meet these requirements?
- A. Decrease the temperature value. ✓
- B. Increase the temperature value.
- C. Reduce the output token length.
- D. Increase the maximum generation length.
Correct Answer: A. Decrease the temperature value.
Explanation
In Amazon Bedrock, the temperature parameter significantly influences output randomness: higher values increase diversity and randomness, while lower values yield more deterministic and consistent outputs. To ensure consistent responses for identical prompts during sentiment analysis, decreasing the temperature value is the appropriate inference parameter adjustment.