nerdexam
Amazon

AIP-C01 · Question #42

A company is implementing a serverless inference API by using AWS Lambda. The API will dynamically invoke multiple AI models hosted on Amazon Bedrock. The company needs to design a solution that can…

The correct answer is B. Store the active model provider in AWS AppConfig. Configure a Lambda function to read the. Option B is the correct solution because AWS AppConfig is specifically designed to support dynamic configuration management with safe rollout, validation, and rollback, which are explicit requirements in the scenario. By storing the active model provider configuration in AWS…

Deployment, Operations, and Optimization

Question

A company is implementing a serverless inference API by using AWS Lambda. The API will dynamically invoke multiple AI models hosted on Amazon Bedrock. The company needs to design a solution that can switch between model providers without modifying or redeploying Lambda code in real time. The design must include safe rollout of configuration changes and validation and rollback capabilities. Which solution will meet these requirements?

Options

  • AStore the active model provider in AWS Systems Manager Parameter Store. Configure a Lambda
  • BStore the active model provider in AWS AppConfig. Configure a Lambda function to read the
  • CConfigure an Amazon API Gateway REST API to route requests to separate Lambda functions.
  • DStore the active model provider in a JSON file hosted on Amazon S3. Use AWS AppConfig to

How the community answered

(50 responses)
  • A
    14% (7)
  • B
    76% (38)
  • C
    6% (3)
  • D
    4% (2)

Explanation

Option B is the correct solution because AWS AppConfig is specifically designed to support dynamic configuration management with safe rollout, validation, and rollback, which are explicit requirements in the scenario. By storing the active model provider configuration in AWS AppConfig, the company can switch between Amazon Bedrock model providers in real time without redeploying Lambda code. AppConfig supports deployment strategies such as canary releases, linear rollouts, and immediate deployments, allowing safe and controlled changes. If a configuration causes issues, AppConfig supports automatic rollback, reducing operational risk. AWS AppConfig also supports schema validation, ensuring that configuration values such as model identifiers, provider names, or inference parameters are valid before being applied. This prevents misconfiguration from impacting production workloads.

Topics

#Serverless AI Inference#Configuration Management#Safe Deployment#AWS AppConfig

Community Discussion

No community discussion yet for this question.

Full AIP-C01 Practice