AWS Developer Associate (DVA-C03) · Free practice question 10 of 12
API Gateway REST canary release
A team at Fenwick Maps wants to test a new deployment of a REST API by sending 5% of the prod stage's traffic to it while 95% continues to use the current deployment, with separate metrics for each. Which feature provides this?
- A.A Lambda alias with routing configured on the API's authorizer function
- B.A canary release on the prod stage with a canary traffic percentage of 5
- C.A custom domain base path mapping that points 5% of paths to a new stage
- D.A second usage plan that throttles 95% of the clients calling the prod stage
Show answer and explanation
Correct answer: B. A canary release on the prod stage with a canary traffic percentage of 5
Why: REST API canary release settings on a stage route a configured percentage of requests to a canary deployment, and canary metrics and logs are reported separately; the canary can later be promoted. Usage plans throttle and meter clients. Weighted aliases on an authorizer do not split API traffic between deployments. Base path mappings route by path, not by percentage.
More free AWS Developer Associate (DVA-C03) questions
- Step Functions Retry and Catch fields
- SQS FIFO message groups for ordering
- DynamoDB Streams for change processing
- EventBridge Scheduler one-time invocations
- Explicit deny in policy evaluation
- Hardening S3 bucket access settings
- ApplyGuardrail API for any model
- Previewing stack updates with change sets
- Test traffic hook in ECS blue/green
- SQS visibility timeout for Lambda consumers
- Metric filters for log-based alarms