AIP-C01 practice question 1 of 15
A company is designing a canary deployment strategy for a payment processing API. The system must support automated gradual traffic shifting between…
Full set: 127 questionsThis solution provides a complete, serverless, and automated canary deployment orchestration. Using Amazon Bedrock with provisioned throughput is suitable for a production API requiring consistent performance. AWS Step Functions is the ideal service for managing a stateful, multi-step workflow like a canary deployment. It can natively handle shifting traffic, waiting for a defined period, and executing conditional logic. An AWS Lambda function can query Amazon CloudWatch metrics (latency, errors). The Step Functions workflow can then automatically decide whether to increase traffic or initiate a rollback based on these metrics, meeting the requirement for a fully automated process without manual intervention.
B. This option relies on vague "external logic" for automation and rollback, making it less integrated and robust than a Step Functions-based orchestration.
C. Using Amazon SageMaker endpoints as a proxy for Bedrock models adds unnecessary complexity and is not the most direct or efficient architecture.
D. This proposes an unconventional architecture; AWS Systems Manager is not the standard tool for orchestrating application-level canary deployments.
1. AWS Step Functions Developer Guide, "Use Cases". The documentation explicitly lists "perform canary deployments" as a primary use case for Step Functions, highlighting its ability to orchestrate complex, stateful deployment workflows.
2. AWS Compute Blog, "Implementing canary deployments of serverless applications with AWS SAM and CodeDeploy". This article demonstrates the pattern of using a state machine (like Step Functions) to control gradual traffic shifting and automated rollbacks based on alarms.
3. Amazon Bedrock User Guide, "Provisioned Throughput". This section explains that Provisioned Throughput is designed for "large-scale and mission-critical applications" that require guaranteed latency and throughput, justifying its use in a payment processing API.
Keep practicing
Take the free AIP-C01 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other AIP-C01 practice questions
- Question 2A company is developing a customer communication platform that uses an AI assistant power…
- Question 3An ecommerce company is developing a generative AI application that uses Amazon Bedrock w…
- Question 4A global healthcare company is deploying a GenAI application on Amazon Bedrock to produce…
- Question 5A medical company is creating a generative AI (GenAI) system by using Amazon Bedrock. The…
- Question 6A company is developing three specialized NLP models that support a customer service appl…
- Question 7A financial services company is developing a customer service AI assistant by using Amazo…
