AWS - SNS and SQSWhy does AWS recommend using long polling instead of short polling when receiving messages from an SQS queue?ALong polling reduces empty responses and lowers cost by waiting for messages.BLong polling increases the speed of message delivery.CLong polling guarantees message order.DLong polling encrypts messages automatically.Check Answer
Step-by-Step SolutionSolution:Step 1: Understand difference between short and long pollingShort polling returns immediately even if no messages; long polling waits for messages to arrive.Step 2: Identify benefits of long pollingLong polling reduces empty responses, saving cost and improving efficiency.Final Answer:Long polling reduces empty responses and lowers cost by waiting for messages. -> Option AQuick Check:Long polling reduces empty receives and cost [OK]Quick Trick: Long polling waits for messages, saving cost [OK]Common Mistakes:MISTAKESThinking long polling speeds deliveryAssuming it guarantees orderBelieving it encrypts messages
Master "SNS and SQS" in AWS9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More AWS Quizzes API Gateway - API deployment and stages - Quiz 8hard API Gateway - REST API creation - Quiz 7medium API Gateway - REST API creation - Quiz 15hard API Gateway - API keys and usage plans - Quiz 6medium AWS Lambda - Lambda layers for shared code - Quiz 12easy CloudWatch - CloudWatch alarms - Quiz 9hard CloudWatch - CloudWatch Logs - Quiz 2easy DynamoDB - Scan vs query performance - Quiz 12easy Elastic Load Balancing - Target groups concept - Quiz 9hard RDS and Relational Databases - RDS backup and snapshots - Quiz 6medium