Soru

Zorluk: OrtaIdentify design principles of the AWS Cloud

A global logistics firm is migrating its package tracking system to the AWS Cloud. In the current on-premises architecture, a single database server and a single application server are tightly coupled. During peak shipping periods, database write bottlenecks cause the front-end portal to become completely unresponsive, resulting in lost transaction details. To improve system resilience and ensure messages are not lost, which of the following strategies align with the AWS Cloud design principles of loose coupling and designing for failure? (Select TWO.)

  1. Introduce Amazon Simple Queue Service (Amazon SQS) to buffer incoming tracking updates before writing them to the database.Cevap
  2. Deploy application instances across multiple Availability Zones behind an Elastic Load Balancer.Cevap
  3. C
    Host both the application server and the database on a single high-performance Amazon EC2 instance to minimize network latency.
  4. D
    Manually scale up the instance size of the application server at the start of each month to guarantee constant peak capacity.
  5. E
    Configure application servers to store session state in local memory to ensure fast data retrieval between components.

Cevap

Introducing Amazon Simple Queue Service (Amazon SQS) to buffer incoming tracking updates before writing them to the database, and deploying application instances across multiple Availability Zones behind an Elastic Load Balancer.
The correct strategies are introducing Amazon Simple Queue Service (Amazon SQS) to buffer incoming tracking updates, which implements loose coupling, and deploying application instances across multiple Availability Zones behind an Elastic Load Balancer, which implements designing for failure.

Adım Adım Çözüm

1
Analyze the current architectural bottlenecks and issues.
The current application is tightly coupled and lacks fault tolerance, meaning database overload crashes the entire system and causes data loss.
Identifying these failures points to the need for design principles that decouple services and create redundancy.
2
Select a solution that provides loose coupling to prevent database writes from directly impacting the frontend.
Using Amazon SQS allows message buffering, ensuring that frontend tracking updates are stored reliably even if the database database write speed lags.
Message queuing isolates components, allowing them to fail or scale independently.
3
Select a solution that designs for failure to ensure high availability.
Using Multi-AZ deployments with an Elastic Load Balancer ensures that if an instance or an entire zone fails, the system automatically redirects traffic to healthy resources.
Distributing resources across isolated infrastructure zones mitigates single points of failure.

Anahtar Kavram

AWS Cloud design principles state that loose coupling reduces interdependencies so that a failure in one component does not cascade, while designing for failure ensures system components have redundancy to survive infrastructure outages.
Tahmini Süre:1m 30s
Bu soruyu puanla