AWS Certified Developer Associate (#94)

A Developer has created a software package to be deployed on multiple EC2 instances using IAM roles. What actions could be performed to verify IAM access to get records from Amazon Kinesis Streams? (Select TWO.)

Use the AWS CLI to retrieve the IAM group.
Query Amazon EC2 metadata for in-line IAM policies.
Request a token from AWS STS, and perform a describe action.
Perform a get action using the
–-dry-run
argument.
Validate the IAM role policy with the IAM policy simulator.