Soru

Zorluk: OrtaIdentify design principles of the AWS Cloud

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.)

  1. Use Amazon Simple Queue Service (Amazon SQS) to decouple the ingestion tier from the processing microservices.Cevap
  2. Implement Amazon EC2 Auto Scaling to automatically adjust compute capacity in response to fluctuations in clickstream traffic volume.Cevap
  3. C
    Consolidate the web ingestion and processing code into a single monolithic server to minimize latency between components.
  4. D
    Manually provision a fixed pool of large EC2 instances based on peak traffic estimates to avoid scaling delays.
  5. E
    Configure the processing microservices to communicate directly using hardcoded private IP addresses of backend instances.

Cevap

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.

Adım Adım Çözüm

1
Analyze the scenario requirements for the design principles of loose coupling and elasticity.
Identify that loose coupling requires components to be independent of each other, while elasticity requires resources to scale dynamically based on demand.
This establishes the target principles to evaluate each option against.
2
Evaluate option alternatives for loose coupling implementation.
The strategy using Amazon Simple Queue Service (Amazon SQS) is identified as a correct practice because queues act as buffers that prevent direct dependency between the ingestion and processing layers.
This directly demonstrates loose coupling, whereas consolidating into a monolith or using hardcoded IPs increases coupling.
3
Evaluate option alternatives for elasticity implementation.
The strategy using Amazon EC2 Auto Scaling to adjust compute capacity dynamically based on clickstream traffic is identified as a correct practice.
This demonstrates elasticity, whereas manual provisioning of a fixed pool of instances is a static design that does not leverage cloud elasticity.

Anahtar Kavram

AWS Cloud design principles, specifically loose coupling and elasticity, are fundamental to building scalable, resilient, and cost-effective applications in the cloud.
Bu soruyu puanla