
Answer-first summary for fast verification
Answer: Create an Amazon Bedrock knowledge base.
## Detailed Explanation ### Understanding the Requirement The question describes a scenario where a company is using the Amazon Titan foundation model (FM) via Amazon Bedrock and needs to enhance it with relevant information from the company's private data sources. This is a common requirement in enterprise AI implementations where foundation models need to be customized with proprietary data without retraining the entire model. ### Analysis of Options **Option A: Use a different FM** - This approach involves switching to another foundation model entirely. - While different FMs have varying capabilities, this doesn't address the core requirement of supplementing the existing Titan model with private data. - This would be inefficient and costly, as it doesn't leverage the company's existing investment in the Titan model. **Option B: Choose a lower temperature value** - Temperature is a parameter that controls the randomness/creativity of model outputs. - Lower temperature values make outputs more deterministic and focused. - This parameter adjustment affects how the model generates responses but doesn't enable it to access or incorporate private company data. - This is a tuning parameter, not a data supplementation solution. **Option C: Create an Amazon Bedrock knowledge base** - **This is the correct solution.** - Amazon Bedrock knowledge bases enable Retrieval-Augmented Generation (RAG), which allows foundation models to access and incorporate external data sources during inference. - The knowledge base can be populated with the company's private data from various sources (documents, databases, repositories). - When queries are made, the system retrieves relevant information from the knowledge base and provides it as context to the foundation model, enabling more accurate and contextually relevant responses. - This approach doesn't require retraining or fine-tuning the foundation model, making it efficient and cost-effective. - It maintains the security and privacy of company data while enhancing the model's capabilities. **Option D: Enable model invocation logging** - This enables logging of model inputs and outputs for monitoring, auditing, and debugging purposes. - While useful for operational oversight and compliance, this doesn't help supplement the model with private data. - This is a monitoring feature, not a data enhancement solution. ### Why Option C is Optimal 1. **Directly Addresses the Requirement**: The knowledge base specifically enables supplementation of foundation models with external data sources. 2. **Implements RAG Pattern**: Uses the established Retrieval-Augmented Generation approach that combines the power of foundation models with specific, relevant data. 3. **No Model Retraining Required**: Unlike fine-tuning, this approach doesn't modify the foundation model weights, making it faster and more cost-effective. 4. **Maintains Data Security**: Private company data remains within the company's control and is accessed securely during inference. 5. **Scalable Solution**: Can handle various data formats and sources, making it adaptable to different business needs. ### Best Practices Consideration In AWS AI/ML best practices, when foundation models need to be enhanced with proprietary data without extensive retraining, RAG implementations using knowledge bases are recommended. This approach balances performance, cost, and security while delivering customized AI capabilities. ### Conclusion Creating an Amazon Bedrock knowledge base is the most appropriate solution as it specifically enables the Amazon Titan foundation model to access and utilize the company's private data sources through the RAG pattern, meeting the requirement without unnecessary complexity or cost.
Ultimate access to all questions.
No comments yet.
Author: LeetQuiz Editorial Team
A company is using the Amazon Titan foundation model (FM) on Amazon Bedrock and must enhance it with pertinent information from the company's private data sources.
Which approach fulfills this need?
A
Use a different FM.
B
Choose a lower temperature value.
C
Create an Amazon Bedrock knowledge base.
D
Enable model invocation logging.