DOP-C02 exam dumps

DOP-C02 practice question 292 of 411

AWS Certified DevOps Engineer - Professional. Professional level, Amazon Web Services. Free question with the correct answer and a full explanation.

DOP-C02 Question 292

Select 3

Your team is developing a serverless application that processes customer orders. When a new order is placed, the system needs to validate the order, send a notification to the customer, and store the order details in a database. The team wants to implement this solution using AWS services. Which combination of AWS services and configurations will best meet this requirement?

  1. A

    Use Amazon SQS to queue new orders, trigger an AWS Lambda function for validation, and integrate the Lambda function with an Amazon SNS topic for customer notifications.

  2. B

    Use an Amazon EventBridge rule to detect new order events, trigger an AWS Lambda function for validation, and configure the Lambda function to store the order details in Amazon DynamoDB.

  3. C

    Use Amazon S3 to store new orders as objects, trigger an AWS Lambda function for validation using S3 Event Notifications, and send notifications using Amazon SNS.

  4. D

    Use AWS Step Functions to orchestrate the workflow, where the first step validates the order using AWS Lambda, the second step sends a notification via Amazon SNS, and the third step stores the order details in Amazon RDS.

  5. E

    Use Amazon Kinesis Data Streams to capture order data, trigger an AWS Lambda function for validation, and use the same Lambda function to send notifications and store order details in Amazon DynamoDB.

Show answer and explanation

Correct answers: A, B, D

Explanation

This question tests your understanding of how to manage event sources and design a solution to process, notify, and take action in response to events. Options 1, 2, and 4 present viable AWS service combinations that align with the requirements of the scenario. They leverage decoupled architectures and serverless components to process events efficiently. Option 3 is incorrect because S3 is not ideal for structured data like orders, and Option 5 is incorrect due to unnecessary complexity introduced by Kinesis.

  • A. Correct.

    Correct. Amazon SQS can be used to decouple the system, allowing new orders to be queued and processed by an AWS Lambda function. The Lambda function can validate the orders and integrate with Amazon SNS to notify customers.

  • B. Correct.

    Correct. Amazon EventBridge is a modern event bus that can detect new order events and trigger an AWS Lambda function for validation. The same Lambda function can add the order details to Amazon DynamoDB.

  • C. Incorrect.

    Incorrect. Although Amazon S3 can trigger AWS Lambda functions using S3 Event Notifications, storing orders as S3 objects is not a suitable approach for structured order data. This method lacks the ability to easily query and manage order details.

  • D. Correct.

    Correct. AWS Step Functions is an ideal choice for orchestrating complex workflows. It allows you to design a multi-step process where validation, notification, and data storage are handled sequentially using AWS services such as Lambda, SNS, and RDS.

  • E. Incorrect.

    Incorrect. While Amazon Kinesis is great for real-time data streaming, it is not the best fit for this use case because it adds unnecessary complexity to the architecture. The use of Kinesis would be overkill for simple order processing and notification.

Timed practice exam

Take a DOP-C02 practice test under exam conditions

75 questions in 180 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam