SAP-C02 exam dumps

SAP-C02 practice question 286 of 678

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

SAP-C02 Question 286

Select 4

A retail company wants to design a serverless workflow for processing customer orders. When a new order is placed, it should trigger a workflow that validates the order, processes payment, updates inventory, and sends a notification to the customer. The company wants the solution to handle each step independently and retry any failed steps without affecting the others. Which combination of AWS services should the company use to implement this solution?

  1. A

    AWS Step Functions for orchestrating the workflow

  2. B

    Amazon SQS for decoupling and buffering messages between workflow steps

  3. C

    Amazon SNS to send notifications to customers

  4. D

    Amazon Simple Email Service (Amazon SES) to handle retries for failed steps

  5. E

    AWS Lambda for executing individual workflow steps

Show answer and explanation

Correct answers: A, B, C, E

Explanation

The combination of AWS Step Functions, Amazon SQS, Amazon SNS, and AWS Lambda forms an effective architecture for building a serverless workflow. AWS Step Functions orchestrates the workflow and handles retries, Amazon SQS decouples and buffers messages between steps, AWS Lambda executes the logic for each step, and Amazon SNS sends notifications to customers. This architecture ensures scalability, fault tolerance, and proper decoupling of services.

  • A. Correct.

    Correct: AWS Step Functions is ideal for orchestrating workflows and managing retries for failed steps without manual intervention.

  • B. Correct.

    Correct: Amazon SQS helps decouple and buffer messages between workflow steps, ensuring each step operates independently.

  • C. Correct.

    Correct: Amazon SNS is suitable for sending notifications, such as informing customers about their order status.

  • D. Incorrect.

    Incorrect: Amazon SES is used for sending emails, but it does not handle retries for failed workflow steps. AWS Step Functions is more appropriate for retry logic in this scenario.

  • E. Correct.

    Correct: AWS Lambda is well-suited for executing individual, serverless workflow steps such as validating orders or processing payments.

Timed practice exam

Take a SAP-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