AWS - Identity and Access ManagementIf an IAM role's trust policy allows "arn:aws:iam::123456789012:user/Alice" as Principal, who can assume this role?AAny IAM user named Alice in any accountBThe IAM user Alice in account 123456789012CAny user in account 123456789012DOnly the root user of account 123456789012Check Answer
Step-by-Step SolutionSolution:Step 1: Understand ARN specificityThe ARN specifies a single IAM user named Alice in account 123456789012.Step 2: Match Principal to allowed entityOnly that specific user can assume the role, not all users or root.Final Answer:The IAM user Alice in account 123456789012 -> Option BQuick Check:Principal ARN specifies exact user allowed [OK]Quick Trick: Principal ARN targets specific user or entity [OK]Common Mistakes:MISTAKESAssuming all users in account can assume roleConfusing user name with account-wide permissionThinking root user is included
Master "Identity and Access Management" in AWS9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More AWS Quizzes AWS Account and Billing - Root user vs IAM user - Quiz 2easy AWS CLI - Configuring credentials - Quiz 7medium AWS CLI - CLI scripting basics - Quiz 13medium Cloud Computing Fundamentals - What is cloud computing - Quiz 1easy Cloud Computing Fundamentals - AWS free tier overview - Quiz 6medium Cloud Computing Fundamentals - What is cloud computing - Quiz 5medium S3 Fundamentals - Creating S3 buckets - Quiz 7medium Security Groups and Network ACLs - Network ACLs overview - Quiz 10hard Security Groups and Network ACLs - Stateful behavior of security groups - Quiz 14medium VPC Fundamentals - VPC peering concept - Quiz 2easy