Soru

Zorluk: OrtaIdentify design principles of the AWS Cloud

A digital media platform is migrating its video transcoding system to AWS. The system currently runs on a single high-performance server where video uploads, transcoding jobs, and metadata storage are handled by the same software process. High demand for video uploads frequently causes the entire server to run out of memory and crash, failing all ongoing transcoding jobs. The company wants to redesign this architecture on AWS using cloud design principles. Which of the following architectural changes should the company implement to align with AWS Cloud design principles? (Select TWO.)

  1. Decouple the upload front-end from the transcoding backend by using Amazon SQS queues to pass transcoding jobs asynchronously.Cevap
  2. Use an Amazon EC2 Auto Scaling group to dynamically adjust the number of transcoding workers based on the length of the queue.Cevap
  3. C
    Run the upload, transcoding, and database components on a single larger Amazon EC2 instance to minimize latency between processes.
  4. D
    Provision a fixed fleet of maximum-capacity Amazon EC2 instances to run 24/7 to ensure the transcoding backend never has to scale.
  5. E
    Rely on AWS to perform application-level debugging and code maintenance for the web server code running on Amazon EC2.

Cevap

The correct architectural changes are to decouple the upload front-end from the transcoding backend using Amazon SQS queues, and to use an Amazon EC2 Auto Scaling group to dynamically adjust transcoding workers based on the queue length.
Decoupling the upload front-end from the transcoding backend using Amazon SQS queues ensures that the two systems operate independently. If the transcoding backend experiences a spike in load or temporary failure, the uploads can still be accepted and queued. Using an Amazon EC2 Auto Scaling group to adjust worker instances based on queue length allows the system to scale out to handle high load and scale in to save costs when there are no jobs, directly aligning with the elasticity principle.

Adım Adım Çözüm

1
Analyze the existing architecture's problems
The current application runs on a single server, making it a tightly coupled monolithic system with a single point of failure. It also lacks elasticity to handle traffic spikes, resulting in memory exhaustion and crashes.
Understanding the current application constraints helps identify which AWS design principles are violated and need to be applied.
2
Select options that implement loose coupling and elasticity
Using SQS introduces asynchronous processing (loose coupling), and using Auto Scaling allows the worker instances to scale dynamically (elasticity).
Applying loose coupling and elasticity ensures the system is resilient to failure and cost-efficient.

Anahtar Kavram

AWS Cloud Design Principles (Loose Coupling and Elasticity)
Bu soruyu puanla