Flashcardsfor IT Certifications

D1: Lambda Event Lifecycle & Error Handling

AWS Associate AWS Certified Developer – Associate exam practice questions · 10 flashcards

Question
Synchronous invocation error handling?
1 / 10

Tip: Space flips the card, ← / → navigate.

Last updated: · Report an error on this page

Show all 10 Lambda Event Lifecycle & Error Handling practice questions and answers
  1. Synchronous invocation error handling?
    Caller receives error; caller is responsible for retries (e.g. API Gateway).
  2. Asynchronous invocation retries?
    Lambda retries twice by default (configurable 0–2) with delays; max event age up to 6 hours.
  3. Lambda destinations?
    Send async invocation results (on success/on failure) to SQS, SNS, Lambda, EventBridge, S3 (failure).
  4. Destinations vs DLQ?
    Destinations include more context and support success; DLQ (SQS/SNS) captures failed events only.
  5. Event source mapping error handling (SQS)?
    Failed messages return to the queue after visibility timeout; use redrive DLQ on the queue and partial batch responses.
  6. Which invocations are async?
    S3, SNS, EventBridge, CloudWatch Logs subscriptions, etc.
  7. Which use event source mappings?
    SQS, Kinesis, DynamoDB Streams, MSK, self-managed Kafka, Amazon MQ, DocumentDB.
  8. Throttled async invocation?
    Lambda retries for up to 6 hours, then sends to DLQ/destination.
  9. Error: 'Task timed out after X seconds'. Fix?
    Increase timeout, optimize code, check downstream calls/VPC connectivity.
  10. Lambda recursive loop detection?
    Lambda stops recursive invocations between Lambda/SQS/SNS/S3 after ~16 loops.