Q100 — AWS AIF-C01 Ch.2
Question 100 of 100 | ← Chapter 2
A data scientist is using a generative AI model to generate text. What is the purpose of setting inference parameters (e.g., response length and stop sequences)?
- A. To control the model’s generated output and ensure it meets required criteria ✓
- B. To fine-tune model parameters for improved performance
- C. To specify the input data format for the model
- D. To select the pre-trained model for inference
Correct Answer: A. To control the model’s generated output and ensure it meets required criteria
Explanation
This question tests understanding of inference parameter configuration for generative AI models. When generating text, setting inference parameters such as response length and stop sequences primarily controls the output to ensure it conforms to specific requirements—for example, limiting output length or terminating generation at defined tokens. This matches option A. Options B, C, and D refer respectively to model fine-tuning, input formatting, and model selection—none of which are primary purposes of inference parameter configuration.