SAA-C03 · Question #290
An insurance company runs an application on premises to process contracts. The application processes jobs that are comprised of many tasks. The individual tasks run for up to 5 minutes. Some jobs…
The correct answer is B. Use a state machine in AWS Step Functions to handle the overall contract processing job. AWS Step Functions supports long-running workflows and error retries, making it ideal for a job composed of many tasks. Integration with EventBridge allows automatic triggering from S3 events. This setup is resilient and supports up to 1-year execution duration.
Question
An insurance company runs an application on premises to process contracts. The application processes jobs that are comprised of many tasks. The individual tasks run for up to 5 minutes. Some jobs can take up to 24 hours in total to finish. If a task fails, the task must be reprocessed. The company wants to migrate the application to AWS. The company will use Amazon S3 as part of the solution. The company wants to configure jobs to start automatically when a contract is uploaded to an S3 bucket. Which solution will meet these requirements?
Options
- AUse AWS Lambda functions to process individual tasks. Create a primary Lambda function to
- BUse a state machine in AWS Step Functions to handle the overall contract processing job.
- CUse an AWS Batch job to handle the overall contract processing job. Configure the S3 bucket to
- DUse an S3 event notification to notify an Amazon Simple Queue Service (Amazon SQS) queue
How the community answered
(32 responses)- A9% (3)
- B72% (23)
- C16% (5)
- D3% (1)
Explanation
AWS Step Functions supports long-running workflows and error retries, making it ideal for a job composed of many tasks. Integration with EventBridge allows automatic triggering from S3 events. This setup is resilient and supports up to 1-year execution duration.
Community Discussion
No community discussion yet for this question.