AWS - SNS and SQSYou set the VisibilityTimeout of an SQS queue to 30 seconds. A message is received and not deleted. What happens after 30 seconds?AThe message is deleted automaticallyBThe message becomes visible again and can be received againCThe message is moved to a dead-letter queueDThe queue stops delivering messagesCheck Answer
Step-by-Step SolutionSolution:Step 1: Understand VisibilityTimeout effectVisibilityTimeout hides a message from other consumers for the set time after being received.Step 2: What happens if message is not deleted after timeout?If not deleted, after 30 seconds the message becomes visible again for processing by others.Final Answer:The message becomes visible again and can be received again -> Option BQuick Check:VisibilityTimeout expiry = message visible again [OK]Quick Trick: VisibilityTimeout hides message temporarily, then shows it again [OK]Common Mistakes:MISTAKESThinking message deletes automatically after timeoutConfusing dead-letter queue behaviorAssuming queue stops working
Master "SNS and SQS" in AWS9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More AWS Quizzes API Gateway - CORS configuration - Quiz 4medium AWS Lambda - Lambda handler function structure - Quiz 3easy AWS Lambda - Lambda execution model - Quiz 13medium Auto Scaling - Why auto scaling matters - Quiz 8hard Auto Scaling - Scheduled scaling - Quiz 10hard Auto Scaling - Minimum, maximum, and desired capacity - Quiz 10hard DynamoDB - Tables, items, and attributes - Quiz 5medium DynamoDB - Why DynamoDB for NoSQL - Quiz 13medium Elastic Load Balancing - Cross-zone load balancing - Quiz 4medium Elastic Load Balancing - Target groups concept - Quiz 7medium