EC2 Fundamentals Flashcards

1
Q

What is IAM Access?

A

Allows IAM users and roles to access billing and cost management console.

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

How to set up billing alerts?

A

Budgets

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

are you billed for a stopped state instance

A

no

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

if you stop and start an instance do you have the same IP

A

no to public, yes to private

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

What is a security group

A

They control what traffic is allowed in and out of instances

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

security groups have allow or deny rules

A

allow

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

by default all inbound traffic is

A

blocked

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

by default all outbound traffic is

A

allowed

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

port 22, 21, 80, 443, 3389

A

SSH linux & SFTP, FTP, HTTP, HTTPS, SSH windows

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

when you see a timeout what does this mean?

A

security group issue

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

You can only cancel spot instant requests in which states

A

open, disabled, active

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

to terminate a spot instance you need to

A

cancel and then terminate

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

what are the ec2 placement groups

A

spread, cluster, partition

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

what is cluster

A

clusters instances in a low latency group within an AZ

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

what is spread

A

spreads instances across underlying hardware - max 7 per group per AZ - critical applications

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

what is partition

A

spreads instances across many different partitions in an AZ - scales 100s of ec2 in a group

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

pros and cons of cluster

A

pro - great network (low latency)
con - if rack fails then instances fails

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

use case of cluster

A

big data jobs which are quick
applications that need low latency and high network throughput

19
Q

pros and cons of spread

A

pros - spread across az, if one fails they all dont fail
cons- limited to 7 instances per group per az

20
Q

use case of spread

A

apps that need high availability
apps that need fault tolerance

21
Q

ENI

A

virtual network card

22
Q

ENI are az specific

A

yes

23
Q

can eni be created independently and attached to an instance

A

yes

24
Q

what is ec2 hibernate

A

it is where the os is in hibernation and the ram is stored in the root ebs volume, once the instance is running again the ram will be moved back to the instance

25
Q

use cases for hibernation

A

long running instance
saving the ram state
want a quick boot time cause services take long to initialise

26
Q

what is an ebs volume

A

network drive attached to instances. allows you to persist data even after instance is terminated

27
Q

ebs volumes are az specific

A

yes

28
Q

by default, root ebs volumes are…

A

deleted on termination

29
Q

by default, attached ebs volumes are..

A

not deleted on termination

30
Q

can you have more than one ebs attached to an instance

A

yes

31
Q

whats a snapshot

A

a backup of ebs volume at any point of time

32
Q

do you need to detach volume to do a snapshot

A

no, but it is recommended

33
Q

can you copy snapshots across region or az

A

yes

34
Q

can you archive the snapshot

A

yes, 75% cheaper. it takes 24hrs to 72hrs to retrieve it from archive

35
Q

recycle bin for snapshots

A

yes, from 1 day to 1 year, recover accidental deleted snapshots

36
Q

what is AMI

A

customises your instance - configuration, os, monitoring, software

37
Q

AMI are region specific?

A

yes, but can be copied across regions

38
Q

whats is an EC2 instance store

A

a hard drive attached to instance with higher performance than ebs volumes

39
Q

pros and cons of instance store

A

pros - high throughput i/o
cons - ephemeral storage - not for long term storage

40
Q

use case of instance store

A

cache buffer scratch data temporary content

41
Q

which ebs volume can attach to many instances in same az

A

io1 io2 family

42
Q

how many instances for multi-attach ebs

A

16

43
Q

what is EFS

A

network file system that can be mounted on many instances across az