Elastic load Balancing & Auto Scaling Group Section Flashcards
1
Q
Scalability:
A
- Scalability mean the application / system can handle greater loads by adapting
2
Q
vertical scalability :
A
- call center:from junior operator to senior operator
- Increasing the size of the instance
- Common for no distributed systems, like database
- Changing an EC2 Instance Type from a t3a.medium to a t3a.2xlarge is an example of
3
Q
Horizontal scalability
A
elasticity :
- Increasing the number of instance /system for your application
- Common used for web application/moderm application
4
Q
High Availability:
A
- Just like horizontal scaling
- Running application / system in last 2 available zones
- Survive a data center loss (disaster)
- What is the main purpose of High Availability in the Cloud? ( application thriving even in case of a disaster)
5
Q
Scalability
A
- ability to accommodate a lager load by making the hardware stronger (scale up), or by adding nodes (scale out)
6
Q
Elasticity
A
once as system is scalable, elastic mean that there will be some auto-scaling ,
- so the system can scale based on the load
- pay per use, match demand, optimize costs
7
Q
Agility
A
- New IT resources are only click away,
- that reduce the time to make those resources available to your developer from week to just minutes
8
Q
What is load balancing
A
- help be elastic on aws
- Server that forward internet traffic to multiple Ec2 instances downstream
- More user we have, the more it will balance the load across the multiple EC2 instance, all scale on our backend
9
Q
Why use a load balancer?
A
- Spread load across multiple downstream instance
- Expose a single point of access (DNS) to your application
- Seamlessly handle failures of downstream instances
- Do regular health checks to your instance
- provide SSL termination (HTTPS ) for your website
- High availability across zones
10
Q
Why use an Elastic load Balancer
A
- EBl is managed load balancer
- distribute traffic across backend EC2 instance, can be Mult-AZ
- support health checks
11
Q
3 type of load balancer
A
- application LB ( HTTP-L7): Which Load Balancer is best suited for HTTP/HTTPS load balancing traffic
- Network LB (TCP-L4): Which AWS offered Load Balancer should you use to handle hundreds of thousands of connections with low latency?
- Classic LB (old)
12
Q
What an auto scaling group
A
- Implement elasticity for your application, across multiple AZ
- scale EC2 instance based on the demand on your system, replace unhealthy
- Integrated with the ELB
- What can you use to handle quickly and automatically the changing load on your websites and applications by adding compute resources?
- replace unhealthy instance
- are cost-effective by running at optimal capacity
- automatically register new instances to a load balancer
13
Q
an Auto Scaling Strategy
A
Which of the following is an Auto Scaling Strategy?
- manual scaling
- dynamic scaling
- predictive scaling
- offers easy horizontal scaling of compute capacity
14
Q
a feature of Load Balancers
A
- DO regular health check to your instance
- handle failures of downstream instances
- spread load across multiple downstream instance