AWS Certified Developer Associate DVA-C02 Practice Question
A developer has deployed a new web application using AWS Elastic Beanstalk with a default t3.medium instance configuration. Before the production launch, the developer needs to ensure the underlying EC2 instances are right-sized to handle expected traffic efficiently and cost-effectively. What is the MOST effective approach to determine the optimal instance type and size?
Rely on the default Elastic Beanstalk managed scaling policies to handle load. Review the AWS Cost and Usage Report after the first month of production to make adjustments.
Use a load testing service to simulate production traffic against the Elastic Beanstalk environment. Analyze the application's performance metrics in Amazon CloudWatch and review the recommendations provided by AWS Compute Optimizer.
Switch the instance type to one used by an older, existing application with similar functionality, assuming the performance characteristics will be identical.
Vertically scale the instance to the largest size available in its family to preemptively avoid performance issues, then set a budget alarm using AWS Budgets to monitor for excessive costs.
The most effective approach is to proactively measure the application's performance under a simulated load and use AWS tools to analyze the data. By using a load testing tool, the developer can generate metrics that reflect real-world usage. Amazon CloudWatch collects these performance metrics, such as CPU and memory utilization. AWS Compute Optimizer can then analyze these metrics to provide specific, data-driven right-sizing recommendations for the EC2 instances, ensuring a balance between performance and cost. Relying on default scaling, using another application's configuration, or simply choosing a larger instance are not optimal as they are either reactive or based on unverified assumptions.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is AWS Compute Optimizer, and how does it help with right-sizing instances?
Open an interactive chat with Bash
How can Amazon CloudWatch help in monitoring performance metrics for Elastic Beanstalk applications?
Open an interactive chat with Bash
What are the benefits of load testing, and how can it be performed in AWS?
Open an interactive chat with Bash
AWS Certified Developer Associate DVA-C02
Troubleshooting and Optimization
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .