
Ultimate access to all questions.
Deep dive into the quiz with AI chat providers.
We prepare a focused prompt with your quiz and certificate details so each AI can offer a more tailored, in-depth explanation.
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
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:
API Integration: AWS Lambda functions can make HTTP requests to external APIs to fetch real-time flight data.
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.
Event-Driven Architecture: Lambda can be triggered by Bedrock's API calls, process the external API data, and return formatted responses to the chatbot.
Serverless and Scalable: Lambda automatically scales to handle varying loads from the chatbot without managing servers.
Why other options are incorrect:
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.