Which AWS service should the company use for this workload?
AWS Lambda
Amazon EC2
AWS CodeDeploy
AWS Wavelength
Explanations:
AWS Lambda is designed for short-duration tasks and is limited to 15 minutes per execution. Since the data processing takes about 5 hours, Lambda would not be suitable for this workload.
Amazon EC2 allows users to provision and manage virtual servers. It can run for extended periods, making it suitable for workloads like data processing that require 5 hours of compute time. Users can configure the instance type and size based on their processing needs.
AWS CodeDeploy is a service for automating code deployments to various compute services like EC2, Lambda, and on-premises servers. It does not directly handle data processing tasks, making it unsuitable for this requirement.
AWS Wavelength is designed to bring services closer to end-users for low-latency applications, primarily for mobile and edge computing. It does not provide a solution for long-running data processing tasks.