AWS - SNS and SQSWhy is it important to configure the correct access policy on an SQS queue subscribed to an SNS topic in a fan-out pattern?ATo enable the queue to publish messages back to SNS.BTo prevent SNS from deleting messages in the queue.CTo allow SNS to send messages to the queue securely.DTo allow the queue to subscribe to multiple SNS topics.Check Answer
Step-by-Step SolutionSolution:Step 1: Understand access policy roleAccess policy grants SNS permission to send messages to the SQS queue.Step 2: Confirm security purposeProper policy ensures secure and authorized message delivery.Final Answer:To allow SNS to send messages to the queue securely. -> Option CQuick Check:Access policy enables SNS message delivery [OK]Quick Trick: Access policy must allow SNS to send messages [OK]Common Mistakes:Thinking policy controls message deletionAssuming queue publishes messages to SNSBelieving policy controls multiple subscriptions
Master "SNS and SQS" in AWS9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More AWS Quizzes API Gateway - Why API Gateway matters - Quiz 1easy AWS Lambda - Event triggers for Lambda - Quiz 11easy Auto Scaling - Auto Scaling groups - Quiz 5medium Auto Scaling - Minimum, maximum, and desired capacity - Quiz 15hard DynamoDB - Creating a DynamoDB table - Quiz 14medium DynamoDB - Tables, items, and attributes - Quiz 5medium Elastic Load Balancing - Why load balancing matters - Quiz 1easy Elastic Load Balancing - SSL/TLS termination - Quiz 15hard RDS and Relational Databases - RDS pricing considerations - Quiz 8hard SNS and SQS - Sending and receiving messages - Quiz 9hard