Soru

Zorluk: KolayAWS Compute Services

An organization is planning to migrate its workloads to AWS. They have two specific requirements: first, they need to run containerized applications without provisioning or managing any underlying servers; second, they need to execute event-driven code snippets only when new data is uploaded, paying only for the compute time used. Which two AWS compute services should the company choose to fulfill these requirements?

  1. AWS LambdaCevap
  2. AWS FargateCevap
  3. C
    Amazon EC2
  4. D
    Amazon Lightsail

Cevap

The organization should choose AWS Fargate to run their containerized applications without managing server infrastructure, and AWS Lambda to run their event-driven, short-lived code snippets.
AWS Fargate provides a serverless environment to run containers (such as Docker containers) without having to manage the underlying EC2 instances. AWS Lambda allows running short-lived code in response to events (such as S3 uploads) without provisioning or managing any servers, charging only for the runtime used.

Adım Adım Çözüm

1
Identify the service required for containerized applications that removes the need to manage virtual machine infrastructure.
AWS Fargate is the serverless compute engine for containers that manages the underlying instances.
This satisfies the first business requirement of running containerized applications without infrastructure management.
2
Identify the service required to execute event-driven code snippets that run only in response to events and charge based on execution time.
AWS Lambda is the serverless event-driven service designed for short-lived code execution.
This satisfies the second business requirement of executing code in response to data uploads with a pay-per-use billing model.

Anahtar Kavram

AWS Serverless Compute Services
Bu soruyu puanla