Medium1 markMultiple Choice
Domain 4.4: Modernization RequirementsModernizationServerlessStep FunctionsArchitecture Patterns

AWS SAP-C02 · Question 74 · Domain 4.4: Modernization Requirements

A company is modernizing a legacy batch processing system. The new architecture will be event-driven. Files uploaded to Amazon S3 must trigger a workflow that extracts metadata, runs a machine learning inference using Amazon SageMaker, and updates an Amazon DynamoDB table. The workflow has multiple steps, conditional logic, and requires error handling and retries. Which TWO AWS services should be used to orchestrate and execute this workflow? (Select TWO)

Answer options:

A.

AWS Step Functions

B.

AWS Lambda

C.

Amazon SQS

D.

AWS CodePipeline

E.

Amazon EventBridge

F.

AWS Batch

How to approach this question

Identify the stateful workflow orchestrator (Step Functions) and the serverless compute engine (Lambda).

Full Answer

AWS Step Functions AWS Lambda
AWS Step Functions provides stateful orchestration, allowing you to define workflows with conditional logic, error handling, and retries. AWS Lambda provides the serverless compute to execute the individual tasks within that workflow.

Common mistakes

Choosing EventBridge, which is stateless and cannot manage complex, multi-step workflow states.

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

75 questions · hints · full answers · grading

More questions from this exam