AWS ECS Flashcards

1
Q

What is the difference between EC2 and EBS volumes

A

EC2s are virtual machines that you rent, EBS volumes are virtual drives

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

What is it called when you bootstrap your instance (launching a command on startup)

A

User Data

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

What must you have if you want to manipulate an instance through SSH?

A

Key-Pair

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

You’ve stopped and started an instance, which IP address will change, the private or public?

A

Public

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

An instance name has which 3 following parameters

A

type, version, size within instance class ; i.e. m5.2xlarge

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

What 4 types of instance types do you have

A

General, Compute, Memory, Storage

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

You are working on an application with a large database, data warehousing, and distributed file systems. You need high sequential read/write access to these large datasets. Which instance type should you use?

A

Storage

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

What EC2 feature behaves like the firewall for an EC2 instance

A

Security Groups

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
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
10
Q

Security Groups regulate what?

A

port access, authorized IP ranges, inbound/outbound traffic

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

True or False, Security Groups can be attached to multiple instances

A

True

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

You’ve gotten a timeout where you are stuck on the loading page, what is the issue

A

security group

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

How could you easily get two instances to share information?

A

Put them in the same security group

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

What are the 7 Instance purchasing options?

A

on Demand, Reserved, Savings Plan, Spot Instances, Dedicated Host, Dedicated Instances, Capacity Reservations

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

What is the difference between the Dedicated Hosts and Dedicated Instances savings plan

A

Hosts are booking physical servers, Dedicated Instances allow customers to not share hardware with others

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

You know what your usage, workload will be for the next 1 or 3 years, which plan should you go for?

A

Savings Plan

17
Q

Which Instance Purchasing Option is the MOST cost effective?

A

Spot Instances

18
Q

Should you use Spot Instances for databases?

A

No

19
Q

You have a short term application you need to run with an uninterrupted workload and remain in a specific AZ. Which purchasing option should you go with?

A

Capacity Reservations

20
Q

What is a Spot Fleet

A

a set of Spot Instances and optional on demand instances

21
Q

How do you have your public IPv4 from changing when you stop/start an instance?

A

Use an Elastic IP

22
Q

What are the 3 Placement Group types

A

Cluster, Spread, and Partition

23
Q

You need a low latency option for your application, what Placement Group should you choose?

A

Cluster

24
Q

Why would you want to use a Spread Placement Group

A

You need to minimize failure risk, all EC2 instances will be on different hardware and span across AZs

25
Q

What is the EC2s virtual version of a network card? This provides the EC2 with network connectivity

A

ENI (Elastic Network Interface)

26
Q

You can create an ENI without attaching it to an EC2 instance True or False?

A

True

27
Q

What mode can you put the EC2 instance into to preserve RAM and boot back up much faster?

A

Hibernate

28
Q

ENIs and EC2s must be in the same AZ True or False?

A

True

29
Q
A