ELB & ASG Quiz Flashcards
What is the main purpose of High Availability in the Cloud?
Application thriving even in case of a disaster.
High Availability means applications running at least in two AZs to survive a data center loss.
Which AWS offered Load Balancer should you use to handle hundreds of thousands of connections with low latency?
1 - Network Load Balancer
2 - Application Load Balancer
3 - Elastic Load Balancer
Network Load Balancer
A Network Load Balancer can handle millions of requests per second with low-latency. It operates at Layer 4, and is best-suited for load-balancing TCP, UDP, and TLS traffic with ultra high-performance.
Changing an EC2 Instance Type from a t3a.medium to a t3a.2xlarge is an example of?
1 - Horizontal Scaling
2 - High Availability
3 - Agility
4 - Vertical Scaling
Vertical Scaling
Vertical scaling means increasing the size of the instance. Changing from a t3a.medium to a t3a.2xlarge is an example of size increase.
What is high availability?
High Availability means running your application/system in at least 2 Availability Zones.
What can you use to handle quickly and automatically the changing load on your websites and applications by adding compute resources?
1 - Elastic Load Balancer (ELB)
2 - A bigger instance
3 - An Auto Scaling Group
4 - Health checks on your EC2 instances
An Auto Scaling Group
An Auto Scaling Group (ASG) can automatically and quickly scale-in and scale-out to match the changing load on your applications and websites.
Why use an Elastic Load Balancer (ELB)?
An Elastic Load Balancer is used to spread the load across downstream instances, not handling quickly and automatically the changing load on your applications and websites.
Which of the following statements is INCORRECT regarding Auto Scaling Groups?
1 - Replace unhealthy instances
2 - Are cost effective running at optimal capacity
3 - Automatically register new instances to a load balancer
4 - Automatically changing the EC2 instance types
Automatically changing the EC2 instance types
Auto Scaling Groups cannot change the EC2 Instances Types
Auto Scaling Groups can add or remove instances, but from the same type. They cannot change the EC2 Instances Types on the fly.
Can Auto Scaling Groups replace unhealthy instances by terminating them and creating new healthy instances?
Yes
Auto Scaling Groups can replace unhealthy instances by terminating them and creating new healthy instances.
Which Load Balancer is best suited for HTTP/HTTPS load balancing traffic?
1 - Network Load Balancer
2 - Classic Load Balancer
3 - Elastic Load Balancer
4 - Application Load Balancer
Application Load Balancer
Application Load Balancers are used for HTTP and HTTPS load balancing. They are the best-suited for this kind of traffic.
Which AWS service offers easy horizontal scaling of compute capacity?
1 - EBS - Elastic Block Storage
2 - AMI - Amazon Machine Image
3 - IAM - Identity & Access Management
4 - ASG - Auto Scaling Groups (ASG)
Auto Scaling Groups (ASG)
Auto Scaling Groups (ASG) offers the capacity to scale-out and scale-in by adding or removing instances based on demand.
Which of the following statements is NOT a feature of Load Balancers?
1 - Do regular health checks on your EC2 instances
2 - Spread load across multiple downstream instances
3 - Handle failures of downstream instances
4 - Back-end autoscaling
Back-end autoscaling
Load Balancers cannot help with back-end autoscaling. You should use Auto Scaling Groups.
How can a company enable elasticity for an application running on Amazon EC2?
- By using EC2 Auto Scaling
- By using Elastic Load Balancing
- By configuring multi-az
- By enabling failover in EC2
Amazon EC2 Auto Scaling enables elasticity for EC2 by launching and terminating instances as demand changes
Which type of Elastic Load Balancer can direct traffic based on the domain name?
- Classic Load Balancer
- Network Load Balancer
- Application Load Balancer
- EC2 Load Balancer
- Application Load Balancer
The application load balancer can do host-based routing which means it can direct traffic based on information in the host header such as a domain name
How does Amazon EC2 Auto Scaling assist with cost-effectiveness?
- By choosing the most effective instance type
- By balancing load between instances evenly
- By launching and terminating instances as demand changes
- By automating application failover
Amazon EC2 Auto Scaling launches and terminates instances as demand for your application changes, this ensures you are only paying for instances that you need to service demand
How does Elastic Load Balancing (ELB) assist with fault tolerance?
- By distributing connections to multiple back-end instances
- By directing traffic according to latency
- By caching content closer to users
- By automatically launching instances
- By distributing connections to multiple back-end instances
ELB distributes connections to multiple back-end instances and this means your application is fault tolerant. You should couple this with Auto Scaling to ensure the right number of back-end instances are available