AWS Certified Cloud Practitioner — Question 828
A company wants to update its online data processing application by implementing container-based services that run for 4 hours at a time. The company does not want to provision or manage server instances.
Which AWS service will meet these requirements?
Answer options
- A. AWS Lambda
- B. AWS Fargate
- C. Amazon EC2
- D. AWS Elastic Beanstalk
Correct answer: B
Explanation
AWS Fargate is a serverless compute engine for containers that allows you to run containers without managing the underlying EC2 instances, making it ideal for tasks running up to several hours. AWS Lambda is not suitable because it has a maximum execution timeout limit of 15 minutes. Amazon EC2 and AWS Elastic Beanstalk require you to provision, manage, or maintain server instances, which does not align with the company's requirement to avoid server management.