AWS SDK, IAM Roles & Policies Flashcards

1
Q

Allows AWS EC2 instances to “learn about themselves” without using an IAM Role for that purpose

A

Metadata

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

You can retrieve the IAM Role name from the metadata but what?

A

You CANNOT retrieve the IAM policy

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

What is the metadata?

A

Info about the EC2 instance

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

What is the userdata?

A

Launch script of the EC2 instance

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

What is the internal IP for AWS (URL)?

A

169.254.169.254

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

What does “\” mean?

A

Its more to it

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

You want to perform actions on AWS directly from your applications code without using the CLI.

What should you use?

A

AWS SDK

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

When do you use an SDK?

A

When coding against AWS Services such as DynamoDB or Amazon S3

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

If you don’t specify or configure a default region for SDK then what happens?

A

us-east-1 will be chosen by default

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

What is the proper way to provide credentials and permissions to an EC2 instance?

A

IAM Roles

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

What does API stand for?

A

Application Programming Interfaces

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

Software to software interfaces.

They allow different applications to talk to each other and exchange information or functionality

A

API

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

Let’s you see how an IAM policy change might impact a principal’s access before you commit to making the change.

This ensures that the changes you’re making won’t cause a principal to lose access that they need.

A

Policy Simulator

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