A global logistics company is designing a real-time package tracking system on AWS. The system needs to process millions of location updates daily, with traffic spiking significantly during peak holiday seasons. The system must remain operational even if the database layer becomes temporarily unavailable. Which of the following design decisions align with AWS Cloud design principles to meet these requirements? (Select TWO.)
- Deploy Amazon SQS queues between the ingestion service and the database layer to decouple the components.Cevap
- Use Amazon EC2 Auto Scaling to automatically adjust the ingestion tier based on incoming traffic volume.Cevap
- CProvision a single large Amazon EC2 instance with sufficient compute capacity to handle peak holiday traffic.
- DConfigure the ingestion service to write tracking data directly and synchronously to the database to ensure immediate consistency.
- EManually provision maximum database capacity and keep it running continuously to avoid dynamic scaling latency.
Cevap
Deploying Amazon SQS queues to decouple the ingestion and database tiers, and using Amazon EC2 Auto Scaling to dynamically adjust resources based on demand, are the correct design decisions.
The correct options are using message queues to decouple systems and using auto-scaling to match resource capacity to demand. Placing a message queue between components achieves loose coupling, meaning a failure in the database does not disrupt the ingestion service. Auto-scaling allows the application to automatically scale out during peak periods and scale in during low usage, achieving elasticity.
Adım Adım Çözüm
Anahtar Kavram
AWS Cloud design principles: Loose Coupling and Elasticity