Exam DOP-C02 All QuestionsBrowse all questions from this exam
Question 265

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?

    Correct Answer: D

    The most operationally efficient solution is to use AWS Step Functions with AWS Lambda functions. AWS Step Functions allow you to build and orchestrate complex workflows by breaking down the processing into steps and coordinating them. Each step can be handled by a Lambda function, ensuring that if a step fails, only that specific step needs to be retried, rather than restarting the entire process. This decouples the tasks, provides built-in error handling and retry logic, and allows for state management, which meets the requirement of reprocessing only the failed steps.

Discussion
tgvOption: D

---> D

trungtdOption: D

Step Functions and Lambda: - Decoupling Tasks - Error Handling and Retry Logic - State Management