Elastic Computer Cloud (EC2) Flashcards

1
Q

________ EC2 instances are where you purchase unused capacity at a discount of up to 90%, and the prices fluctuate with supply and demand.It’s great for applications with flexible start and end times.

A

Spot

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

___________ EC2 instances are where you reserve your capacity for one to three years, and the more you pay upfront, the greater savings that you have. You can save up to 72% discount on the hourly charge, and this is great if you’ve got known or fixed requirements.

A

Reserved

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

___________ EC2 instances are where there is a physical EC2 server that’s dedicated for your use.
And it’s great if you have server bound licenses to reuse or compliance requirements, so perhaps government says that you can’t do it on multi-tenant hardware, then you want Dedicated instances.

A

Dedicated

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

_______ EC2 instances are where you pay by the second or the hour depending on the type of instance that you run. It’s great for flexibility and there are no long-term contracts.

A

On-Demand
This is where you pay by the second or the hour
depending on the type of instance that you run,
and it’s great for flexibility,
no long-term contracts

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

________ allow you to avoid hard coding your credentials. You don’t need to save access key IDs
and secret access keys into your code in order to be able to access things like S3 from EC2 without the use of access key IDs and secret access keys.

A

Roles

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

_________ control a role’s permission,
just like they control your user permissions and group permissions.

A

Policies

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

True or False? You must stop or terminate EC2 instances before you can attach and detach a role.

A

False. You can attach and detach a role to run an EC2 instance without having to stop or terminate these instances.

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

When you create a security group, all _______ traffic is blocked by default, and all ________ traffic is allowed.

A

inbound, outbound

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

A ______________ is a script
that runs when the instance first runs.
It runs at root level, so it has full administrative privileges, and it passes user data to the EC2 instance
and can be used to install applications, like web servers, database servers, as well as do updates and whatever else you want it to do when you first boot that EC2 instance.

A

bootstrap script

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

User data is simply your ___________,
whereas ______ is data about your EC2 instances.

A

bootstrap scripts, metadata

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

Of the types of networking devices, ______ is a low cost option used for basic networking. Use cases include maintaining a separate management network or a separate logging network. In these cases, you can use multiple of these types of networking devices for each network.

A

ENI (Elastic Networking Interface)

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

How long does it take for changes to security groups to take effect.

A

Changes take effect immediately

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

True or False. AWS limits 100 EC2 instances per security group.

A

False. You can have any number of EC2 instances within a security group.

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

Use _________ when you need speeds
between 10 gigabits per second and 100 gigabits per second, basically, anywhere you need reliable and high throughput.

A

Enhanced networking

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

Use _______ where you need to have high performance computing (HPC) and machine learning applications, or you need to do an OS level bypass.

A

EFAs (Elastic Fabric Adapter)

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

A __________ is just a logical grouping
of EC2 instances.

A

placement group

17
Q

_______ placement groups are used for high performance computing that requires low network latency and high network throughput.

A

Cluster

18
Q

________ placement groups are used for individual key critical EC2 instances when you don’t want them to be on the same hardware, so you need to spread them around.

A

Spread

19
Q

________ placement groups are used for multiple EC2 instances, things like HDFS, HBase, and Cassandra.

A

Partition

20
Q

________ placement groups
can’t span multiple availability zones,
where ________ placement group
and _______ placement group can.

A

Cluster, (Spread, partition)

21
Q

True or False? Only certain types of instances
can be launched into placement groups.

A

True. Only certain types of instances
can be launched into placement groups,
so this will be compute optimized, GPU optimized,
memory optimized, and storage optimized.

22
Q

A _______ is a collection of Spot Instances, and, optionally, ON-Demand Instances

A

A spot fleet

23
Q

You can block Spot Instances from terminating by using ________.

A

spot block

24
Q

True or False? Spot instances are most useful for computing where you need persistent storage.

A

False. Spot instances are useful for computing where you DON’T need persistent storage.

25
Q

______ is a service that allows you to extend the power of the AWS data center to your own data center

A

AWS outposts

26
Q

What is the EC2 metadata URL?

a. “http://255.255.255.254/latest/meta-data/”
b.”http://169.254.169.254/latest/meta-data/”
c. “http://255.169.255.169/latest/meta-data/”
d.”http://127.0.0.2/latest/meta-data/”

A

b.”http://169.254.169.254/latest/meta-data/”

27
Q

What are the use cases for deploying vCenter on AWS?
a. Decreased reliability
b. Cloud migration
c. Increased costs
d. Hybrid cloud

A

b. Cloud migration
d. Hybrid cloud

28
Q

What service allows you to extend your data center to the AWS Cloud?
a. vCenter on AWS
b. Xen Hypervisor on AWS
c. Citrix Center on AWS
d. CouchDB on AWS

A

vCenter on AWS