Soru

Zorluk: KolayIdentify design principles of the AWS Cloud

A startup is designing a web application on AWS. They want to ensure that if the database layer experiences a temporary outage, the front-end web servers can still accept incoming customer orders without immediately failing. Which AWS Cloud design principle should the startup implement to achieve this goal?

  1. Loose couplingCevap
  2. B
    Tight coupling
  3. C
    Over-provisioning
  4. D
    Manual scaling

Cevap

Loose coupling
Loose coupling is the correct design principle because it isolates components of an application (often using intermediary services like Amazon Simple Queue Service or Amazon EventBridge). This ensures that if one component (such as the database) becomes unavailable, other components (such as the web servers) can continue to function and accept requests without failing immediately.

Adım Adım Çözüm

1
Analyze the scenario requirements.
The startup needs to prevent a failure in the database layer from causing the front-end web servers to fail.
This requires isolating components and removing direct dependencies so they can operate independently.
2
Evaluate the design principles against the goal.
Loose coupling (for example, using a message queue like Amazon SQS between the web servers and database) allows the web servers to continue accepting orders even if the database is down.
Loose coupling is the AWS design principle dedicated to reducing dependencies and isolating failures.

Anahtar Kavram

Loose coupling is a fundamental AWS design principle that decouples application components (e.g., using queues or asynchronous communication) so that they run independently. This prevents a failure in one service from cascading to other services, improving overall system resilience.
Bu soruyu puanla