DOP-C02 Question 315
Select 3Your organization manages a fleet of EC2 instances running a web application. You need to ensure that the application remains highly available and automatically adjusts capacity based on traffic patterns. Additionally, you want to automate system updates and apply security patches to the instances without downtime. Which combination of services should you use to achieve this?
- A
AWS Auto Scaling for dynamic instance scaling based on demand
- B
AWS Systems Manager Patch Manager to automate patching of EC2 instances
- C
AWS Elastic Load Balancer (ELB) to distribute traffic across EC2 instances
- D
Amazon CloudWatch to deploy software updates across the fleet
- E
AWS Lambda to replace EC2 instances during scaling events
Show answer and explanation
Correct answers: A, B, C
Explanation
To ensure high availability and dynamic scaling, AWS Auto Scaling adjusts the fleet size based on traffic patterns. AWS Systems Manager Patch Manager automates the application of updates and security patches without downtime. ELB distributes incoming traffic across the EC2 instances, ensuring load balancing and fault tolerance. Together, these services provide a robust, automated solution for fleet management.
- A. Correct.
Correct. AWS Auto Scaling ensures the fleet dynamically adjusts capacity to match traffic patterns, maintaining high availability and optimizing cost.
- B. Correct.
Correct. AWS Systems Manager Patch Manager is designed to automate the process of applying operating system and software patches to EC2 instances, improving security without downtime.
- C. Correct.
Correct. AWS Elastic Load Balancer (ELB) distributes incoming traffic across multiple EC2 instances, ensuring high availability and fault tolerance.
- D. Incorrect.
Incorrect. Amazon CloudWatch is primarily used for monitoring and alerting. It does not directly handle software updates or fleet management tasks.
- E. Incorrect.
Incorrect. AWS Lambda is a serverless compute service and is not used for managing EC2 instances during scaling events. EC2 scaling is managed by AWS Auto Scaling.