Q55 — AWS AIF-C01 Ch.1

Question 55 of 100 | ← Chapter 1

A company is building a chatbot for product recommendations using a pre-trained large language model (LLM). The company requires the LLM to output concise responses written in a specific language. Which solution ensures the LLM’s response quality meets the company’s expectations?

Correct Answer: A. Tuning the prompt.

Explanation

This question tests understanding of LLM application techniques. To produce concise, language-specific outputs, prompt engineering (Option A) directly guides the model’s behavior and is the most effective and controllable method. While model size (Option B), temperature (Option C), and top-k (Option D) influence output diversity or length, they are less precise and reliable than prompt tuning for enforcing specific formatting and linguistic constraints.