AWS Certified DevOps Engineer – Professional — Question 108

A company is running a custom-built application that processes records. All the components run on Amazon EC2 instances that run in an Auto Scaling group. Each record's processing is a multistep sequential action that is compute-intensive. Each step is always completed in 5 minutes or less.

A limitation of the current system is that if any steps fail, the application has to reprocess the record from the beginning. The company wants to update the architecture so that the application must reprocess only the failed steps.

What is the MOST operationally efficient solution that meets these requirements?

Answer options

Correct answer: D

Explanation

The correct answer is D because AWS Step Functions allows for orchestrating complex workflows by breaking down processes into smaller tasks, enabling the reprocessing of only the failed steps. Option A involves storing results in S3 but does not provide step management, B complicates the process by requiring self-invocation in containers, and C lacks proper workflow orchestration for error handling.