AWS - Identity and Access ManagementIn an IAM role trust policy JSON, which key is used to specify the AWS account or service that can assume the role?A"Condition"B"Action"C"Resource"D"Principal"Check Answer
Step-by-Step SolutionSolution:Step 1: Identify trust policy structureThe trust policy defines who can assume the role using the "Principal" element.Step 2: Understand other keys"Action" specifies the allowed actions, "Resource" is not used in trust policies, and "Condition" adds constraints.Final Answer:"Principal" -> Option DQuick Check:Trust policy's "Principal" defines trusted entity [OK]Quick Trick: "Principal" key defines who can assume the role [OK]Common Mistakes:MISTAKESUsing "Resource" instead of "Principal" in trust policyConfusing "Action" with trusted entityOmitting the "Principal" key
Master "Identity and Access Management" in AWS9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More AWS Quizzes AWS CLI - Basic CLI commands (s3, ec2) - Quiz 4medium AWS CLI - CLI scripting basics - Quiz 6medium EC2 Fundamentals - Launching an EC2 instance - Quiz 14medium Identity and Access Management - IAM best practices - Quiz 12easy S3 Fundamentals - Why S3 matters for object storage - Quiz 6medium Security Groups and Network ACLs - Stateless behavior of NACLs - Quiz 8hard Security Groups and Network ACLs - Default security group behavior - Quiz 14medium VPC Fundamentals - Route tables configuration - Quiz 9hard VPC Fundamentals - NAT Gateway for private subnet internet - Quiz 12easy VPC Fundamentals - Default VPC overview - Quiz 8hard