exam questions

Exam AWS Certified DevOps Engineer - Professional DOP-C02 All Questions

View all questions & answers for the AWS Certified DevOps Engineer - Professional DOP-C02 exam

Exam AWS Certified DevOps Engineer - Professional DOP-C02 topic 1 question 265 discussion

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?

  • A. Create a web application to write records to Amazon S3. Use S3 Event Notifications to publish to an Amazon Simple Notification Service (Amazon SNS) topic. Use an EC2 instance to poll Amazon SNS and start processing. Save intermediate results to Amazon S3 to pass on to the next step.
  • B. Perform the processing steps by using logic in the application. Convert the application code to run in a container. Use AWS Fargate to manage the container instances. Configure the container to invoke itself to pass the state from one step to the next.
  • C. Create a web application to pass records to an Amazon Kinesis data stream. Decouple the processing by using the Kinesis data stream and AWS Lambda functions.
  • D. Create a web application to pass records to AWS Step Functions. Decouple the processing into Step Functions tasks and AWS Lambda functions.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
jamesf
9 months ago
Selected Answer: D
https://docs.aws.amazon.com/step-functions/latest/dg/welcome.html
upvoted 2 times
jamesf
9 months ago
State Management and Fault Tolerance: - AWS Step Functions is a service that allows you to coordinate multiple AWS services into serverless workflows. It manages the state and execution of your tasks, ensuring that each step is completed in sequence. If a step fails, Step Functions can retry the failed step or handle errors based on the defined retry policies or error catchers. This means that only the failed steps will be reprocessed, rather than starting from the beginning. Decoupling and Scalability: - Using AWS Lambda functions in combination with Step Functions allows you to run each step of the process as a separate Lambda function. This provides scalability and makes it easier to handle compute-intensive tasks as they can be distributed across multiple Lambda invocations.
upvoted 1 times
...
jamesf
9 months ago
Operational Efficiency: - AWS Step Functions abstracts much of the complexity involved in managing the state and flow of tasks. This leads to a more operationally efficient solution, as you don't have to manually handle retries, error states, or intermediate results.
upvoted 1 times
...
...
tgv
9 months, 2 weeks ago
Selected Answer: D
---> D
upvoted 2 times
...
trungtd
9 months, 3 weeks ago
Selected Answer: D
Step Functions and Lambda: - Decoupling Tasks - Error Handling and Retry Logic - State Management
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago