CLF-C02 Question 157
Select 2You are designing a highly available web application on AWS. To ensure the application remains available even in the event of hardware or power failure in one location, which of the following strategies should you implement?
- A
Deploy the application across multiple Availability Zones within a single AWS Region.
- B
Use multiple EC2 instances in the same Availability Zone to handle traffic spikes.
- C
Distribute the application's resources across different AWS Regions.
- D
Ensure that the application is hosted on a single Availability Zone with automated backups.
Show answer and explanation
Correct answers: A, C
Explanation
Availability Zones are designed to be isolated from each other to prevent single points of failure, such as power outages or hardware failures, from affecting multiple zones. By deploying resources across multiple Availability Zones or Regions, you can enhance the availability and fault tolerance of your application. While distributing across Regions is an advanced strategy, leveraging multiple Availability Zones within a Region is a foundational approach to achieving high availability.
- A. Correct.
Deploying the application across multiple Availability Zones ensures that the application can withstand failures at the data center level, as Availability Zones are isolated from each other and do not share single points of failure.
- B. Incorrect.
Using multiple EC2 instances in the same Availability Zone does not protect against data center-level failures, as all instances would still be affected by issues in that Availability Zone.
- C. Correct.
Distributing the application's resources across different AWS Regions provides additional resilience by protecting against region-wide outages. This is a more advanced strategy for global high availability.
- D. Incorrect.
Hosting the application in a single Availability Zone, even with automated backups, does not provide high availability because a failure in that Availability Zone would still result in downtime.