
Answer-first summary for fast verification
Answer: AWS Lambda
## Explanation **Correct Answer: C) AWS Lambda** AWS Lambda is the best component for securely connecting Amazon Bedrock to live external data for the following reasons: 1. **API Integration**: AWS Lambda functions can make HTTP requests to external APIs to fetch real-time flight data. 2. **Secure Connection**: Lambda functions can securely store API credentials using AWS Secrets Manager or Parameter Store, and can be configured with appropriate IAM roles and VPC settings for secure network access. 3. **Event-Driven Architecture**: Lambda can be triggered by Bedrock's API calls, process the external API data, and return formatted responses to the chatbot. 4. **Serverless and Scalable**: Lambda automatically scales to handle varying loads from the chatbot without managing servers. **Why other options are incorrect:** - **A) Amazon S3**: S3 is an object storage service, not designed for real-time API integration or processing. - **B) Amazon CloudWatch**: CloudWatch is a monitoring and observability service, not for API integration. - **D) Amazon Rekognition**: Rekognition is a computer vision service for image and video analysis, unrelated to API integration. **Best Practice**: For connecting Bedrock to external APIs, AWS Lambda combined with API Gateway (for RESTful endpoints) and Secrets Manager (for credential management) provides a secure, scalable solution for real-time data access.
Author: Jin H
Ultimate access to all questions.
No comments yet.
A startup wants to build a travel planning chatbot using Amazon Bedrock. The chatbot must access real-time flight data via API. Which AWS component is best for securely connecting Bedrock to live external data?
A
Amazon S3
B
Amazon CloudWatch
C
AWS Lambda
D
Amazon Rekognition