
Answer-first summary for fast verification
Answer: Use Amazon Bedrock Knowledge Bases.
## Detailed Explanation ### Understanding the Requirement The company wants to enhance a pre-trained foundation model (FM) on Amazon Bedrock with company-specific information to provide more contextual responses. The key constraint is **cost-effectiveness**, which means minimizing expenses while achieving the goal of incorporating proprietary data. ### Analysis of Options **A: Use Amazon Bedrock Knowledge Bases** - **Optimal Choice**: Amazon Bedrock Knowledge Bases implement Retrieval-Augmented Generation (RAG), which retrieves relevant company data from connected sources (e.g., Amazon S3) at inference time. - **Cost-Effectiveness**: This approach avoids the high costs and time associated with model retraining or fine-tuning. It leverages existing data storage and only incurs costs for data retrieval and processing during queries, making it highly economical for dynamic or frequently updated company information. - **Suitability**: Perfectly aligns with the requirement to add context without modifying the underlying FM, ensuring the model remains up-to-date with the latest company data. **B: Choose a different FM on Amazon Bedrock** - **Less Suitable**: Switching to another pre-trained FM does not inherently incorporate company-specific information. It may require additional steps (like fine-tuning or RAG) to add context, potentially increasing costs and complexity without directly addressing the requirement. **C: Use Amazon Bedrock Agents** - **Less Suitable**: Amazon Bedrock Agents are designed for orchestrating multi-step tasks and integrating with APIs or tools. While they can use Knowledge Bases, their primary focus is on task automation rather than cost-effectively adding contextual data to an FM. This option introduces unnecessary overhead for the stated goal. **D: Deploy a custom model on Amazon Bedrock** - **Least Suitable**: Deploying a custom model typically involves fine-tuning or training from scratch, which is resource-intensive, time-consuming, and expensive. It contradicts the cost-effectiveness requirement, as it requires significant investment in data preparation, training infrastructure, and ongoing maintenance. ### Conclusion Amazon Bedrock Knowledge Bases (Option A) is the most cost-effective solution because it uses RAG to dynamically pull company-specific data during inference, avoiding the high costs of model retraining or fine-tuning. This approach ensures the FM remains responsive to updated information while minimizing operational expenses.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
A company uses a generative AI application with a pre-trained foundation model (FM) on Amazon Bedrock. They want the FM to incorporate more context using company-specific information.
What is the most cost-effective solution to meet this requirement?
A
Use Amazon Bedrock Knowledge Bases.
B
Choose a different FM on Amazon Bedrock.
C
Use Amazon Bedrock Agents.
D
Deploy a custom model on Amazon Bedrock.
No comments yet.