DOP-C02 Exam QuestionsBrowse all questions from this exam

DOP-C02 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?

Show Answer
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

2 comments
Sign in to comment
trungtdOption: D
Jul 15, 2024

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

tgvOption: D
Jul 19, 2024

---> D