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 5Question 50
    Medium1 markMultiple Choice
    Domain 2.1: Deployment StrategyArchitectureStep FunctionsMachine Learning

    AWS SAP-C02 · Question 50 · Domain 2.1: Deployment Strategy

    A company is building a machine learning pipeline. Data scientists upload raw images to an S3 bucket. An AWS Lambda function is triggered to resize the images. The resized images are then processed by an Amazon SageMaker training job. The pipeline must be fully automated, handle errors gracefully (with retries and exponential backoff), and provide a visual dashboard of the workflow state. Which combination of services and features should be used? (Select TWO)

    Answer options:

    A.

    Use AWS Step Functions to orchestrate the workflow, including the Lambda function and SageMaker job.

    B.

    Configure the Step Functions state machine with Catch and Retry blocks to handle errors and implement exponential backoff.

    C.

    Use Amazon SQS to decouple the Lambda function and the SageMaker job.

    D.

    Use AWS CodePipeline to orchestrate the image processing and model training.

    E.

    Write a master Lambda function that calls the resizing Lambda and then synchronously calls the SageMaker API.

    F.

    Use Amazon EventBridge rules to trigger each step sequentially based on S3 event notifications.

    How to approach this question

    Identify the AWS service designed for visual workflow orchestration and its native error handling features.

    Full Answer

    Use AWS Step Functions to orchestrate the workflow, including the Lambda function and SageMaker job., Configure the Step Functions state machine with Catch and Retry blocks to handle errors and implement exponential backoff.
    AWS Step Functions is the ideal service for orchestrating complex, multi-step workflows like machine learning pipelines. It integrates directly with AWS Lambda and Amazon SageMaker. It provides a visual console to monitor the state of each execution. Furthermore, the Amazon States Language (ASL) allows you to easily define `Retry` and `Catch` blocks to handle errors gracefully with exponential backoff, without writing custom error-handling code.

    Common mistakes

    Using Lambda to orchestrate other Lambdas (anti-pattern) or confusing CI/CD (CodePipeline) with data orchestration.
    Question 49All questionsQuestion 51

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

    75 questions · hints · full answers · grading

    Sign up freeTake the exam

    More questions from this exam

    Q01A global enterprise is redesigning its AWS network architecture across 50 AWS accounts and 3 AWS ...HardQ02A company uses AWS Organizations to manage multiple accounts. The security team mandates that no ...MediumQ03A financial institution requires a disaster recovery strategy for its critical trading applicatio...HardQ04An enterprise is setting up a new multi-account AWS environment using AWS Control Tower. They nee...MediumQ05A company has a complex AWS environment with hundreds of linked accounts under AWS Organizations....Hard
    View all 75 questions →