Monitoring ELB Flashcards

1
Q

3 Types of Load Balancers

A

Application Load Balancer
Network Load Balancer
Classic Load Balancer (Being deprecated)

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

4 ways to monitor load balancers

A

CloudWatch Metric
Access Logs
Request Tracing - Application LB only
CloudTrail Logs

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

Differences: CloudWatch vs CloudTrail

A

CloudWatch monitors performance
CloudTrail monitors API calls in the AWS platform.
Remember; CloudWatch for performance, CloudTrail for auditing.

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

Name the types of access logs

A
Detailed logs for requests sent to the LB such as:
Client IP
Latency
request path
server responses (200, 500, etc.)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

True or false: Accessing logs can be disabled?

A

True.

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

How are access logs stored?

A

Compressed files on an S3 bucket.

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

If instance(s) experience 500 errors, however, the instances were deleted along with the apache logs, how can information about those responses be recovered?

A

By using access logs stored on an S3 bucket. The logs are retained after instances are deleted.

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

What is request tracing?

A

Tracks HTTP requests from client to targets or other services. The X-Amzon-Trace-ID is amended for each hop a request takes inside AWS.

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

True or False: Request Tracing is available to application load balancers only?

A

True.

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

CloudTrail Logs

A

Used to capture detailed information about calls made to the ELB API including source IP, who made the call, when, etc. Stores log files on S3.

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

True or False: CloudTrail metrics will provide information on healthy and unheatlhy hosts?

A

False: CloudTrail is for auditing API requests only. Use CloudWatch for performace metrics.

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

ELB errors all start with

A

4xx or 5xx

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

Successful ELB response code

A

200

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

4xx error messages

A

client-side error

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

5xx error messages

A

server-side error

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

Error 400

A

Bad/Malformed request - Such as malformed header

17
Q

Error 401

A

Unauthorized access - user access denied

18
Q

Error 403

A

Forbidden - Request is blocked by ACL

19
Q

Error 460

A

Client closed the connection before ELB responded

20
Q

Error 463

A

X-Forwarded-For header contains >30 IP addresses

21
Q

Error 500

A

Internal to server e.g. error on the LB

22
Q

Error 502

A

Bad gateway - e.g. application load balancer closed the connection

23
Q

Error 503

A

Service unavailable - No registered targets

24
Q

Error 504

A

Gateway Timeout - Application is not responding

25
Q

Error 561

A

Unauthorized