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?
- Loose couplingCevap
- BMonolithic architecture
- CElasticity
- DVertical 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
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.