Quizzes · Glossary term

IAM role

Level 0 questions on IAM role. Read about it first if it's new to you.

  • 10 questions
  • 1 correct answer of 4 each
  • Pass line 80%

Questions and answers come in a new order every time, and every choice is explained. Your answers feed your weak spots on the exam page; they don't change your exam score.

Question 1Todo.io creates a new member account from its management account with AWS Organizations. Nobody knows a password for the new account. How does an administrator get in the first time?

Choose one answer

Learn it: AWS Organizations · Set up AWS: Day 0 · IAM role

Question 2A Todo.io Lambda function must write to a DynamoDB table. How should it get that permission?

Choose one answer

Learn it: IAM role · Lambda

Question 3Which part of an IAM role decides who is allowed to assume it?

Choose one answer

Learn it: IAM role

Question 4The Todo.io app runs on an EC2 instance and must write to a DynamoDB table. What is the most secure way to give it AWS credentials?

Choose one answer

Learn it: EC2 (Elastic Compute Cloud) · Temporary credentials · IAM role · Design Todo.io on EC2

Question 5Todo.io's app on EC2 has a role attached through an instance profile. Where does the AWS SDK get the role's credentials from?

Choose one answer

Learn it: Temporary credentials · IAM role

Question 6Code inside Todo.io's ECS task must send messages to SQS. Which role should be allowed sqs:SendMessage?

Choose one answer

Learn it: ECS and Fargate · IAM role

Question 7How many execution roles does a Lambda function have?

Choose one answer

Learn it: Lambda · IAM role

Question 8What does "IAM role" mean?

Choose one answer

Learn it: IAM role

Question 9Which term is this? "An identity with permissions that something can "wear" temporarily. No password."

Choose one answer

Learn it: IAM role

Question 10Which AWS term is described by this analogy? "A visitor badge that's handed out at the door and expires."

Choose one answer

Learn it: IAM role