nerdexam
Amazon

SAP-C02 · Question #673

An e-commerce company is revamping its IT infrastructure and is planning to use AWS services. The company's CIO has asked a solutions architect to design a simple, highly available, and loosely couple

The correct answer is B. Receive the orders in an Amazon SQS queue and invoke an AWS Lambda function to process. Design a simple, highly available, loosely coupled, and scalable order processing application for sporadic traffic, using AWS services.

Submitted by paula_co· Mar 6, 2026Design for New Solutions

Question

An e-commerce company is revamping its IT infrastructure and is planning to use AWS services. The company's CIO has asked a solutions architect to design a simple, highly available, and loosely coupled order processing application. The application is responsible for receiving and processing orders before storing them in an Amazon DynamoDB table. The application has a sporadic traffic pattern and should be able to scale during marketing campaigns to process the orders with minimal delays. Which of the following is the MOST reliable approach to meet the requirements?

Options

  • AReceive the orders in an Amazon EC2-hosted database and use EC2 instances to process them.
  • BReceive the orders in an Amazon SQS queue and invoke an AWS Lambda function to process
  • CReceive the orders using the AWS Step Functions program and launch an Amazon ECS
  • DReceive the orders in Amazon Kinesis Data Streams and use Amazon EC2 instances to process

How the community answered

(30 responses)
  • A
    7% (2)
  • B
    77% (23)
  • C
    13% (4)
  • D
    3% (1)

Why each option

Design a simple, highly available, loosely coupled, and scalable order processing application for sporadic traffic, using AWS services.

AReceive the orders in an Amazon EC2-hosted database and use EC2 instances to process them.

An EC2-hosted database and EC2 instances introduce operational overhead, scaling challenges for sporadic traffic, and are not inherently as loosely coupled or simple for this pattern compared to serverless options.

BReceive the orders in an Amazon SQS queue and invoke an AWS Lambda function to processCorrect

Using Amazon SQS as a buffer decouples the order receipt from processing, providing high availability and allowing AWS Lambda to process orders asynchronously and scale automatically to handle sporadic traffic without delays.

CReceive the orders using the AWS Step Functions program and launch an Amazon ECS

AWS Step Functions is for orchestrating workflows, and while it could be part of a solution, directly receiving orders into a Step Functions program is not the primary pattern for a simple, loosely coupled ingestion point; ECS on its own for sporadic traffic would require more management than Lambda.

DReceive the orders in Amazon Kinesis Data Streams and use Amazon EC2 instances to process

Amazon Kinesis Data Streams is designed for real-time streaming data, which might be overkill for sporadic order processing, and using EC2 instances for processing introduces scaling and management overhead compared to Lambda.

Concept tested: Serverless, highly available, loosely coupled architecture for sporadic workloads

Source: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-best-practices.html

Community Discussion

No community discussion yet for this question.

Full SAP-C02 Practice