EC2 Elastic Compute Cloud Flashcards

1
Q

what kind of as a service is EC2 ?

A

IaaS

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

security group is what for ec2?

A

firewall

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

what is EC2 User data script?

A

automate boot tasks

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

ec2 consists of

A

renting virtual machines (EC2)
storing data on virtuak drives (EBS)
Distributing load across machines (ELB)
Scaling svc using an auto-scaling group(ASG)

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

ec2 is a fundamental to understand how

A

the cloud works

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

what happens when u create an ec2 instance?

A

ip addresses are created (CIDR) to connect to instance

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

What are the ec2 instance types ?

A

General purpose, compute optmized, memory optmized, storage optimized

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

What instance type would you use for diveristy workloads and balancing compute, memory, network?

A

general purpose

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

What instance type would you use for compute-intensive tasks, high level processing ?

A

compute optimized

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

What instance type would you use for fast performance in RAM, large data sets?

A

memory optimzied

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

What instance type would you use for storage-intensive tasks, read/write, and large data sets?

A

storage-optimized

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

ec2 security groups

A

firewalls for ec2 instances

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

security group only have ____ rules

A

allow

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

what regulates ec2 instances access to ports, authorized ip ranges, control in/outbound network?

A

security groups

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

port 22

A

SSH - linux and SFTP-secure file transfer using ssh

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

port 21

17
Q

port 80

18
Q

port 443

19
Q

port 3389

A

RDP - windows instances

20
Q

What instance launch type would you use for short uninteruppted workload with predictable pay per use pricing?

21
Q

What instance launch type would you use for a minimum of 1 or 3 year commitment?

A

reserved instance

22
Q

What instance launch type would you use for short workloads and can lose the instance, unreliable, not for critical jobs, workloads resilent to failure?

A

spot instances

23
Q

What instance launch type would you use to book entire server?

A

dedicated hosts

24
Q

What instance launch type would you use for instances running on hardwre dedicated to you?

A

dedicated instances

25
What reserved instance type would you use for long workloads and databses?
reserved instance
26
What reserved instance type would you use for long workloads with flexible instances that can change over time?
convertible reserved inst
27
What reserved instance type would you use that run for a certain day or time, not continuous, now deprecated?
scheduled reserved instance
28
What instance launch type is the best for databases or steady-state usage apps?
reserved instnaces
29
What instance launch type can you choose to pay upfront or not?
reserved instnaces
30
What instance launch type has no upfront costs or commitments?
on demand
31
on-demand linux pay per use is
billing/sec
32
on-demand other os not including linux pay per use is
billing/hr
33
What instance launch type has the highest cost?
on demand
34
what is the cheapest spot instance and can have biggest discount that you bid for?
spot inst
35
What instance launch type has ctrl inst placement, physical server w/ ec2 instance, compliance reqs, can use existing server-bound licenses, 3 yr reserveration, more expensive, complicated license model and strong regulatory/compliance model?
dedicated hosts
36
differences between dedicated hosts and inst
tbd
37
What instance launch type may share hardware in instance in same acct, no control over instance placment, physical server?
dedicatd inst
38
What instance launch type has per instance billing?
dedicatd inst