
Ultimate access to all questions.
Deep dive into the quiz with AI chat providers.
We prepare a focused prompt with your quiz and certificate details so each AI can offer a more tailored, in-depth explanation.
An ecommerce company wants to design a highly available application that will be hosted on multiple Amazon EC2 instances. How should the company deploy the EC2 instances to meet these requirements?
A
Across multiple edge locations
B
Across multiple VPCs
C
Across multiple Availability Zones
D
Across multiple AWS accounts
Explanation:
To achieve high availability for an application hosted on Amazon EC2 instances, the instances should be deployed across multiple Availability Zones (AZs). Here's why:
Availability Zones (AZs):
Each AZ is a physically separate data center within an AWS Region
AZs are designed to be isolated from failures in other AZs
Deploying across multiple AZs provides fault tolerance and high availability
Fault Isolation: If one AZ experiences an outage, the application can continue running from other AZs
Automatic Failover: Load balancers can distribute traffic across instances in multiple AZs
Redundancy: Data and services are replicated across different physical locations
Multiple Edge Locations: Edge locations are for content delivery (CloudFront), not for hosting EC2 instances
Multiple VPCs: While VPCs provide network isolation, they don't inherently provide high availability across different physical locations
Multiple AWS Accounts: This is for organizational/security separation, not high availability
For maximum availability, deploy EC2 instances across at least 2-3 Availability Zones and use an Elastic Load Balancer to distribute traffic evenly.