For a batch job that runs once a week and takes about 5 hours to complete, which AWS service is the appropriate choice to run this workload?
Choose an answer
Tap an option to check your answer.
Correct answer: Amazon EC2.
Why this is the answer
Amazon EC2 is the most appropriate choice for a batch job that runs weekly for 5 hours because it provides configurable virtual servers (instances) that can be provisioned for the duration of the job. You have full control over the operating system and software, which is ideal for batch processing that might have specific dependencies. You can choose an instance type optimized for compute or memory and pay only for the hours it's running. AWS Lambda is less suitable because it's designed for short-duration, event-driven functions (maximum 15 minutes per execution), making it impractical for a 5-hour job. AWS CodeDeploy is a deployment service, not a compute service for running workloads. AWS Wavelength extends AWS infrastructure to 5G networks and is used for ultra-low-latency applications, not general batch processing.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed