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-lived functions that run in response to events and is limited to a maximum execution time of 15 minutes. Since the workload takes about 5 hours to complete, Lambda is not suitable for this task.
Amazon EC2 provides resizable compute capacity in the cloud and is suitable for running long-duration processes. The company can provision an EC2 instance to handle the 5-hour data processing job once a week, making it the most appropriate choice for this workload.
AWS CodeDeploy is a deployment service that automates the process of deploying applications to various compute services like EC2, Lambda, and on-premises servers. It does not handle data processing tasks directly, making it unsuitable for the described workload.
AWS Wavelength is designed to bring AWS services to the edge of 5G networks to deliver ultra-low latency applications. It is not intended for general-purpose data processing and is not suitable for this type of workload.