ExamQuestions.com

Register
Login
AWS Certified Developer Associate Exam Questions

Amazon

AWS Certified Developer Associate

149 / 474

Question 149:

Your team developed and deployed a java application on an EC2 Instance. To test the application, you were given access credentials through keys using environment variables. This gave you the permissions to write to an S3 bucket. Once the testing was confirmed, an IAM role was assigned to the instance. This role only has permissions to read, but you notice that the application still has access to write to the S3 bucket. What could be the reason?

Answer options:

A.You need to restart the instance for the role settings to take effect.
B.The environment variables which were set for SDK access are taking priority.
C.The CLI is corrupted, hence the credentials are not being revoked.
D.The EBS volume needs to be reattached again for the instance profile to take effect.