SOA-C02 exam dumps

SOA-C02 practice question 72 of 341

AWS Certified SysOps Administrator - Associate. Associate level, Amazon Web Services. Free question with the correct answer and a full explanation.

SOA-C02 Question 72

Select 2

Your organization is running a large-scale e-commerce application on AWS. To handle spikes in traffic during sales events, you want to decouple the order processing system from the front-end web application. The goal is to ensure that the web application can quickly respond to user requests without being delayed by backend processing. Which combination of AWS services would best implement this loosely coupled architecture?

  1. A

    Amazon SQS for message queueing and AWS Lambda for processing messages

  2. B

    Amazon RDS with synchronous replication to handle message queuing and processing

  3. C

    Amazon SNS for message publishing and Amazon SQS for message subscription

  4. D

    Amazon SQS for message queueing and Amazon EC2 instances for processing messages

  5. E

    Amazon DynamoDB Streams for decoupling and Amazon Redshift for processing data

Show answer and explanation

Correct answers: A, D

Explanation

To implement a loosely coupled architecture for an order processing system, Amazon SQS is a key service for decoupling the front-end and back-end components. It acts as a buffer to handle message spikes during traffic surges. AWS Lambda or Amazon EC2 can be used to process messages asynchronously, depending on the specific use case. These combinations ensure scalability, reliability, and efficient handling of backend processes without overloading the front-end application.

  • A. Correct.

    Correct: Amazon SQS provides a fully managed message queue service, allowing you to decouple the front-end web application from backend order processing. AWS Lambda can process the messages asynchronously, ensuring scalability and efficient handling of spikes in traffic.

  • B. Incorrect.

    Incorrect: Amazon RDS is a relational database service and is not designed for message queueing and decoupling. Synchronous replication in databases does not solve the problem of decoupling systems effectively.

  • C. Incorrect.

    Incorrect: Amazon SNS is a pub/sub service, which is used for broadcasting messages to multiple subscribers. While it works well for notification use cases, it is not ideal for decoupling components in a queue-based architecture like order processing.

  • D. Correct.

    Correct: Amazon SQS is ideal for message queueing, and using Amazon EC2 instances for processing provides flexibility for custom processing logic. This setup allows you to handle traffic spikes effectively while decoupling components.

  • E. Incorrect.

    Incorrect: Amazon DynamoDB Streams is used for capturing and processing data changes in DynamoDB, but it is not a suitable service for implementing a decoupled queue-based architecture. Amazon Redshift is a data warehousing solution and not meant for real-time message processing.

Timed practice exam

Take a SOA-C02 practice test under exam conditions

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

Start timed exam