AWS Certified Generative AI – Professional (AIP-C01) — Question 47

A company is building a generative AI (GenAI) application that processes financial reports and provides summaries for analysts. The application must run two compute environments. In one environment, AWS Lambda function must use the Python SDK to analyze reports on demand. In the second environment, Amazon EKS containers must use the JavaScript SDK to batch process multiple reports on a schedule. The application must maintain conversational context throughout multi-tum interactions, use the same foundation model (FM) across environments, and ensure consistent authentication.
Which solution will meet these requirements?

Answer options

Correct answer: D

Explanation

Option D is correct because it uses the Amazon Bedrock Converse API and IAM roles for authentication, ensuring a consistent approach across environments while maintaining conversational context by passing previous messages. Other options either lack a unified authentication method, do not adequately preserve conversational context, or do not utilize the correct API for the application's needs.