Q98 — AWS SAA-C03 Ch.13
Question 98 of 100 | ← Chapter 13
Q998. A company hosts a monolithic web application on an Amazon EC2 instance. Application users have recently reported poor performance at specific times. Analysis of Amazon CloudWatch metrics shows that CPU utilization is 100% during the periods of poor performance.The company wants to resolve this performance issue and improve application availability.Which combination of steps will meet these requirements MOST cost-effectively? (Choose two.)
- A. Use AWS Compute Optimizer to obtain a recommendation for an instance type to scale vertically. ✓
- B. Create an Amazon Machine Image (AMI) from the web server. Reference the AMI in a new launch template.
- C. Create an Auto Scaling group and an Application Load Balancer to scale vertically.
- D. Use AWS Compute Optimizer to obtain a recommendation for an instance type to scale horizontally.
- E. Create an Auto Scaling group and an Application Load Balancer to scale horizontally. ✓
Correct Answer: A. Use AWS Compute Optimizer to obtain a recommendation for an instance type to scale vertically., E. Create an Auto Scaling group and an Application Load Balancer to scale horizontally.
Explanation
AE OR BE.To resolve the performance issue of the monolithic web application hosted on an Amazon EC2 instance and improve application availability most cost-effectively, the best combination of steps is:A. Use AWS Compute Optimizer to obtain a recommendation for an instance type to scale vertically.E. Create an Auto Scaling group and an Application Load Balancer to scale horizontally.Explanation:A. Use AWS Compute Optimizer: This service analyzes your usage patterns and provides recommendations for optimizing your instance types. By receiving a recommendation for a more suitable instance type, you can scale vertically, which might help alleviate the CPU utilization issue.E. Create an Auto Scaling group and an Application Load Balancer: Implementing an Auto Scaling group allows you to scale horizontally by adding more EC2 instances during peak usage times. An Application Load Balancer distributes incoming traffic across multiple instances, improving application availability and performance during high traffic periods.Evaluation of Other Options:B. Create an Amazon Machine Image (AMI) from the web server: While creating an AMI is useful for launching new instances, it does not directly address performance or availability issues.C. Create an Auto Scaling group and an Application Load Balancer to scale vertically: This option is incorrect because vertical scaling (increasing the size of a single instance) does not typically involve an Auto Scaling group, which is designed for horizontal scaling.D. Use AWS Compute Optimizer to obtain a recommendation for an instance type to scale horizontally: While this may provide insights, it does not directly solve the immediate issue of high CPU utilization. Horizontal scaling is more about adding instances rather than changing instance types.In summary, Options A and E provide a comprehensive approach to resolving the performance issue and improving availability by combining vertical scaling recommendations with horizontal scaling capabilities.