Bird
0
0

Which of the following is the correct JSON attribute to specify a FIFO queue when creating it via AWS SDK?

easy📝 Configuration Q3 of 15
AWS - SNS and SQS
Which 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" } }
Step-by-Step Solution
Solution:
  1. Step 1: Check correct attribute key and value type

    The attribute key is case-sensitive 'FifoQueue' and value must be string 'true'.
  2. Step 2: Verify queue name ends with '.fifo'

    The queue name must end with '.fifo' for FIFO queues.
  3. Final Answer:

    QueueName with '.fifo' and attribute 'FifoQueue' set to string 'true' -> Option C
  4. Quick 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 casing
  • Missing '.fifo' suffix in queue name

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes