A company migrated an application to Amazon EC2 Linux instances. One EC2 instance runs several 1-hour scheduled tasks written in different languages. The company is concerned about performance and scalability when those tasks run on a single instance. Which solution will address these concerns with the LEAST operational overhead?
Choose an answer
Tap an option to check your answer.
Correct answer: Use AWS Batch to run the tasks as jobs. Schedule the jobs by using Amazon EventBridge (Amazon CloudWatch Events)..
Why this is the answer
AWS Batch is ideal for running scheduled, batch-oriented tasks, offering built-in scalability and managed infrastructure, which minimizes operational overhead. Integrating with EventBridge allows for easy scheduling of these jobs. Converting to containers and using AWS App Runner introduces unnecessary complexity for scheduled tasks and App Runner is more suited for long-running web applications. While Lambda can run tasks, 1-hour tasks exceed Lambda's typical execution limits (15 minutes), making it an unsuitable choice. Creating an AMI and Auto Scaling group for scheduled tasks is inefficient; Auto Scaling is designed for fluctuating load on persistent services, not for executing discrete, scheduled jobs.
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