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?

A

Immediate

25
Q

Benefits of Amazon EC2 Security is that it’s fully integrated with ______ ___ and ________ features

A

Benefit of Amazon EC2 Security is that it’s fully integrated with Amazon VPC and security features

26
Q

Between AWS and the customer who is responsible for the Public & Private AWS Keys?

A

AWS stores a Public key
Customer Stores the Private key file

27
Q

What are the three ways to copy an AMI to a different region?

A

The Console, CLI, or API

28
Q

Partition Placement Group are typically used with large ________ and ________ workloads, such as ________, ________, and Kafka

A

Partition Placement Group are typically used with large distributed and replicated workloads, such as Hadoop, Cassandra, and Kafka

29
Q

Storage Optimized EC2 instances provide ___ _______ and very high ___ ___________

A

Storage Optimized EC2 instances provide low latency and very high I/O performance

30
Q

What happens if you have an Elastic IP address and fail to use it?

A

You will still be charged even if not being used

31
Q

What is the name of the feature to stop a Spot instance from being terminated?

A

Spot Block

32
Q

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 ________
A
  • The Private IPv4 addresses and IPv6 addresses are retained; public IPv4 addresses released
  • The Associated Elastic IPs retained
33
Q

A bootstrap script is a script that only ____ when the EC2 instance first _______

A

A script that only runs when the EC2 instance first launches

34
Q

Key pairs are used to securely connect to which AWS service?

A

EC2 instances

35
Q

User data is data supplied by the user at _________ ______ in form of a _____

A

User data is data supplied by the user at instance launch in form of a script

36
Q

EC2 Partition Placement Groups spreads your instances across _______ _______

A

logical partitions

37
Q

Which type of EC2 instances can be placed into a placement group? (4)

A
  • Compute-optimized
  • Memory-optimized
  • Storage-optimized
  • & GPU
38
Q

What is the IP address for Metadata & Instance user data?

A
  1. 254.169.254/latest/meta-data/
  2. 254.169.254/latest/user-data
39
Q

EC2 Spread Placement Groups place a small group of instances across distinct underlying ________ to reduce correlated ________.

A

EC2 Spread Placement Groups place a small group of instances across distinct underlying hardware to reduce correlated failures.

40
Q

Compute-optimized EC2 instances are ideal for applications that benefit from

A

high-performance processors.

41
Q

Private IP address:

Retained when the_______ is ______
Used in ______ and _______ _______

A
  • Retained when the instance is stopped
  • Used in Public and Private Subnets
42
Q

If an instance fails these status checks, it is marked unhealthy and is _________ while Amazon EC2 Auto Scaling ______ a new _______.

A

If an instance fails these status checks, it is marked unhealthy and is terminated while Amazon EC2 Auto Scaling launches a new instance.

43
Q

An Amazon Machine Image (AMI) contains the following (3)

  • A template for the ____ volume
  • Launch _______
  • A block device _______ the volumes to attach
A
  • A template for the root volume
  • Launch Permissions
  • A block device mapping the volumes to attach
44
Q

Placement groups cannot be ______

A

Placement groups cannot be Merged

45
Q

AWS Nitro System is the ___________ platform for the next generation of ___ _________

A

AWS Nitro System is the underlying platform for the next generation of EC2 instances

46
Q

What are 3 key facts about EC2 Public IP addresses?

  • __ ______
  • Lost when the instance is ________
  • Used in _______ Subnets
A
  • No charge
  • Lost when the instance is stopped
  • Used in Public Subnets
47
Q

Amazon EC2 On-Demand Pricing offers standard pricing - no discount; no commitments; and its use cases are (2)

Short-term ___________ or ____ environments

____________ workloads

A

Short-term Development or Test environments

Unpredictable workloads

48
Q

What are the steps to move an existing instance into a placement group? (3)

A
  • Stop the instance
  • & Move using CLI or SDK
  • But it cannot be done via Console
49
Q

Security group rules for Inbound traffic is _______ by default

A

Security group rules for Inbound traffic are blocked by default

50
Q

Is user data and metadata encrypted?

A

No

51
Q

Between Spread, Cluster, and Partition, which of these placement groups can span more than one AZ?

A

Spread and Partition

52
Q

When starting an EC2 Instance that was in a hibernated state, all the processes previously running on the instance are _______ and previously attached ____ _______ are __________

A

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
Q

You should attach an Enhanced Networking Interface to an EC2 Instance if you need speeds between __ Gbps and ___ Gbps.

A

You should attach an Enhanced Networking Interface to an EC2 Instance if you need speeds between 10 Gbps and 100 Gbps.

54
Q

You should attach an Enhanced Networking Interface to an EC2 Instance if having reliable ____ ___________ is a concern of yours

A

You should attach an Enhanced Networking Interface to an EC2 Instance if having reliable High Throughput is a concern of yours

55
Q

Security group rules for Outbound traffic it’s _______ by default

A

Security group rules for Outbound traffic, it’s allowed by default