Ec2 Instance Profile — AWS Solutions Architect Associate Practice Questions
An EC2 instance profile is the container that holds an IAM role and is attached to an EC2 instance so that applications running on the instance can retrieve temporary credentials from the EC2 metadata service. The Solutions Architect Associate exam tests instance profiles as the recommended and secure way to grant EC2 instances permissions to interact with other AWS services such as S3, DynamoDB, or SSM, without storing access keys on the instance. When an instance profile is attached, the AWS SDKs and CLI automatically retrieve and refresh credentials from the instance metadata endpoint. A common exam scenario involves replacing hardcoded credentials in an application with an instance profile to follow security best practices.
Free questions on ec2 instance profile
A company requires its EC2 instances to access S3 without using access keys. What is the recommended approach?
Free question · easy · full answer + explanation