Question 1,201 of 724
DVA-C02 Development with AWS Services Practice Question
A developer is using AWS Elastic Beanstalk to deploy a web application. The application experiences high latency during peak hours. The developer wants to scale the application automatically based on CPU utilization. Which configuration should the developer use?
⚠ Common exam trap
Watch out — candidates often confuse the metric used for scaling (CPU utilization) with other metrics like MemoryReservation or NetworkIn, or assume that caching solutions like CloudFront can replace the need for compute scaling, when the question explicitly requires scaling based on CPU utilization.
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 an Auto Scaling simple scaling policy based on Average CPU Utilization > 70% for scale-out and < 30% for scale-in.
AWS Elastic Beanstalk integrates with Auto Scaling to automatically adjust the number of EC2 instances based on a simple scaling policy that uses the Average CPU Utilization metric. By setting a scale-out threshold at >70% and a scale-in threshold at <30%, the application can dynamically handle peak-hour traffic while reducing costs during low usage. This directly addresses the developer's requirement to scale based on CPU utilization.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Configure an Auto Scaling step scaling policy based on MemoryReservation metric.
Why it's wrong here
Configuring an Auto Scaling step scaling policy based on the MemoryReservation metric is incorrect because MemoryReservation is primarily a metric for container services like Amazon ECS, indicating allocated memory for tasks, not a standard CloudWatch metric for EC2 instance CPU utilization. For a typical Elastic Beanstalk web application running on EC2 instances, CPU utilization is the most direct indicator of processing load, and memory reservation does not accurately reflect the need for CPU-based horizontal scaling.
- ✗
Use AWS CloudFront to cache responses and reduce load on the application.
Why it's wrong here
Using AWS CloudFront to cache responses and reduce load on the application is a valid strategy for improving performance and reducing the *number* of requests reaching the backend. However, CloudFront is a Content Delivery Network (CDN) that caches content at edge locations; it does not automatically scale the underlying compute resources (EC2 instances) within the Elastic Beanstalk environment. While it can mitigate the *need* for scaling by offloading traffic, it does not provide the dynamic scaling capability for the application servers themselves.
- ✓
Configure an Auto Scaling simple scaling policy based on Average CPU Utilization > 70% for scale-out and < 30% for scale-in.
Why this is correct
Configuring an Auto Scaling simple scaling policy based on Average CPU Utilization with thresholds of > 70% for scale-out and < 30% for scale-in is the correct and most common approach for horizontally scaling web applications in Elastic Beanstalk. High CPU utilization directly indicates that the existing instances are struggling to process requests, necessitating more compute capacity. Conversely, low CPU utilization suggests instances are underutilized, allowing for cost-efficient scale-in.
- ✗
Configure an Auto Scaling target tracking policy based on NetworkIn metric.
Why it's wrong here
Configuring an Auto Scaling target tracking policy based on the NetworkIn metric is inappropriate for addressing latency caused by CPU bottlenecks. While NetworkIn (bytes received by the instance) can be a relevant metric for scaling network-intensive applications, it does not directly correlate with the processing power required by the CPU to handle application logic. Scaling based on NetworkIn would address network throughput issues, not the computational load on the instance's processor, which is the root cause of CPU-related latency.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Last reviewed: Jul 4, 2026
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.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.