AWS - SNS and SQSWhich of the following is the correct JSON attribute to specify a FIFO queue when creating it via AWS SDK?A{ "QueueName": "myqueue.fifo", "Attributes": { "FifoQueue": true } }B{ "QueueName": "myqueue", "Attributes": { "FifoQueue": true } }C{ "QueueName": "myqueue.fifo", "Attributes": { "FifoQueue": "true" } }D{ "QueueName": "myqueue.fifo", "Attributes": { "fifoQueue": "true" } }Check Answer
Step-by-Step SolutionSolution:Step 1: Check correct attribute key and value typeThe attribute key is case-sensitive 'FifoQueue' and value must be string 'true'.Step 2: Verify queue name ends with '.fifo'The queue name must end with '.fifo' for FIFO queues.Final Answer:QueueName with '.fifo' and attribute 'FifoQueue' set to string 'true' -> Option CQuick Check:Correct attribute key and string value = { "QueueName": "myqueue.fifo", "Attributes": { "FifoQueue": "true" } } [OK]Quick Trick: Use 'FifoQueue' attribute as string 'true' with '.fifo' name [OK]Common Mistakes:Using boolean true instead of string 'true'Incorrect attribute key casingMissing '.fifo' suffix in queue name
Master "SNS and SQS" in AWS9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More AWS Quizzes API Gateway - REST API creation - Quiz 10hard API Gateway - API keys and usage plans - Quiz 9hard API Gateway - API deployment and stages - Quiz 11easy AWS Lambda - Environment variables in Lambda - Quiz 12easy Auto Scaling - Why auto scaling matters - Quiz 8hard Auto Scaling - Predictive scaling overview - Quiz 13medium Auto Scaling - Auto Scaling groups - Quiz 7medium Elastic Load Balancing - Why load balancing matters - Quiz 8hard Elastic Load Balancing - Network Load Balancer (NLB) - Quiz 10hard SNS and SQS - SNS topics and subscriptions - Quiz 6medium