Courseiva
Deployment →easyMultiple Choice

DVA-C02 Deployment Practice Question

A developer is deploying a web application using AWS Elastic Beanstalk. The application experiences high traffic during peak hours. The developer wants to ensure that the environment can scale out quickly without manual intervention. Which Elastic Beanstalk configuration should be used?

⚠ Common exam trap

Watch out — candidates often confuse scheduled scaling (Option A) with dynamic scaling, not realizing that scheduled actions cannot handle unpredictable spikes, while CloudWatch-triggered Auto Scaling provides real-time, event-driven scaling.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

Configure Auto Scaling triggers based on CloudWatch alarms.

Elastic Beanstalk integrates with Auto Scaling to automatically adjust the number of EC2 instances based on demand. By configuring Auto Scaling triggers that respond to CloudWatch alarms (e.g., CPU utilization > 70%), the environment can scale out quickly and without manual intervention during peak hours.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✗

    Use a scheduled scaling action to increase capacity during peak hours.

    Why it's wrong here

    Scheduled scaling actions are suitable for predictable traffic patterns, such as daily business hours or weekly events, where the increase in demand is known in advance. However, they lack the dynamism to respond to unexpected or sudden spikes in traffic that deviate from the pre-defined schedule. This approach would fail to automatically adjust capacity for unforeseen load, potentially leading to performance degradation or service unavailability during unpredicted peak periods.

  • ✗

    Manually add EC2 instances during peak hours.

    Why it's wrong here

    Manually adding EC2 instances during peak hours introduces significant operational overhead and is prone to human error, directly contradicting the benefits of an automated cloud environment. This approach requires constant monitoring and intervention from a developer, which is inefficient and cannot react quickly enough to rapidly changing demand. It negates the core principle of elasticity, where resources should automatically scale based on real-time application load without manual intervention.

  • ✗

    Set the environment to use a fixed number of EC2 instances.

    Why it's wrong here

    Setting the environment to a fixed number of EC2 instances means the application's capacity remains constant regardless of actual user demand. This configuration inherently prevents any form of automatic scaling, leading to either over-provisioning and unnecessary costs during low traffic, or under-provisioning and performance bottlenecks during high traffic. A fixed instance count fails to leverage the elasticity of AWS, which is designed to optimize resource utilization and maintain application performance dynamically.

  • ✓

    Configure Auto Scaling triggers based on CloudWatch alarms.

    Why this is correct

    Configuring Auto Scaling triggers based on CloudWatch alarms provides a robust and dynamic solution for automatically adjusting EC2 instance capacity in response to real-time application load. CloudWatch monitors key metrics like CPU utilization or network I/O, and when predefined thresholds are breached, it triggers Auto Scaling policies to add or remove instances. This ensures optimal performance and cost efficiency by scaling resources precisely when needed, without manual intervention or reliance on predictable schedules.

About these practice questions

This DVA-C02 question is part of Courseiva's 1,135-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This DVA-C02 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the DVA-C02 exam.