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 7Question 50
    Medium1 markMultiple Choice
    Domain 2.4: ReliabilityReliabilityStep FunctionsServerless

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

    An architecture uses AWS Step Functions to orchestrate a complex order fulfillment process. One of the steps invokes an AWS Lambda function that interacts with a third-party payment API. The third-party API occasionally experiences rate limiting and returns 429 Too Many Requests errors. How should the architect handle these errors to ensure the order process eventually succeeds without manual intervention?

    Answer options:

    A.

    Configure the Lambda function to sleep for 10 seconds and retry the API call.

    B.

    Configure a Retry block in the Step Functions state machine for the specific error code, using exponential backoff.

    C.

    Use Amazon SQS as a Dead Letter Queue for the Lambda function.

    D.

    Increase the timeout of the Step Functions state machine.

    How to approach this question

    Leverage native Step Functions error handling.

    Full Answer

    B.Configure a Retry block in the Step Functions state machine for the specific error code, using exponential backoff.✓ Correct
    Configure a Retry block in the Step Functions state machine for the specific error code, using exponential backoff.
    AWS Step Functions has built-in error handling. You can configure a `Retry` block for specific errors (like 429s) and specify an `IntervalSeconds`, `MaxAttempts`, and `BackoffRate` to implement exponential backoff natively.

    Common mistakes

    Implementing retry logic inside the Lambda function, which costs money while waiting.
    Question 49All questionsQuestion 51

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

    75 questions · hints · full answers · grading

    Sign up freeTake the exam

    More questions from this exam

    Q01A global enterprise is designing a multi-region network architecture connecting 50 AWS accounts a...HardQ02A company is migrating its hybrid network to AWS. They have two 10 Gbps AWS Direct Connect connec...HardQ03An enterprise has 100 AWS accounts in AWS Organizations. The security team mandates that all Amaz...MediumQ04A financial company requires that all EBS volumes, S3 buckets, and RDS databases be encrypted usi...EasyQ05An enterprise is designing a disaster recovery strategy for a critical application running on Ama...Hard
    View all 75 questions →