Automating Canary Deployments for Amazon Bedrock Models
Short answer
A Configuring an AWS Step Functions workflow to automate gradual traffic shifting and CloudWatch metric evaluation for Amazon Bedrock models meets the zero-touch rollback requirement.
Question
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?
Key Takeaways
The question tests the ability to design an automated canary deployment for Bedrock models, trapping users into selecting either SageMaker native routing (invalid for Bedrock) or vague external logic that fails the automation requirement.
Amazon Bedrock lacks native weighted routing for canary deployments, requiring an automated orchestration layer like AWS Step Functions to shift traffic and evaluate CloudWatch metrics for zero-touch rollback.
Common mistake: Choosing Option C by assuming SageMaker endpoint variants can proxy Amazon Bedrock models, or choosing Option B because its 'external logic' fails the strict requirement for no manual intervention.
Expert Analysis
Bedrock Traffic Shifting Limitations: Amazon Bedrock does not natively support weighted routing or traffic splitting between different model ARNs or provisioned throughput allocations at the service level. Unlike Amazon SageMaker endpoints, which have native variant weights, Bedrock requires an external orchestration mechanism to route traffic between model versions.
Automated Orchestration vs. External Logic: Option A correctly identifies that an orchestration workflow (AWS Step Functions) is required to manage the canary process. By using EventBridge to trigger Step Functions, and Lambda to evaluate CloudWatch metrics against thresholds, Option A provides a fully automated, zero-touch rollback mechanism. Option B, while correctly identifying API Gateway's native weighted routing for the API layer, relies on "external logic" to adjust traffic and roll back. This vague phrasing fails the strict requirement of reverting "without any manual intervention" when compared to A's explicit automated state machine.
Invalid Architectures: Option C suggests using Amazon SageMaker AI endpoint variants to represent Bedrock model versions. SageMaker endpoints cannot host or proxy Bedrock foundation models; they are distinct services with separate hosting environments. Option D suggests updating Bedrock model endpoints to shift traffic, which is impossible as Bedrock endpoints do not expose traffic shifting parameters.
Official Reference
- https://docs.aws.amazon.com/step-functions/latest/dg/welcome.html
- https://docs.aws.amazon.com/bedrock/latest/userguide/provisioned-throughput.html
These links open the official vendor documentation in a new tab.
Exam Strategy
When a question requires "no manual intervention" or "fully automated" rollback for canary deployments, immediately eliminate options that use vague terms like "external logic" or "custom scripts." Look for the option that explicitly defines an automated orchestration service like AWS Step Functions combined with CloudWatch alarms and Lambda for decision-making.
Community Votes
72% of anonymous learners picked answer A. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 7 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 7
-
AM_aws 👍 3 Answered Ahttps://docs.aws.amazon.com/decision-guides/latest/bedrock-or-sagemaker/bedrock-or-sagemaker.html - why C is not correct
-
GiorgioGss 👍 2 Answered AB is to complex and only with A you can "gradually increase traffic".
-
ArunRav 👍 2 Answered AStep function will help stepwise shifting.
-
vedratna 👍 1 Answered BOption A is incorrect: Bedrock Provisioned Throughput does not have a "weighted routing" parameter. There is no configuration setting on a Bedrock Provisioned Model where you can say "Send 90% of requests to Model Version 1 and 10% to Model Version 2." Option B recognizes that because Amazon Bedrock cannot natively split traffic between different version ARNs, the traffic splitting must be offloaded to the API Layer (Amazon API Gateway). • API Gateway HTTP APIs natively feature a parameter called Route Weights / Weighted Routing. • Step Functions or external operational logic can easily call the API Gateway API to say: "Change the route weight of Stage Variable $v1 to 90% and Stage Variable $v2 to 10%." • API Gateway then distributes the live incoming customer calls accordingly, passing them down to the respective AWS Lambda functions, which then invoke the correct underlying Bedrock models.
-
Chibuzo1 👍 1 Answered AOption A is the only solution that combines Bedrock-native compatibility, fully automated decision logic, real-time metric evaluation, and zero-touch rollback in a cohesive, serverless architecture.
Show 2 more comments
-
67bdb19 👍 1 Answered CLeaning toward C, but I'd be interested to hear arguments for the others.
-
de1612d 👍 1 Answered AAnswer is A
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All AIP-C01 Questions
Access 110 questions with complete answers and detailed explanations.
View Full AIP-C01 Practice Test →