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

A

FTP

17
Q

port 80

A

http

18
Q

port 443

A

https

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?

A

on demand

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
Q

What reserved instance type would you use for long workloads and databses?

A

reserved instance

26
Q

What reserved instance type would you use for long workloads with flexible instances that can change over time?

A

convertible reserved inst

27
Q

What reserved instance type would you use that run for a certain day or time, not continuous, now deprecated?

A

scheduled reserved instance

28
Q

What instance launch type is the best for databases or steady-state usage apps?

A

reserved instnaces

29
Q

What instance launch type can you choose to pay upfront or not?

A

reserved instnaces

30
Q

What instance launch type has no upfront costs or commitments?

A

on demand

31
Q

on-demand linux pay per use is

A

billing/sec

32
Q

on-demand other os not including linux pay per use is

A

billing/hr

33
Q

What instance launch type has the highest cost?

A

on demand

34
Q

what is the cheapest spot instance and can have biggest discount that you bid for?

A

spot inst

35
Q

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?

A

dedicated hosts

36
Q

differences between dedicated hosts and inst

A

tbd

37
Q

What instance launch type may share hardware in instance in same acct, no control over instance placment, physical server?

A

dedicatd inst

38
Q

What instance launch type has per instance billing?

A

dedicatd inst