A financial services firm wants to deploy two distinct workloads to AWS. The first workload consists of short-lived, event-driven image rendering tasks that run for approximately 30 seconds after a user uploads a document. The second workload is a legacy SQL database that requires custom kernel patches and direct root access to configure specialized storage volumes. Which two of the following AWS compute services are the most appropriate to run these workloads? (Select TWO.)
- AWS Lambda for the image rendering tasksCevap
- Amazon Elastic Compute Cloud (Amazon EC2) for the legacy databaseCevap
- CAWS Fargate for the legacy database
- DAmazon Lightsail for the legacy database
- EAWS Lambda for the legacy database
Cevap
The correct compute choices are AWS Lambda for the short-lived image rendering tasks and Amazon Elastic Compute Cloud (Amazon EC2) for the legacy database workload.
AWS Lambda is ideal for event-driven, short-lived tasks like the image rendering workload because it is serverless and executes code only when triggered. Amazon EC2 is the correct choice for the legacy database because it provides full administrative control over the operating system, allowing the installation of custom kernel patches and specialized configurations.
Adım Adım Çözüm
Anahtar Kavram
Matching specific workload requirements (event-driven vs. administrative control) to the appropriate AWS compute service.