AWS EC2 Instances for Scalable and Fault-Tolerant Applications

Scalable and Fault-Tolerant AWS EC2 Instances

Question

You have been hired as an AWS Architect for a company.

There is a requirement to host an application using EC2 Instances.

The Infrastructure needs to scale on-demand and also be fault-tolerant.

Which of the following would you include in the design? (Select TWO)

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

Correct Answers: A and C.

The AWS Documentation mentions the following.

You can automatically increase the size of your Auto Scaling group when demand goes up and decrease it when demand goes down.

As the Auto Scaling group adds and removes EC2 instances, you must ensure that the traffic for your application is distributed across all of your EC2 instances.

The Elastic Load Balancing service automatically routes incoming web traffic across such a dynamically changing number of EC2 instances.

Option B is incorrect since Amazon GuardDuty is a threat detection service that continuously monitors for malicious activity and unauthorized behaviour.

Option D is incorrect since CloudWatch is a monitoring service.

For more information on AWS Autoscaling and ELB, please visit the below URL.

https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html https://aws.amazon.com/guardduty/

As an AWS Architect, you have to design the infrastructure to host the application using EC2 Instances in a way that it scales on-demand and be fault-tolerant. To meet these requirements, you would include the following two services in your design:

A. AWS Auto Scaling: AWS Auto Scaling is a service that helps you to automatically scale up or down your application resources based on the demand. It can be used to maintain the desired capacity, availability, and performance of the application. AWS Auto Scaling enables you to scale resources horizontally or vertically. It automatically adds or removes EC2 instances based on the demand, which can help your application handle sudden spikes in traffic. Therefore, including AWS Auto Scaling in your design would help you to achieve scalability.

C. Elastic Load Balancing: Elastic Load Balancing distributes incoming traffic across multiple targets, such as EC2 instances, containers, and IP addresses, in one or more Availability Zones. Elastic Load Balancing can automatically scale your workload in response to incoming traffic. It also provides high availability by automatically routing traffic to healthy targets. Therefore, including Elastic Load Balancing in your design would help you to achieve fault tolerance and scalability.

B. Amazon GuardDuty and D. Amazon CloudWatch: Amazon GuardDuty is a threat detection service that continuously monitors for malicious activity and unauthorized behavior in your AWS account. It is not directly related to scaling or fault tolerance of the application hosted on EC2 instances.

Amazon CloudWatch is a monitoring and observability service that collects and tracks metrics, logs, and events from AWS resources and applications. It can be used to gain operational insight and visibility into your application's performance. While Amazon CloudWatch can be used to monitor and scale resources based on demand, it is not directly related to fault tolerance.

In conclusion, including AWS Auto Scaling and Elastic Load Balancing in your design would help you to achieve both scalability and fault tolerance for your application hosted on EC2 instances.