EC2 - AMI/Instance Store Flashcards

1
Q

What does AMI stand for?

A

AMI stands for Amazon Machine Image.

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

What does an AMI represent?

A

An AMI represents a customization of an EC2 instance, including the software configuration, operating system, and other settings.

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

How does using a custom AMI benefit EC2 instance launch?

A

A custom AMI results in faster boot times and configuration times since the software is prepackaged and preinstalled.

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

Can you launch EC2 instances from different types of AMIs?

A

Yes, you can launch EC2 instances from public AMIs (provided by AWS), custom AMIs (created by you), or Marketplace AMIs (created and sold by others).

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

How do you create an AMI from an EC2 instance?

A

The process to create an AMI involves:

Launch an EC2 instance.
Customize the instance.
Stop the instance to ensure data integrity.
Build an AMI from the instance, which also creates EBS snapshots.

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

Can you copy an AMI across regions?

A

Yes, an AMI can be created in one region and then copied to other regions to leverage AWS’s global infrastructure.

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

What is the process for creating and launching instances from an AMI across Availability Zones?

A

Launch and customize an EC2 instance in one Availability Zone (e.g., US-EAST-1A).
Create an AMI from the instance.
Copy the AMI to another AZ (e.g., US-EAST-1B).
Launch a new EC2 instance from the AMI in the new AZ.

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

What is the AWS Marketplace AMI?

A

Marketplace AMIs are AMIs created by vendors and sold in the AWS Marketplace. These AMIs are often preconfigured with software and save users time in setup.

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

What is EC2 Instance Store?

A

EC2 Instance Store is a hardware disk directly attached to the physical server hosting the EC2 instance, providing high-performance storage.

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

Why would you use EC2 Instance Store?

A

EC2 Instance Store is ideal for high I/O performance and high throughput, making it a good choice for workloads that require fast disk access.

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

What is the main limitation of EC2 Instance Store?

A

The main limitation is that the storage is ephemeral, meaning if the EC2 instance is stopped or terminated, the data stored in the Instance Store is lost.

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

What are good use cases for EC2 Instance Store?

A

EC2 Instance Store is suitable for buffering, caching, scratch data, and temporary content, but not for long-term storage.

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

What happens if the underlying hardware for EC2 Instance Store fails?

A

If the underlying server hardware fails, you risk data loss since the Instance Store is directly tied to the physical server.

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

How is EC2 Instance Store different from EBS?

A

EBS provides persistent storage that survives instance stop/termination, whereas EC2 Instance Store is ephemeral and data is lost if the instance is stopped or terminated.

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

What responsibility do you have when using EC2 Instance Store?

A

You are responsible for backing up and replicating data stored in EC2 Instance Store, especially since it is ephemeral and could be lost if the instance fails.

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

What is the IOPS performance comparison between EC2 Instance Store and EBS?

A

EC2 Instance Store can achieve millions of IOPS (e.g., 3.3 million random read IOPS), while EBS volumes like gp2 offer around 32,000 IOPS.

17
Q

How would you characterize EC2 Instance Store from an exam perspective?

A

EC2 Instance Store is often associated with high-performance storage and is used in instances with local hardware disk. For exam purposes, if you see high-performance storage attached to an EC2 instance, think EC2 Instance Store.