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 4Question 33
    Medium1 markMultiple Choice
    Domain 2.4: Reliability RequirementsStep FunctionsServerlessReliability

    AWS SAP-C02 · Question 33 · Domain 2.4: Reliability Requirements

    A company is building a serverless application using AWS Step Functions to orchestrate a complex workflow. One of the steps involves calling an external third-party API that is known to be unreliable and frequently times out. The workflow must not fail immediately; it should retry the API call up to 5 times, waiting longer between each attempt. How should the architect implement this?

    Answer options:

    A.

    Write custom retry logic with Thread.sleep() inside the AWS Lambda function that calls the API.

    B.

    Configure the Retry field in the Step Functions Task state with an IntervalSeconds and a BackoffRate.

    C.

    Use an Amazon SQS queue with a visibility timeout to delay the retries.

    D.

    Configure AWS App Mesh to intercept the API call and apply a retry policy.

    How to approach this question

    Identify the native orchestration feature for retries.

    Full Answer

    B.Configure the Retry field in the Step Functions Task state with an IntervalSeconds and a BackoffRate.✓ Correct
    AWS Step Functions allows you to define Retry logic directly in the state machine definition. You can specify the number of MaxAttempts, the initial IntervalSeconds, and a BackoffRate to implement exponential backoff without writing custom code or paying for idle compute.

    Common mistakes

    Implementing retries inside Lambda, which increases AWS bill due to idle wait time.
    Question 32All questionsQuestion 34

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

    75 questions · hints · full answers · grading

    Sign up freeTake the exam

    More questions from this exam

    Q01A global enterprise is redesigning its network architecture across 50 AWS accounts. They require ...HardQ02A financial services company uses AWS Organizations to manage 100+ accounts. The security team ma...MediumQ03An e-commerce company requires a multi-region active-active architecture for its critical order p...MediumQ04A company is setting up a new AWS environment using AWS Control Tower. They need to ensure that a...HardQ05An enterprise has 50 AWS accounts under AWS Organizations. They want to implement a chargeback mo...Medium
    View all 75 questions →