Medium1 markMultiple Choice
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)
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
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
Expert