exam questions

Exam AWS Certified Solutions Architect - Professional SAP-C02 All Questions

View all questions & answers for the AWS Certified Solutions Architect - Professional SAP-C02 exam

Exam AWS Certified Solutions Architect - Professional SAP-C02 topic 1 question 408 discussion

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?

  • A. Receive the orders in an Amazon EC2-hosted database and use EC2 instances to process them.
  • B. Receive the orders in an Amazon SQS queue and invoke an AWS Lambda function to process them.
  • C. Receive the orders using the AWS Step Functions program and launch an Amazon ECS container to process them.
  • D. Receive the orders in Amazon Kinesis Data Streams and use Amazon EC2 instances to process them.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
tfl
Highly Voted 1 year, 5 months ago
Selected Answer: B
Loosely coupled = SQS - Lambda is also the simplest to use
upvoted 6 times
AWSum1
6 months, 3 weeks ago
Yip that key words "loosely coupled" has been repeated several times during the trainings
upvoted 1 times
...
...
career360guru
Highly Voted 1 year, 3 months ago
Selected Answer: B
option B
upvoted 5 times
...
AzureDP900
Most Recent 5 months, 3 weeks ago
Using an Amazon SQS queue (option B) and an AWS Lambda function is the most reliable approach for several reasons: Scalability: AWS Lambda can automatically scale based on incoming requests, ensuring that orders are processed quickly even during peak traffic. High availability: By using a message queue like SQS, orders are stored temporarily until they can be processed, ensuring that no orders are lost due to system failures. Loosely coupled architecture: The use of an SQS queue and Lambda function decouples the order processing from the storage (Amazon DynamoDB) in a separate logical layer, making it easier to scale and maintain individual components independently. Handling sporadic traffic patterns: AWS Lambda provides a serverless computing experience that automatically scales based on demand, making it well-suited for handling variable workload spikes.
upvoted 2 times
...
career360guru
1 year, 1 month ago
Selected Answer: B
Option B
upvoted 3 times
...
ele
1 year, 2 months ago
Selected Answer: C
Answer is C Order processing is a multi-step cycle not a two step one. Stepfunction and ECS is the most reliable way to go.
upvoted 2 times
yog927
1 year, 1 month ago
what about loosely coupled? SQS required for it.
upvoted 1 times
...
...
ma23
1 year, 3 months ago
Selected Answer: B
Option B
upvoted 3 times
...
vibzr2023
1 year, 4 months ago
Selected Answer: B -- SQS for sure coz you can't take a chance of loosing data.
upvoted 2 times
...
MegalodonBolado
1 year, 4 months ago
". The application is responsible for receiving and processing orders before storing them in an Amazon DynamoDB table." We can't assume, without further information, that it's a multistep action. For now, it just processes one order and send info to Dynamo. Looks reasonable to use SQS+Lambda for a loosely coupled solution B
upvoted 3 times
...
ayadmawla
1 year, 4 months ago
Selected Answer: C
Here is an example of a Step Function for a simple order flow. You can see how many lambda functions will be necessary that can't be replaced by a single SQS and Lambda https://dev.to/aws-builders/aws-step-functions-simple-order-flow-6gn
upvoted 2 times
...
ayadmawla
1 year, 4 months ago
Selected Answer: C
Answer is C Order processing is a multi-step cycle not a two step one.
upvoted 2 times
...
shaaam80
1 year, 5 months ago
Selected Answer: B
Answer B
upvoted 2 times
...
salazar35
1 year, 5 months ago
Selected Answer: B
B is correct
upvoted 4 times
...
GabrielDeBiasi
1 year, 5 months ago
Selected Answer: B
B for sure
upvoted 4 times
...
devalenzuela86
1 year, 5 months ago
Selected Answer: B
B for sure
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