Assuming IAM Roles Quiz

5 questions Pass: 70% +25 pts (50 with Pro)

Quiz covering Authentication and Authorization

What you'll be asked

  1. What is the primary purpose of using an IAM role instead of long-term IAM user credentials?
  2. When an EC2 instance assumes an IAM role, how does the application running on the instance obtain the temporary security credentials?
  3. An application in Account A needs to access an S3 bucket in Account B. What is required to facilitate this cross-account access?
  4. If a user is assigned an IAM policy with 'Deny' on 'sts:AssumeRole' and an inline policy with 'Allow' on 'sts:AssumeRole', what is the result?
  5. A developer has configured a Trust Policy for a role to allow an external entity to assume it. What is the impact of a misconfigured 'ExternalId' condition in the Trust Policy?

Answers and explanations come after you submit.