Monitoring and reporting Flashcards

1
Q

What does cloudwatch monitor by default for EC2?

A
Host level metrics
CPU
Network
Disk
Status check
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are not default EC2 metrics

A

Ram utilization

Disk utilization

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

How long will cloudwatch metrics be retained?

A

Indefinitely by default

This also includes terminated instances

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

What is the minimum granularity you can have for a metric?

A

1 min

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

Is Ram utilization a custom metric?

A

Yes

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

You are using AWS and also have on-prem infrastructure. You would like a new solution to monitor on-perm systems. Can you use cloudwatch?

A

Yes. Just install the SSM agent

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

Best use of PIOPS disk

A

Large databases
+10,000 IOPS
160 MB/s throughput

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

Best use case for throughout optimized disk?

A

Big data
Streaming workloads
Data warehouses

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

Best use for HDD cold

A

Low cost

Infrequently access

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

You have a 1 GB volume. What IOPS burst is available?

A

3 IOPS per GB = 3 IOPS
Burst max is 3000
Burst = 3000-3=2997

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

How can you achieved desired IOPS if below 10,000

A

Select the correct volume size

1 GB = 3 IOPS

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

Describe 2 characteristics of how IOPS credits work?

A

When not bursting you are earning credits

Initial balance is 5.4 million,

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

What are the key cloudwatch metrics for EBS disk

A

Volumereadbytes
Volumewritebytes
Volumequeuelength

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

What are the EBS volume states?

A

Normal - ok
Degraded - warning
Stalled - impaired, not available
Insufficient data - insufficient data

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

Do you need to detach a EBS volume to modify?

A

No

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

What are the 4 EBS volume types?

A

General purpose
provisioned IOPS
Throughout optimized hdd
Cold hdd

17
Q

What EBS disk types cannot be used as root volumes?

A

HDD

Cold and throughout optimized

18
Q

What are the 3 ELB types

A

Application
Network
Classic

19
Q

What options are available to monitor ELBs?

A

Cloudwatch
Access logs
Request tracing
Cloudtrail logs

20
Q

What ELB monitoring option would you use if you need detailed information on requests, clients IP, latencies, request paths

A

Access logs

21
Q

You have an EC2 instance that is deleted. You find out after there was a performance issue and want to investigate further. What option will you have needed to review?

A

Access logs

22
Q

Where are ELB access logs stored?

A

S3

23
Q

You need to track http requests from clients to ELB

A

Request tracing

Application LB only

24
Q

You need to track detailed information about calls made to ELB API and stored them. What monotony option will you use?

A

Cloudtrail

25
Q

Your elasticache memchached deploy has loads up to 90%. What should you do to improve performance

A

Add more nodes to the cluster

26
Q

Which elasticahce option is not multi-threaded?

A

Reddis

27
Q

The elasticache swap usage is high. What should you do to improve?

A

Increase the memcached_connections_overhead parameter

28
Q

What is an eviction in elasticache?

A

Items in memory

29
Q

You see a high number of evictions in memcached. How can you optimize?

A

Scale up or scaled out

30
Q

You see a high number of evictions in reddis. How can you optimize?

A

Scale out - add read replicas

31
Q

You created a metric, then changed regions and cannot see the metric to add to a dashboard. Why?

A

Dashboards are global, but to add a new widget, you must be in the region where it was created.

32
Q

Your company bought another company and you want to centrally manage their AWS account as well as you own. What AWS service would you use?

A

AWS Organizations

33
Q

You need to ensure compliance of the AWS infrastructure and audit all changes. What services can you use?

A

AWS config will capture all changes and write to an S3 bucket. Lambda can then be used to trigger a report

34
Q

What trigger options are available with AWS config?

A

Periodic and config changes

35
Q

What permissions are needed for AWS config?

A

IAM role with read access to the resource
Write access to S3
Publish access to SNS

36
Q

What metric would provide oversight, of server errors of registered instances?

A

HTTPCode_Backend_5XX

37
Q

What value will always be displayed for the DiskREadOps metric on a EBS backed EC2 instance?

A

0

38
Q

What cost tool provides reports?

A

Cost Optimizer Monitor

39
Q

Wha tool will help identify issues with underlying AWS hardware that will affect your systems?

A

AWS Personal dashboard