Soru

Zorluk: ZorAWS Compute Services

A retail company is migrating a legacy application to AWS. The architecture needs to split into two distinct tiers: a core containerized transactional API that must run continuously with predictable performance and scale dynamically, and a nightly data-reconciliation job that runs for a maximum of 12 minutes. The company wants to minimize server administration, patching, and OS maintenance for both tiers. Which two AWS compute services should the company select to meet these requirements? (Select TWO)

  1. Amazon Elastic Container Service (Amazon ECS) with AWS FargateCevap
  2. AWS LambdaCevap
  3. C
    Amazon Elastic Compute Cloud (Amazon EC2)
  4. D
    Amazon Lightsail
  5. E
    AWS Elastic Beanstalk

Cevap

The company should select Amazon Elastic Container Service (Amazon ECS) with AWS Fargate for the containerized API and AWS Lambda for the nightly data-reconciliation job.
The correct options are Amazon Elastic Container Service (Amazon ECS) with AWS Fargate and AWS Lambda. Amazon ECS with AWS Fargate runs containerized microservices without requiring the customer to manage underlying virtual machines or patch operating systems. AWS Lambda provides event-driven serverless compute that automatically scales and runs only when triggered, and since the reconciliation job runs for 12 minutes, it fits comfortably within the 15-minute maximum limit of AWS Lambda.

Adım Adım Çözüm

1
Analyze the operational requirements for both workloads to minimize infrastructure management.
Identified that standard virtual machines (like Amazon EC2) or services provisioning customer-managed VMs (like AWS Elastic Beanstalk) will require manual OS patching and server administration, which violates the primary requirement.
This narrows down the selection to serverless compute options where AWS manages the underlying operating system and hardware.
2
Evaluate the first tier (containerized transactional API running continuously).
Selected Amazon ECS with AWS Fargate as the containerized runtime.
Fargate provides serverless container execution that removes server management while allowing the application to run continuously and scale dynamically.
3
Evaluate the second tier (nightly data-reconciliation job running for 12 minutes).
Selected AWS Lambda as the serverless function runtime.
AWS Lambda is cost-effective for short-lived, event-driven tasks and supports execution times up to 15 minutes, making it perfect for a 12-minute nightly job.

Anahtar Kavram

Selecting appropriate AWS compute services based on operational complexity, execution duration, and management overhead.
Bu soruyu puanla