AWS Certified AI Practitioner (AIF-C01) — Question 241
A company is using Amazon Bedrock to build an AI assistant. The AI assistant helps customers find relevant products by making suggestions. However, the AI assistant's responses are often generic and irrelevant. The company wants to use prompt engineering to improve the AI assistant's responses.
Which solution will meet these requirements?
Answer options
- A. Use few-shot prompting to add domain-specific context and explicit instructions.
- B. Use chain-of-thought prompting with hidden reasoning steps to ignore explicit domain instructions.
- C. Modify the AI assistant's conversational style to use more formal language and include technical product specifications.
- D. Use zero-shot prompting to augment retrieval from a product database.
Correct answer: A
Explanation
The correct answer, A, suggests using few-shot prompting, which can provide specific examples and context, improving relevance in responses. Option B is incorrect because chain-of-thought prompting does not align with the need for explicit domain context. Option C focuses on style rather than content relevance, and option D does not introduce context needed for better responses.