SAP-C02 exam dumps

SAP-C02 practice question 675 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 675

Select 2

A company is building a serverless application to process incoming customer orders in near real-time. The application requires the following:

  • Orders should be validated by a microservice and sent for processing.
  • If validation fails, the order should be sent to a separate queue for manual review.
  • Multiple downstream systems need to be notified when an order is successfully processed.
  • The solution should be resilient and handle retries for failed notifications.

Which combination of AWS services should be used to meet these requirements?

  1. A

    Amazon SQS for order validation and for the manual review queue, Amazon SNS for notifying downstream systems

  2. B

    Amazon SQS for order validation and Amazon EventBridge for notifying downstream systems

  3. C

    AWS Step Functions for orchestrating the validation and processing workflows, Amazon SNS for notifying downstream systems

  4. D

    Amazon EventBridge for order validation and for notifying downstream systems

  5. E

    Amazon SQS with dead-letter queues for order validation, Amazon SNS for notifying downstream systems

Show answer and explanation

Correct answers: A, C

Explanation

This solution requires both workflow orchestration and reliable message delivery. Amazon SQS is suitable for decoupling the order validation process and handling failed orders via a manual review queue. AWS Step Functions can orchestrate the validation and processing workflows with retries and error handling. Amazon SNS is an appropriate choice for broadcasting notifications to multiple downstream systems, as it supports retries and ensures delivery resilience. Amazon EventBridge, while powerful for event-driven architectures, is less suited for this use case involving validation and reliable notifications.

  • A. Correct.

    Correct. Amazon SQS can be used to decouple the order validation process and store failed orders in a separate queue for manual review. Amazon SNS can notify multiple downstream systems when an order is successfully processed.

  • B. Incorrect.

    Incorrect. While Amazon SQS can be used for order validation, Amazon EventBridge is event-driven and not ideal for notifying downstream systems that need reliable retries.

  • C. Correct.

    Correct. AWS Step Functions can orchestrate the validation and processing workflows, providing retry capabilities and error handling. Amazon SNS is suitable for notifying multiple downstream systems with resiliency and retries.

  • D. Incorrect.

    Incorrect. Amazon EventBridge is suitable for event-driven architectures but not ideal for order validation or reliable notifications to downstream systems.

  • E. Incorrect.

    Incorrect. While Amazon SQS with dead-letter queues can handle failed validations, it cannot notify multiple downstream systems on its own.

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