AWS - S3 FundamentalsWhich of the following is the correct JSON key to specify who is allowed or denied access in a bucket policy?A"Action"B"Principal"C"Resource"D"Effect"Check Answer
Step-by-Step SolutionSolution:Step 1: Identify the key for user or serviceThe "Principal" key specifies the user, account, service, or entity the policy applies to.Step 2: Differentiate from other keys"Action" defines allowed actions, "Resource" defines the bucket or objects, "Effect" states Allow or Deny.Final Answer:"Principal" -> Option BQuick Check:Who = Principal [OK]Quick Trick: Principal means who gets access [OK]Common Mistakes:Confusing "Action" with "Principal"Using "Effect" to specify userMixing up "Resource" with user identity
Master "S3 Fundamentals" in AWS9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More AWS Quizzes AWS CLI - Basic CLI commands (s3, ec2) - Quiz 11easy AWS CLI - Why CLI matters for automation - Quiz 4medium Cloud Computing Fundamentals - Why cloud over on-premises - Quiz 7medium Cloud Computing Fundamentals - AWS Management Console walkthrough - Quiz 1easy Identity and Access Management - IAM roles concept - Quiz 13medium Security Groups and Network ACLs - Security group as virtual firewall - Quiz 8hard Security Groups and Network ACLs - Inbound and outbound rules - Quiz 10hard VPC Fundamentals - NAT Gateway for private subnet internet - Quiz 6medium VPC Fundamentals - VPC peering concept - Quiz 11easy VPC Fundamentals - Creating a custom VPC - Quiz 2easy