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

A company uses an AI assistant application to summarize the company's website content and provide information to customers. The company plans to use Amazon Bedrock to give the application access to a foundation model (FM).
The company needs to deploy the AI assistant application to a development environment and a production environment. The solution must integrate the environments with the FM. The company wants to test the effectiveness of various FMs in each environment. The solution must provide product owners with the ability to easily switch between FMs for testing purposes in each environment.
Which solution will meet these requirements?

Answer options

Correct answer: C

Explanation

The correct answer is C because it allows for a single AWS CDK application that can invoke different foundation models, enabling easier switching for testing in both environments. Option A is incorrect as it complicates the setup with multiple pipelines for each FM. Option B creates separate applications for each environment, which does not provide the required flexibility for switching FMs. Option D limits deployment to the production environment and requires manual resource recreation for development, which is inefficient.