CLF-C02 Question 176
Single answerA company is building a real-time data processing application that requires minimal management of infrastructure. The application processes millions of events per second and automatically scales with demand. Which AWS serverless compute option is the most appropriate for this use case?
- A
AWS Lambda
- B
Amazon EC2
- C
AWS Fargate
- D
Amazon Elastic Kubernetes Service (EKS)
Show answer and explanation
Correct answer: A
Explanation
AWS Lambda is the best choice for a real-time data processing application that requires minimal infrastructure management and automatic scaling. It supports event-driven architectures and can handle millions of events per second, making it an ideal serverless compute option for this scenario.
- A. Correct.
AWS Lambda is a serverless compute service designed for running code in response to events. It scales automatically and is ideal for event-driven architectures, such as real-time data processing.
- B. Incorrect.
Amazon EC2 is a compute service that requires management of the underlying infrastructure, making it less suitable for a real-time, serverless use case.
- C. Incorrect.
AWS Fargate is a serverless compute engine for containers but is better suited for containerized applications rather than event-driven real-time processing.
- D. Incorrect.
Amazon Elastic Kubernetes Service (EKS) is a managed Kubernetes service that requires managing container orchestration and is not fully serverless. It is less appropriate for this use case.