Soru

Zorluk: KolayIdentify design principles of the AWS Cloud

A company is designing a web application on AWS where the frontend and database communicate through an Amazon SQS queue. This configuration ensures that if the database becomes temporarily unavailable, the frontend can still receive requests and store them in the queue. Which AWS Cloud design principle is this company applying?

  1. Loose couplingCevap
  2. B
    Monolithic architecture
  3. C
    Elasticity
  4. D
    Vertical scaling

Cevap

Loose coupling
The correct answer is loose coupling. By introducing a message queue between the frontend and database, the components are decoupled. This means the frontend does not need to wait for a direct response from the database to accept requests, protecting the frontend from crashing if the database is offline.

Adım Adım Çözüm

1
Analyze the scenario details to identify the main architectural mechanism being used.
The components (frontend and database) interact via a message queue (Amazon SQS) instead of communicating directly and synchronously.
This shows that the components are decoupled from one another.
2
Identify the AWS design principle that describes minimizing dependencies between system components to prevent cascading failures.
Loose coupling is the design principle that advocates for independent components that interact through clear, well-defined interfaces like message queues.
By using a message queue, the failure of the database does not crash the frontend, which is the primary benefit of a loosely coupled design.

Anahtar Kavram

Loose coupling is a core design principle of the AWS Cloud that ensures components remain independent, thereby reducing the risk of a single point of failure and increasing the application's overall resilience.
Bu soruyu puanla