QuestionQ88

VerifiedImplementation and Integration

A company uses an AI assistant application to summarize its website content and provide information to customers. The company plans to use Amazon Bedrock to provide the application with access to a foundation model (FM).

The company must deploy the AI assistant application to both a development environment and a production environment. The solution must integrate the environments with the FM. The company wants to evaluate the effectiveness of different FMs in each environment. The solution must allow product owners to easily switch between FMs for testing in each environment.

Which solution meets these requirements?

Explanation

FoundationModel.fromFoundationModelId() imports a Bedrock base foundation model by its model identifier, making it suitable for selecting different FMs. A single CDK application deployed through a CodePipeline pipeline with separate deployment stages supports independent development and production deployments and environment-specific model configuration. A provisioned-model ARN is appropriate only for an existing provisioned-throughput model, not ordinary switching among base FMs.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!