nerdexam
Amazon

AIF-C01 · Question #355

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…

The correct answer is A. Use few-shot prompting to add domain-specific context and explicit instructions. Few-shot prompting provides the model with examples and domain-specific context, guiding it to generate more accurate and relevant responses. This improves the quality of product suggestions compared to generic outputs.

Submitted by skyler.x· Mar 30, 2026Implementing Generative AI Applications

Question

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?

Options

  • AUse few-shot prompting to add domain-specific context and explicit instructions.
  • BUse chain-of-thought prompting with hidden reasoning steps to ignore explicit domain
  • CModify the AI assistant's conversational style to use more formal language and include technical
  • DUse zero-shot prompting to augment retrieval from a product database.

How the community answered

(25 responses)
  • A
    76% (19)
  • B
    8% (2)
  • C
    4% (1)
  • D
    12% (3)

Explanation

Few-shot prompting provides the model with examples and domain-specific context, guiding it to generate more accurate and relevant responses. This improves the quality of product suggestions compared to generic outputs.

Topics

#Amazon Bedrock#Prompt Engineering#Few-shot prompting#AI Assistant

Community Discussion

No community discussion yet for this question.

Full AIF-C01 Practice