Quizzes · Glossary term

SQS (Simple Queue Service)

Level 0 questions on SQS (Simple Queue Service). Read about it first if it's new to you.

  • 13 questions
  • 1 correct answer of 4 each
  • Pass line 80%

Questions and answers come in a new order every time, and every choice is explained. Your answers feed your weak spots on the exam page; they don't change your exam score.

Question 1Todo.io's worker is a Lambda function that handles messages from an SQS queue. How do the messages reach the function?

Choose one answer

Learn it: Lambda · SQS

Question 2A Lambda function with a 60-second timeout processes an SQS queue whose visibility timeout is 30 seconds. Some messages are processed twice. What is the fix?

Choose one answer

Learn it: Lambda · SQS (Simple Queue Service)

Question 3Every morning at 9:00, thousands of Todo.io users add todos within a few minutes. The app writes each todo straight to its database, which can't keep up, and some saves fail. No todo may be lost. What should Todo.io do?

Choose one answer

Learn it: SQS (Simple Queue Service) · Design Todo.io with the Queue add-on

Question 4Todo.io's worker reads jobs from a standard SQS queue. Very rarely, a todo is counted twice in a user's stats. What is the most likely cause, and the right fix?

Choose one answer

Learn it: SQS (Simple Queue Service) · Design Todo.io with the Queue add-on

Question 5What does it mean that an SQS queue decouples Todo.io's app from its worker?

Choose one answer

Learn it: SQS (Simple Queue Service)

Question 6Todo.io's worker is down for three days. Messages keep arriving in its standard SQS queue, which uses the default settings. What happens to them?

Choose one answer

Learn it: SQS (Simple Queue Service)

Question 7Todo.io's worker receives a message, then crashes before deleting it. What happens to the message?

Choose one answer

Learn it: SQS (Simple Queue Service)

Question 8Events about each todo must be processed in exactly the order they happened, and only once. Which queue fits?

Choose one answer

Learn it: SQS (Simple Queue Service)

Question 9Todo.io's app gets AccessDenied when it calls SendMessage on its queue. What should be fixed?

Choose one answer

Learn it: SQS (Simple Queue Service) · IAM policy

Question 10Todo.io moves "send a welcome email" out of sign-up and into a queue with a worker. What changes for a user who signs up?

Choose one answer

Learn it: SQS (Simple Queue Service)

Question 11What does "SQS (Simple Queue Service)" mean?

Choose one answer

Learn it: SQS (Simple Queue Service)

Question 12Which term is this? "A managed queue. One part of your system drops messages in, another takes them out later."

Choose one answer

Learn it: SQS (Simple Queue Service)

Question 13Which AWS term is described by this analogy? "A ticket rail in a restaurant kitchen. Waiters clip orders up, cooks take them down when ready."

Choose one answer

Learn it: SQS (Simple Queue Service)