AMIs Flashcards

1
Q

What is included in an AMI?

A

All the information needed to launch an EC2 instance?

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

What does AMI stand for?

A

Amazon machine image

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

True or false: an AMI includes a template for the root volume?

A

True.

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

What is the template for the root volume?

A

An operating system, application, etc

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

True or false: an AMI includes the launch permissions?

A

True

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

What are the launch permissions for an AMI?

A

This defines which AWS accounts can use the AMI to launch the instance

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

True or false: an AMI includes a block-device mapping?

A

True

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

What is block device mapping for an AMI?

A

This specifies EBS volumes to attach to the instance at launch time.

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

True or false, AWS does not provide AMIs. Those must be created by the customer.

A

False. AWS provides a fleet of default AMIs.

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

How can you create your own AMI?

A

Get an instance just the way you need it, then create a custom image from the instance using the console.

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

You created a custom AMI using CLI, but now you can’t find it in the AMI menu? What’s wrong?

A

Since you used CLI to create the AMI, you must manually register the AMI before you can launch the instance.

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

you registered your AMI instance and switch to eu-west-1 to deploy your new AMI, but it isn’t in the AMI menu. What’s wrong?

A

Since you registered your AMI, the switched your region to deploy it, the AMI will not be registered in the new region. Copy the AMI to the new region and register it.

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

True or False: By default, a new AMI is public?

A

False, it is private

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

Can you share your AMI?

A

Yes, either with specific AWS accounts, or publicly

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

True or False: You can sell your AMI on the AWS AMI marketplace

A

True

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

Where are AMIs stored?

A

S3

17
Q

In order to copy a storage-backed AMI, what must the owner do to allow an AMI to be copied?

A

They must grant read permission for the storage that backs the AMI

18
Q

True or False: If you copy an AMI, you are now the owner of the copy, and will be charged for storage of that copy?

A

True

19
Q

True or False: You can copy and deploy from a shared encrypted AMI

A

False. You cannot directly copy a shared AMI.

20
Q

How can a sharer of an encrypted AMI allow you to deploy an instance from it?

A

They must share the AMI and the encryption key. Might be better to decrypt the AMI, then share it.