Exam: AWS Certified Cloud Practitioner 0 Likes
The application is invoked by changes in data or by shifts in system (CLF-C02)
A company wants to migrate a critical application to AWS. The application has a short runtime. The application is invoked by changes in data or by shifts in system state. The company needs a compute solution that maximizes operational efficiency and minimizes the cost of running the application.
Which AWS solution should the company use to meet these requirements?
A) Amazon EC2 On-Demand Instances.
B) AWS Lambda.
C) Amazon EC2 Reserved Instances.
D) Amazon EC2 Spot Instances.
Solution
Correct answer: B) AWS Lambda.
AWS Lambda is a serverless compute service that allows you to run code without provisioning or managing servers. It is well-suited for applications with short runtimes that are invoked by changes in data or shifts in system state. With Lambda, you only pay for the compute time that you consume, making it a cost-effective solution for workloads with sporadic and short-lived execution.
Options A (Amazon EC2 On-Demand Instances), C (Amazon EC2 Reserved Instances), and D (Amazon EC2 Spot Instances) are more suitable for traditional server-based solutions and might not provide the same level of operational efficiency and cost-effectiveness for short-lived, event-driven workloads.
Category: Economic aspects of the AWS cloud