Developing on AWS Flashcards

1
Q

These should be attached to an EC2 instance for better security

A

IAM Roles

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

You can retrieve the IAM Role name and IAM policy from the EC2 metadata?

A

False - Only the IAM Role name

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

What does the AWS SDK provide you?

A

if you want to perform actions on AWS directly from your applications code

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

It’s recommend to use this for SDK credentials security?

A

It’s recommend to use the default credential provider chain

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

The default credential provider chain works seamlessly with:

A
  • AWS credentials at ~/.aws/credentials (only on our computers or on premise)
  • Instance Profile Credentials using IAM Roles (for EC2 machines, etc…)
  • Environment variables (AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly