For IndividualsFor Educators
ExpertMinds LogoExpertMinds
ExpertMinds

Ace your certifications with Practice Exams and AI assistance.

  • Browse Exams
  • For Educators
  • Blog
  • Privacy Policy
  • Terms of Service
  • Cookie Policy
  • Support
  • AWS SAA Exam Prep
  • PMI PMP Exam Prep
  • CPA Exam Prep
  • GCP PCA Exam Prep

© 2026 TinyHive Labs. Company number 16262776.

    PracticeAWS Solutions Architect Professional (SAP-C02)AWS Solutions Architect Professional SAP-C02 Practice Exam 1Question 40
    Medium1 markMultiple Choice
    Domain 2.4: ReliabilityReliabilityLambdaServerless

    AWS SAP-C02 · Question 40 · Domain 2.4: Reliability

    An architect is designing a serverless data processing pipeline. Amazon S3 events trigger an AWS Lambda function, which processes the data and writes to Amazon DynamoDB. The Lambda function occasionally fails due to downstream throttling. How can the architect ensure no data is lost during these failures with the LEAST operational overhead?

    Answer options:

    A.

    Write custom retry logic within the Lambda function code.

    B.

    Configure an Amazon SQS Dead-Letter Queue (DLQ) or an On-Failure destination for the Lambda function.

    C.

    Use AWS Step Functions to orchestrate the S3 to Lambda invocation.

    D.

    Increase the memory and timeout settings of the Lambda function.

    How to approach this question

    Identify the native AWS mechanism for handling failed asynchronous Lambda invocations.

    Full Answer

    B.Configure an Amazon SQS Dead-Letter Queue (DLQ) or an On-Failure destination for the Lambda function.✓ Correct
    For asynchronous invocations, Lambda retries failures automatically. If all retries fail, configuring a Dead-Letter Queue (DLQ) or an On-Failure destination ensures the event is saved for manual analysis or reprocessing.

    Common mistakes

    Writing custom retry logic, which is an anti-pattern for asynchronous Lambda invocations.
    Question 39All questionsQuestion 41

    Practice the full AWS Solutions Architect Professional SAP-C02 Practice Exam 1

    75 questions · hints · full answers · grading

    Sign up freeTake the exam

    More questions from this exam

    Q01An enterprise has 50 VPCs across two AWS Regions. They need to establish transitive routing betwe...HardQ02A company uses AWS Organizations. The security team wants to ensure that no IAM user or role can ...MediumQ03An application requires a relational database with an RPO of 1 second and an RTO of less than 1 m...HardQ04A company is setting up a new multi-account environment. They want to automate the provisioning o...MediumQ05An organization wants to allocate AWS costs to specific business units. They use AWS Organization...Hard
    View all 75 questions →