Courseiva
Accelerate Workload Migration and ModernizationeasyMultiple ChoiceObjective-mapped

SAP-C02 Practice Question: Accelerate Workload Migration and Modernization

A company wants to modernize a batch processing application that runs on EC2 instances using a cron job. The job processes files from an S3 bucket and takes about 2 hours. They want to reduce operational overhead. Which service should they use?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

AWS Batch

AWS Batch is designed for batch computing and can automatically provision EC2 instances, run the job, and terminate them, reducing overhead. Option A (Lambda) has a 15-minute timeout. Option B (Step Functions) orchestrates but does not run the compute. Option D (ECS with Fargate) is possible but requires more configuration than AWS Batch for batch jobs.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • AWS Batch

    Why this is correct

    AWS Batch is purpose-built for batch processing and manages compute resources.

  • Amazon ECS with Fargate

    Why it's wrong here

    Amazon ECS with Fargate is not ideal for this scenario because it is primarily designed for running long-lived services or microservices, not single, finite batch jobs that complete after a set duration. For a 2-hour batch process, a dedicated batch service provides superior job orchestration and completion tracking. This option is tempting as it reduces operational overhead by eliminating server management, making it an excellent choice for containerised web applications or APIs requiring continuous uptime and scalability.

  • AWS Lambda

    Why it's wrong here

    Lambda has a maximum 15-minute execution time, too short for 2-hour jobs.

  • AWS Step Functions

    Why it's wrong here

    Step Functions is for orchestration, not compute.

Quick reference

AWS S3 Storage Class Comparison

Storage ClassMin DurationRetrievalUse Case
S3 StandardNoneImmediateFrequently accessed data
S3 Standard-IA30 daysImmediateInfrequent access, rapid retrieval
S3 One Zone-IA30 daysImmediateNon-critical infrequent data
S3 Intelligent-TieringNoneImmediate–hoursUnknown or changing access patterns
S3 Glacier Instant90 daysMillisecondsArchive with instant retrieval
S3 Glacier Flexible90 daysMinutes–hoursArchive, flexible retrieval
S3 Glacier Deep Archive180 daysHoursLong-term compliance archive

About these practice questions

Courseiva writes every SAP-C02 question from scratch — 1,660 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This SAP-C02 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the SAP-C02 exam.