AWS Certified Cloud Practitioner (CLF-C02) — Question 711

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

Correct answer: B

Explanation

AWS Fargate is a serverless compute engine for containers that allows you to run containerized applications without the need to provision or manage underlying EC2 instances. AWS Lambda is not suitable because it has a maximum execution timeout limit of 15 minutes, whereas these tasks require 4 hours. Amazon EC2 and AWS Elastic Beanstalk both require the user to manage or provision server instances, which does not meet the company's operational requirements.