
Explanation:
Correct Answer: A
Why Option A is correct:
Increase grounding within Amazon Bedrock Guardrails: This addresses the core issue of the model recommending products not in the company's catalog. Grounding in Amazon Bedrock allows you to connect the foundation model to your company's data sources (like the product catalog) to provide relevant, accurate, and up-to-date information. This ensures the model only recommends products that actually exist in the catalog.
Enable Automated Reasoning checks: This helps ensure the model's responses are logical and relevant to the customer's query, addressing the issue of irrelevant recommendations.
Set up provisioned throughput: This addresses the latency issue by guaranteeing dedicated model capacity, which reduces inference time and improves response speed for customers.
Why Option B is incorrect:
Prompt engineering alone is insufficient: While prompt engineering can help guide the model, it cannot guarantee that the model will only recommend products from the catalog. Foundation models can still hallucinate or generate information not in the prompt context.
Streaming reduces perceived latency but doesn't solve the core issues: Streaming techniques like InvokeModelWithResponseStream can make responses feel faster by delivering tokens as they're generated, but they don't address:
Key AWS Concepts:
This solution comprehensively addresses both the accuracy issues (grounding + automated reasoning) and the performance issues (provisioned throughput).
Ultimate access to all questions.
No comments yet.
An ecommerce company is developing a generative AI application that uses Amazon Bedrock with Anthropic Claude to recommend products to customers. Customers report that some recommended products are not available for sale on the website or are not relevant to the customer. Customers also report that the solution takes a long time to generate some recommendations.
The company investigates the issues and finds that most interactions between customers and the product recommendation solution are unique. The company confirms that the solution recommends products that are not in the company's product catalog. The company must resolve these issues.
Which solution will meet this requirement?
A
Increase grounding within Amazon Bedrock Guardrails. Enable Automated Reasoning checks. Set up provisioned throughput.
B
Use prompt engineering to restrict the model responses to relevant products. Use streaming techniques such as the InvokeModelWithResponseStream action to reduce perceived latency for the customers.