
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.
A company runs a stateful production application on Amazon EC2 instances. The application requires at least two EC2 instances to always be running.
A solutions architect needs to design a highly available and fault-tolerant architecture for the application. The solutions architect creates an Auto Scaling group of EC2 instances.
Which set of additional steps should the solutions architect take to meet these requirements?
A
Set the Auto Scaling group's minimum capacity to two. Deploy one On-Demand Instance in one Availability Zone and one On-Demand Instance in a second Availability Zone.
B
Set the Auto Scaling group's minimum capacity to four. Deploy two On-Demand Instances in one Availability Zone and two On-Demand Instances in a second Availability Zone.
C
Set the Auto Scaling group's minimum capacity to two. Deploy four Spot Instances in one Availability Zone.
D
Set the Auto Scaling group's minimum capacity to four. Deploy two On-Demand Instances in one Availability Zone and two Spot Instances in a second Availability Zone.
Explanation:
Correct Answer: A
Why Option A is correct:
Why other options are incorrect:
Option B: Setting minimum capacity to four is unnecessary and wasteful since the requirement is only for two instances. While distributing across AZs is good, having four instances when only two are required doesn't align with cost optimization principles.
Option C: Using Spot Instances for a production stateful application that requires guaranteed availability is inappropriate. Spot Instances can be interrupted with little notice. Additionally, deploying all instances in a single Availability Zone creates a single point of failure.
Option D: While distributing across AZs is good, mixing On-Demand and Spot Instances for a production stateful application is not ideal. The Spot Instances could be interrupted, potentially leaving only two instances running (or fewer if one fails), which might violate the "at least two always running" requirement. Also, having four instances when only two are required is unnecessary.
Key AWS Concepts: