A digital marketing startup is building a microservices-based analytics platform to process real-time clickstream data from client websites. The startup wants to ensure the architecture adheres to AWS Cloud design principles, focusing on loose coupling and elasticity. Which of the following architectural strategies should the startup implement to achieve these goals? (Select TWO.)
- Use Amazon Simple Queue Service (Amazon SQS) to decouple the ingestion tier from the processing microservices.Answer
- Implement Amazon EC2 Auto Scaling to automatically adjust compute capacity in response to fluctuations in clickstream traffic volume.Answer
- CConsolidate the web ingestion and processing code into a single monolithic server to minimize latency between components.
- DManually provision a fixed pool of large EC2 instances based on peak traffic estimates to avoid scaling delays.
- EConfigure the processing microservices to communicate directly using hardcoded private IP addresses of backend instances.
Answer
Decoupling the ingestion tier from the processing microservices using Amazon Simple Queue Service (Amazon SQS) and implementing Amazon EC2 Auto Scaling to dynamically adjust compute capacity.
Decoupling the ingestion tier using Amazon Simple Queue Service (Amazon SQS) aligns with the loose coupling principle, ensuring components operate independently. Implementing Amazon EC2 Auto Scaling matches the elasticity principle, allowing the application to scale resources automatically based on real-time traffic changes.
Step-by-Step Solution
Key Concept
AWS Cloud design principles, specifically loose coupling and elasticity, are fundamental to building scalable, resilient, and cost-effective applications in the cloud.