Developing on AWS Flashcards
1
Q
These should be attached to an EC2 instance for better security
A
IAM Roles
2
Q
You can retrieve the IAM Role name and IAM policy from the EC2 metadata?
A
False - Only the IAM Role name
3
Q
What does the AWS SDK provide you?
A
if you want to perform actions on AWS directly from your applications code
4
Q
It’s recommend to use this for SDK credentials security?
A
It’s recommend to use the default credential provider chain
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)