Question

Difficulty: EasyIdentify design principles of the AWS Cloud

A company is designing an online retail platform on AWS and wants to ensure that a failure in the payment processing component does not disrupt the product browsing or shopping cart services. Which of the following design choices follow AWS Cloud design principles to achieve this requirement? (Select TWO.)

  1. Deploying Amazon Simple Queue Service (Amazon SQS) to decouple the checkout system from the backend payment processing serviceAnswer
  2. B
    Configuring all application components to run in a single process on a single Amazon EC2 instance to minimize network communication
  3. Implementing a microservices architecture where services communicate via standard web APIsAnswer
  4. D
    Designing the database tier to tightly bind application modules using shared database schemas
  5. E
    Statically provisioning maximum compute capacity to handle peak load without using dynamic scaling

Answer

Deploying Amazon Simple Queue Service (Amazon SQS) to decouple the checkout system from the backend payment processing service, and implementing a microservices architecture where services communicate via standard web APIs
AWS Cloud architecture principles emphasize loose coupling, which minimizes dependencies between systems. Deploying Amazon Simple Queue Service (Amazon SQS) acts as a buffer between components, preventing failures in the downstream payment processor from impacting upstream checkout functions. Similarly, a microservices architecture communicates over web APIs, isolating services so that issues in one do not disrupt the availability of others.

Step-by-Step Solution

1
Identify the primary requirement: preventing a failure in one component from taking down other components.
This requirement aligns with the AWS Cloud design principle of loose coupling and isolation of failures.
By reducing dependencies between components, system reliability and resilience are enhanced.
2
Evaluate the choices to find which options promote decoupling.
Using message queues like Amazon SQS and building a microservices architecture using APIs are standard patterns to achieve loose coupling.
These solutions separate boundaries of responsibility and failure between components.

Key Concept

Loose Coupling and Decoupling Components
Rate this question