EC2 Advanced Flashcards

1
Q

What is User Data used for?

A

Bootstrapping EC2 instance to allow for build automation when first launching an instance.

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

What is the size limit of User Data?

A

16 KB

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

What can cfn-init help with?

A

Providing more flexible instance configuration. Better checking of correct configuration.

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

What are EC2 Instance Roles used for?

A

Allow EC2 instances to interact with AWS services. More secure than adding access keys.

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

What is SSM Parameter Store used for?

A

Storing parameters like database strings, config, passwords to access from EC2 instance. Think kind of like environment variables.

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

What is the difference between a dedicated instance and a dedicated host?

A

With a dedicated instance, you still share hardware, so you can’t use server-bound licenses or meet regulatory requirements.

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

Why might you want to use CloudWatch Agent?

A

To capture metrics on data about things running inside EC2 instances such as log data.

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

Why would you want to use a cluster placement group?

A

Need best networking performance between instances

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

Why would you want to use a spread placement group?

A

Have small number of critical instances that need to be kept separate

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

Why would you want to use a partition placement group?

A

Contain impact of failure to part of an application

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

How is instance used charge when using a dedicated host?

A

You don’t actually pay for instance usage since you pay for the hardware.

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