AWS - SNS and SQSWhich of the following is the correct JSON attribute to set a message delay of 10 seconds when sending a message to SQS?A"WaitTimeSeconds": 10B"MessageDelay": 10C"DelayTime": 10D"DelaySeconds": 10Check Answer
Step-by-Step SolutionSolution:Step 1: Recall SQS SendMessage ParametersThe correct attribute to set message delay is "DelaySeconds" with the number of seconds as value.Step 2: Verify Other Options"MessageDelay" and "DelayTime" are invalid attribute names; "WaitTimeSeconds" is used for long polling, not delay.Final Answer:"DelaySeconds": 10 -> Option DQuick Check:Message delay attribute = DelaySeconds [OK]Quick Trick: Use DelaySeconds to set message delay in SQS [OK]Common Mistakes:Using WaitTimeSeconds instead of DelaySecondsUsing incorrect attribute names like MessageDelayConfusing delay with long polling settings
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 14medium API Gateway - Why API Gateway matters - Quiz 15hard AWS Lambda - Lambda layers for shared code - Quiz 11easy AWS Lambda - Creating a Lambda function - Quiz 12easy AWS Lambda - Event triggers for Lambda - Quiz 3easy Auto Scaling - Auto Scaling with ELB integration - Quiz 11easy CloudWatch - Why monitoring matters - Quiz 11easy CloudWatch - Default vs custom metrics - Quiz 7medium RDS and Relational Databases - Launching an RDS instance - Quiz 2easy RDS and Relational Databases - RDS supported engines - Quiz 1easy