Deck 1 Flashcards

1
Q

What can be monitored with CloudWatch?

A
  • AWS services
  • Custom metrics generated by your applications/services
  • Any log file your application generates
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Can you assign a role to an instance after its creation?

A

No

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

Minimum granularity for CW custom metrics?

A

1 minute

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

Use case for every EBS volume type

A
  • gp2: System boot volumes, virtual desktops, small-medium DBs, dev and test
  • io1: Critical apps, large databases
  • standard: data infrequently accessed, scenarios where cost is important
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Volume size for every EBS volume type

A
  • gp2: 1GB-16TB
  • io1: 4GB-16TB
  • standard: 1GB-1TB
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Max throughput for every EBS volume type

A
  • gp2: 160MB/s
  • io1: 320MB/s
  • standard: 40-90MB/s
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

IOPS performance for every EBS volume type

A
  • gp2: baseline-3IOPS/GB(up to 10,000 IOPS) with the ability to burst to 3,000 IOPS for volumes under 1,000GB
  • io1: Performs at provisioned level. Max 20,000
  • standard: averages 100IOPS with the ability to burst to hundreds
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Metric to check if you have the correct amount of IOPS (exemple: if your DB is slow)

A

VolumeQueueLenght: Number of read and write operation requests waiting to be completed in an specific period of time.

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

EBS posible volume status

A

ok: normal
warning: degraded/severely degraded
impaired: stalled/not available
insufficient-data:Insufficient data

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

RDS metric for number of DB connections in use

A

DatabaseConnections

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

RDS metric for number of IOs waiting to access the disk.

A

DiskQueueDepth

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

RDS metric for Amount of available storage space

A

FreeStorageSpace

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

RDS metric for Amount of time a read replica DB instance lays behind source DB
instance.

A

ReplicaLag

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

RDS metric for Average number of disk read and write IOPs/second

A

ReadIOPs, WriteIOPs

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

RDS metric for Average amount of time for reading and writing per IOP

A

ReadLatency, WriteLatency

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

ELB metric for total number of requests that are pending submission to a regitered instance

A

SurgeQueuelength

17
Q

ELB metric for count of total number of requests that were rejected due to the queue being full

A

SpilloverCount

18
Q

Important things related with monitoring ElastiCache

A
  • CPU utilization
  • SWAP usage
  • Evictions
  • Concurrent connections
19
Q

Cause for your monitoring not reaching EC2 instances

A

You should allow ICMP or specific port

20
Q

EC2 instance types

A
  • On demand
  • Reserved
  • Spot price
21
Q

How much you can save using reserved instances

A

Up to 75%

22
Q

Average savings when moving down between EC2 instance types

A

25-50%

23
Q

What is ASG’s warm up period

A

Period for the instance to start participating to the metrics

24
Q

What is ASG’s cooldown period

A

Amount of time between autoscaling events

25
Q

How to scale beyond I/O capacity for read heavy DB workloads on RDS instances

A

Adding read replicas

26
Q

In RDS, is it possible to hace read replicas in different regions?

A

Only for MySQL

27
Q

In RDS, a read replica can be Multi-AZ?

A

No

28
Q

In RDS, is it posible to have a replica from a replica?

A

Only for MySQL

29
Q

In RDS, what do you need to create a replica?

A

-Enable backup
- A snapshot on the
instance

30
Q

Is it possible to have one subnet in more than 1 AZ?

A

No

31
Q

What do you need to have a bastion host in high availability?

A

A route 53 register, 2 AZs and one bastion host in each AZ.

32
Q

Causes for instances not launching into an ASG

A
  • Associated key pair does not exist
  • SG does not exist
  • Autoscaling config is not working correctly
  • ASG not found
  • Instance type specified is not supported in the AZ
  • AZ is no longer supported
  • Invalid EBS device mapping
  • Autoscaling service is not enabled on your account
  • Attempting to attach an EBS block device to an instance-store AMI
33
Q

ELB TYPES

A
  • External: External DNS names. Use with Route53

* Internal: Internal DNS names