nerdexam
Amazon

AIP-C01 · Question #55

A company is designing a canary deployment strategy for a payment processing API. The system must support automated gradual traffic shifting between multiple Amazon Bedrock models based on real-time…

The correct answer is A. Use Amazon Bedrock with provisioned throughput to host model versions. Configure an Amazon. Option A is the most complete solution because it provides a fully automated canary strategy with staged traffic shifts, metric-based decisioning, and automatic rollback, all using managed AWS services. The requirement emphasizes automation, health-based traffic progression…

Deployment, Operations, and Optimization

Question

A company is designing a canary deployment strategy for a payment processing API. The system must support automated gradual traffic shifting between multiple Amazon Bedrock models based on real-time inference metrics, historical traffic patterns, and service health. The solution must be able to gradually increase traffic to new model versions. The system must increase traffic if metrics remain healthy and decrease traffic if the performance degrades below acceptable thresholds. The company needs to comprehensively monitor inference latency and error rates during the deployment phase. The company must also be able to halt deployments and revert to a previous model version without any manual intervention. Which solution will meet these requirements?

Options

  • AUse Amazon Bedrock with provisioned throughput to host model versions. Configure an Amazon
  • BUse AWS Lambda functions to invoke various Amazon Bedrock model versions. Use an Amazon
  • CUse Amazon SageMaker AI endpoint variants to represent multiple Amazon Bedrock model
  • DUse Amazon OpenSearch Service to track inference logs. Configure OpenSearch Service to

How the community answered

(29 responses)
  • A
    69% (20)
  • B
    17% (5)
  • C
    10% (3)
  • D
    3% (1)

Explanation

Option A is the most complete solution because it provides a fully automated canary strategy with staged traffic shifts, metric-based decisioning, and automatic rollback, all using managed AWS services. The requirement emphasizes automation, health-based traffic progression, and zero manual intervention to revert if performance degrades. AWS Step Functions is well suited for orchestrating controlled deployment workflows with deterministic stages, waits, and conditional branches. By shifting traffic in stages and pausing for observation windows, the system can evaluate real-time inference latency and error rates before promoting more traffic to the new model version. Amazon CloudWatch provides the necessary real- time metrics and alarms for latency and error monitoring. Invoking a Lambda function to evaluate CloudWatch metrics enables dynamic logic: increase traffic if thresholds remain healthy, reduce traffic or roll back if error rates rise or latency exceeds limits. Step Functions can halt the deployment by stopping progression or triggering rollback steps immediately, meeting the requirement for automated revert without human action. Amazon EventBridge provides reliable automation triggers when a new model version is released, ensuring the deployment process is event-driven and repeatable.

Topics

#Canary Deployment#Amazon Bedrock#Model Deployment#Traffic Shifting

Community Discussion

No community discussion yet for this question.

Full AIP-C01 Practice