Course menuSOA-C03

Exams / SOA-C03 / Deployment strategies and third-party tools / Question 2

SOA-C03 practice question: Deployment strategies and third-party tools (2 of 2)

Deployment, Provisioning, and Automation A free question from our original SOA-C03 practice exam. Try it, then open the answer to see why each option is right or wrong.

A pet insurer releases new versions of its premium-calculation AWS Lambda function with AWS CodeDeploy. Last week, a faulty version reached all users at once and returned errors for 20 minutes before anyone noticed. The team wants each new version to receive a small share of traffic first, and the deployment to roll back automatically if errors rise, without human action. Which TWO changes should a CloudOps engineer make? (Choose two.)

Choose two answers.

  1. A. Point a Route 53 weighted record at the old and new function versions, and adjust the weights by hand during each release.
  2. B. Publish each new version and have clients call the version number directly, so that the team can change it back if errors appear.
  3. C. Use the CodeDeployDefault.LambdaCanary10Percent5Minutes deployment configuration for the function's deployment group.
  4. D. Use the CodeDeployDefault.LambdaAllAtOnce deployment configuration and lower the function's reserved concurrency during deployments.
  5. E. Add a CloudWatch alarm on the function's error metric to the deployment group and turn on rollback when an alarm threshold is met.
Show the answer and explanation

Answers: C, E

Explanation

CodeDeploy shifts traffic between Lambda versions through an alias. A canary configuration sends a small share of traffic to the new version first, and CloudWatch alarms attached to the deployment group trigger automatic rollback when errors rise. Together they limit the impact of a bad release without anyone watching.

Study

Keep practicing

Answer questions with a score at the end, or practice just this topic with the explanation after each one. No sign-up needed.