Course menuDVA-C02

Exams / DVA-C02 / Packaging and application configuration / Question 1

DVA-C02 practice question: Packaging and application configuration (1 of 3)

Deployment A free question from our original DVA-C02 practice exam. Try it, then open the answer to see why each option is right or wrong.

A team wants to release a new checkout feature to production but keep it switched off until marketing is ready. They want to turn it on for a small share of users first, roll back quickly if alarms fire, and do all of this without redeploying the application. Which AWS service is designed for this?

Choose one answer.

  1. A. AWS CodeDeploy with an all-at-once deployment configuration
  2. B. AWS AppConfig feature flags with a gradual deployment strategy
  3. C. AWS CloudFormation parameters passed during each stack update
  4. D. Lambda environment variables updated through the console
Show the answer and explanation

Answer: B

  • A. Wrong: CodeDeploy deploys new application code. Turning a feature on would still mean another deployment.
  • B. Right: Correct. AppConfig delivers feature flags to running applications, rolls changes out gradually and can roll back on a CloudWatch alarm.
  • C. Wrong: Changing a parameter needs a stack update, which is a deployment, and gives no gradual exposure to users.
  • D. Wrong: Changing environment variables updates the function configuration for every user at once, with no gradual rollout or alarm-based rollback.

Explanation

AWS AppConfig separates configuration from code. Feature flags and free-form configuration are validated, rolled out gradually with deployment strategies, and rolled back automatically if a CloudWatch alarm fires. Applications pick up changes without a code deployment.

Study

Keep practising

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