Deployment & Provisioning Flashcards

1
Q

What are the two commons for EC2 instances failing?

A
#InstanceLimitExceed error - Exceeded the default limit for number of instances on a region, can add more.
#InsufficientInstanceCapacity error - Aws do not have currently enough available EC2 on-demand for your request.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a Bastion Host/Jump Box?

A

Bastion host is server connected to a public subnet, can connect via internet and gives access to the private subnet through SSH/RDP only.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the layer that Application LoadBalancer, Network Load and Classic Load Balancer

A
# ALB: Layer 7 Application
# NLB: Layer 4 transport
# CLB: Layer 7 and 4, but 7 is limited
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is Application Load Balancer?

A

Is for HTTP and HTTPS, and is application-aware(know about the route, path and etc), routing based on request.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is Network Load Balancer?

A

Is for TCP traffic, extreme performance, handle millions of request per second.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is Classic Load Balancer?

A

Is legacy ELB, can handle HTTP/HTTPS, use X-Forwarded and sticky sessions for routing, or use only TCP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is Pre-warming an ELB?

A

Avoid overloading the ELB, contact AWS support and specify req/s is expected, range of time, total size of a typical request.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

An Application is behind an ELB and needs Static IP/ Elastic IP what ELB choose and Why?

A

Network load balancer because NLB creates static IP for each subnet.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are erros 4XX that ELB returns?

A
# 400 - Bad/malformed request
# 401 - Unauthorized use access denied
# 403 - Forbidden request is blocked by WAF acces control list
# 460 - Client closed connection before load balancer could respond, client timeout may be short.
# 463 - Load balanacer receive an X-Fowarded-For request header with > 30 IP addresses
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are erros 5XX that ELB returns?

A
# 500 - Internal error server.
# 502 - Bad gateway application server closed the connection/ malformed response
# 503 - Service Unavaible - no registered target
# 504 - Gateway timeout app is not respoding
# 561 - Unauthorized received an erro code from the ID provider.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are different types of metrics of ELB?

A
# General health - HealthyHostCount/UnHealthyHostCount, HTTPCode_Backend_2XX /3XX / 4XX / 5XX
# Performance - Latency, RequestCount, (SurgeQueueLength and SpilloverCount(Classic only)) --> high number is perfomance issues
How well did you know this?
1
Not at all
2
3
4
5
Perfectly