Retry only the failed SQS records

A hands-on DVA-C02 lab. You produce the real artefact and 9 automated checks verify it behaves the way the exam expects.

Try this labAll DVA-C02 practice

Certification
DVA-C02
Format
Artifact workspace
Difficulty
medium
Estimated time
12 min
Automated checks
9

The brief

Repair handler.py so every record is attempted once and a record failure does not stop later records. Preserve the supplied process_order import and lambda_handler(event, context) signature. Return exactly one batchItemFailures list containing only failed records, each as an itemIdentifier set to that record's messageId. An empty or fully successful batch must return an empty list, and the incoming event must remain unchanged.

Part of DVA-C02 preparation

Labs are written by ExamNova to teach the decisions the exam tests. They are not reproductions of vendor lab content.