Sign inSign up free

1105. Poison Messages Block the Queue

medium 20 XP ~14 minHands-on lab

Workers read jobs from the SQS queue courier-api-jobs. Some jobs are malformed: the workers fail on them, the messages become visible again, and they're retried forever, wasting every worker's time.

The queue courier-api-jobs-dlq already exists for exactly this.

Task

  1. A message that has been received 4 times without being deleted moves from courier-api-jobs to courier-api-jobs-dlq.
  2. The two jobs already waiting in courier-api-jobs-dlq have been fixed upstream: move them back to courier-api-jobs, so the DLQ ends up empty and the main queue has them.

This machine has an AWS-style account (an emulator: nothing is billed). Your AWS CLI is signed in as the account's administrator.

About this machine

Ubuntu 24.04 with no internet access. You are student with passwordless sudo. The grader checks the final state of the machine, not the commands you typed. Values like names and ports are generated for you.

Part of AWS Hands-On. Next step: Subscribed, but No Messages Arrive

Teaching or writing about this? Embed this lab on your page

TerminalNot started

Your machine is ready to start

A fresh, isolated Ubuntu machine boots in a few seconds with the task already set up.

No account needed: 3 of 3 free tries left. Guest machines last 30 minutes.