Compute EC2 Flashcards

1
Q

What is the difference between NAT Instance and NAT Gateway?

NAT Gateway is Managed by ____, which adds ____ ____________, and _________

NAT Instance is Managed by ____ and ____ _____ of those things

A

NAT Gateway is Managed by AWS, which adds High Availability, and Autoscale

NAT Instance is Managed by you and does none of those things

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

Amazon EC2 Spot Instances offers Low prices for unused capacity, up to a 90% discount. The downside is that it can be __________ at any time

It is best used for workloads with flexible ______ and ____ times

A

Amazon EC2 Spot Instances offers Low prices for unused capacity, up to a 90% discount. The downside is that it can be terminated at any time

It is best used for workloads with flexible start and end times

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

What are 2 key facts about EC2 Elastic IP address:

  • _______ ______ IP address
  • Associated with a ______ IP address on the instance
A
  • Static Public IP address
  • Associated with a private IP address on the instance
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Is AMI a regional service?

A

You can only launch an AMI in the region it is stored in

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

For Linux AMIs, what is the function of the private key file?

A

It allows you to securely SSH (secure shell) into your intstance

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

Amazon EC2 Reserved gives up to a 75% discount; when you commit for 1 or 3 years; and its use cases are ______-_____ __________ workloads, and ________ capacity

A

Amazon EC2 Reserved gives up to a 75% discount; when you commit for 1 or 3 years; and its use cases are steady-state predictable workloads, and reserved capacity

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

A benefit of using AWS Roles is that you don’t have to ____-____ your long-term ________ and protect your instances against ____________ access.

A

A benefit of using AWS Roles is that you don’t have to hard-code your long-term credentials and protect your instances against unauthorized access.

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

Memory-optimized EC2 instances are designed to deliver fast performance for workloads that process

A

large data sets in memory.

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

What happens if you lose your secret access key for AWS CLI? How would you create a new one?

A

You’ll have to delete it and regenerate a new one

You will need to run AWS configure

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

What are the 2 Storage options that can be attached to EC2?

A
Elastic Block Store (persistent)
Instance Store (non-persistent)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What type of control do you have with EC2 instances/

A

Full root/admin access

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

An Elastic Fabric Adapter (EFA) is a _________ device that you can attach to your Amazon EC2 instance to accelerate ____-__________ Computing and _______ ________ applications

A

An Elastic Fabric Adapter (EFA) is a network device that you can attach to your Amazon EC2 instance to accelerate High-Performance Computing (HPC) and Machine Learning applications

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

EC2 Placement Groups: Cluster packs instances close together inside an ___________ _____

A

EC2 Placement Groups: Cluster packs instances close together inside an Availability Zone

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

Groups of instances in one partition do not share __________ _______ with groups of different ________

A

Groups of instances in one partition do not share underlying hardware with groups of different partitions

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

EC2 _________ Placement Groups enable workloads to achieve low-latency network performance necessary for _____-________ node-to-node communication that is typical of ___ applications

A

EC2 Cluster Placement Groups enable workloads to achieve low-latency network performance necessary for tightly-coupled-coupled node-to-node communication that is typical of HPC applications

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

While plenty of AWS services offer the ability to scale automatically what is the only service that Auto Scaling Groups apply to?

A

EC2

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

EC2 Elastic IP address can be moved between ________ and Elastic _______ Adaptors

A

EC2 Elastic IP address can be moved between instances and Elastic Network Adaptors

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

Once terminated an EC2 Instance cannot be __________

By default root, EBS volumes are _______ when you __________ an EC2 Instances

A

Once terminated an EC2 Instance cannot be recovered

By default root, EBS volumes are deleted when you terminate an EC2 Instances

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

Instance metadata is data about your instance that you can use to ________ or ________ the running instance.

A

Instance metadata is data about your instance that you can use to configure or manage the running instance.

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

A Bootstrap Script allows you to install applications like Web ______, and _________ along with running ________ _______

A

A Bootstrap Script allows you to install applications like Web Servers, and Databases along with running software updates

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

AWS Roles allow you to provide ______ without the use of ______ ___ IDs and secret ______ ___

A

AWS Roles allow you to provide access without the use of access key IDs and secret access keys

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

Hibernating EC2 instances only applies to __-________ or ________ _________ instances

A

Hibernating EC2 instances only applies to on-demand or reserved Linux instances

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

For Windows AMIs, what is the function of the private key file?

A

It is required to obtain the password used to log into your instance.

24
Q

If you make a change to a policy that’s attached to a role how long will it take for the change to be seen?

25
Benefits of Amazon EC2 Security is that it's fully integrated with ______ \_\_\_ and ________ features
Benefit of Amazon EC2 Security is that it's fully integrated with **Amazon VPC and security features**
26
Between AWS and the customer who is responsible for the Public & Private AWS Keys?
AWS stores a Public key Customer Stores the Private key file
27
What are the three ways to copy an AMI to a different region?
The Console, CLI, or API
28
Partition Placement Group are typically used with large **\_\_\_\_\_\_\_\_** and **\_\_\_\_\_\_\_\_** workloads, such as **\_\_\_\_\_\_\_\_**, **\_\_\_\_\_\_\_\_**, and Kafka
Partition Placement Group are typically used with large **distributed** and **replicated** workloads, such as **Hadoop**, **Cassandra**, and Kafka
29
Storage Optimized EC2 instances provide **\_\_\_ \_\_\_\_\_\_\_** and very high ___ \_\_\_\_\_\_\_\_\_\_\_
Storage Optimized EC2 instances provide **low latency** and very high **I/O performance**
30
What happens if you have an Elastic IP address and fail to use it?
You will still be charged even if not being used
31
What is the name of the feature to stop a Spot instance from being terminated?
Spot Block
32
What happens to the IP addresses when you Stop an EC2 instance with an EBS volume attached to it? - The Private IPv4 addresses and IPv6 addresses are **\_\_\_\_\_\_\_\_** ; public IPv4 addresses **\_\_\_\_\_\_\_\_** - The Associated Elastic IPs **\_\_\_\_\_\_\_\_**
- The Private IPv4 addresses and IPv6 addresses are **retained**; public IPv4 addresses **released** - The Associated Elastic IPs **retained**
33
A bootstrap script is a script that _only_ **\_\_\_\_** when the EC2 instance first **\_\_\_\_\_\_\_**
A script that **only** **runs** when the EC2 instance first **launches**
34
Key pairs are used to securely connect to which AWS service?
EC2 instances
35
User data is data supplied by the user at **\_\_\_\_\_\_\_\_\_ \_\_\_\_\_\_** in form of a **\_\_\_\_\_**
User data is data supplied by the user at **instance launch** in form of a **script**
36
EC2 Partition Placement Groups spreads your instances across _______ \_\_\_\_\_\_\_
logical partitions
37
Which type of EC2 instances can be placed into a placement group? (4)
* Compute-optimized * Memory-optimized * Storage-optimized * & GPU
38
What is the IP address for Metadata & Instance user data?
169. 254.169.254/latest/meta-data/ 169. 254.169.254/latest/user-data
39
EC2 Spread Placement Groups place a small group of instances across distinct underlying **\_\_\_\_\_\_\_\_** to reduce correlated **\_\_\_\_\_\_\_\_**.
EC2 Spread Placement Groups place a small group of instances across distinct underlying **hardware** to reduce correlated **failures**.
40
Compute-optimized EC2 instances are ideal for applications that benefit from
high-performance processors.
41
Private IP address: Retained when the\_\_\_\_\_\_\_ is \_\_\_\_\_\_ Used in ______ and _______ \_\_\_\_\_\_\_
- Retained when the instance is stopped - Used in Public and Private Subnets
42
If an instance fails these status checks, it is marked unhealthy and is **\_\_\_\_\_\_\_\_\_** while Amazon EC2 Auto Scaling **\_\_\_\_\_\_** a new **\_\_\_\_\_\_\_**.
If an instance fails these status checks, it is marked unhealthy and is **terminated** while Amazon EC2 Auto Scaling **launches** a new **instance**.
43
An Amazon Machine Image (AMI) contains the following (3) - A template for the ____ volume - Launch \_\_\_\_\_\_\_ - A block device _______ the volumes to attach
- A template for the root volume - Launch Permissions - A block device mapping the volumes to attach
44
Placement groups cannot be \_\_\_\_\_\_
Placement groups cannot be **Merged**
45
AWS Nitro System is the **\_\_\_\_\_\_\_\_\_\_\_** platform for the next generation of **\_\_\_ \_\_\_\_\_\_\_\_\_**
AWS Nitro System is the **underlying** platform for the next generation of **EC2 instances**
46
What are 3 key facts about EC2 Public IP addresses? - __ \_\_\_\_\_\_ - Lost when the instance is \_\_\_\_\_\_\_\_ - Used in _______ Subnets
- No charge - Lost when the instance is stopped - Used in Public Subnets
47
Amazon EC2 On-Demand Pricing offers standard pricing - no discount; no commitments; and its use cases are (2) Short-term ___________ or ____ environments \_\_\_\_\_\_\_\_\_\_\_\_ workloads
**Short-term Development or Test environments** **Unpredictable workloads**
48
What are the steps to move an existing instance into a placement group? (3)
* Stop the instance * & Move using CLI or SDK * But it cannot be done via Console
49
Security group rules for Inbound traffic is **\_\_\_\_\_\_\_** by default
Security group rules for Inbound traffic are **blocked by** default
50
Is user data and metadata encrypted?
No
51
Between Spread, Cluster, and Partition, which of these placement groups can span more than one AZ?
Spread and Partition
52
When starting an EC2 Instance that was in a hibernated state, all the processes previously running on the instance are **\_\_\_\_\_\_\_** and previously attached **\_\_\_\_ \_\_\_\_\_\_\_** are **\_\_\_\_\_\_\_\_\_\_**
When starting an EC2 Instance that was in a hibernated state, all the processes previously running on the instance are **resumed** and previously attached **data volumes** are **reattached**
53
You should attach an Enhanced Networking Interface to an EC2 Instance if you need speeds between __ Gbps and ___ Gbps.
You should attach an Enhanced Networking Interface to an EC2 Instance if you need speeds between **10** Gbps and **100** Gbps.
54
You should attach an Enhanced Networking Interface to an EC2 Instance if having reliable ____ \_\_\_\_\_\_\_\_\_\_\_ is a concern of yours
You should attach an Enhanced Networking Interface to an EC2 Instance if having reliable **High Throughput** is a concern of yours
55
Security group rules for Outbound traffic it's _______ by default
Security group rules for Outbound traffic, it's **allowed** by default