A startup runs complex deep neural network training using GPUs. The workflow pulls datasets from S3, loads a TensorFlow model from the company git repo, runs locally, and writes progress to S3. The job supports pausing and resuming, is queued centrally, and currently takes several hours. Managers want this weekly workload automated to run each Monday and complete by Friday at lowest cost while scaling. Which architecture best meets this requirement at the lowest cost?
Choose an answer
Tap an option to check your answer.
Correct answer: Package the workload in AWS Deep Learning Containers and run it as a job on AWS Batch using GPU-capable Spot Instances..
Why this is the answer
This option is best because AWS Batch is designed for large-scale, long-running, and queued batch jobs, making it ideal for the described deep neural network training. It natively supports GPU instances and integrates well with Deep Learning Containers (DLCs) for pre-configured environments. Using Spot Instances significantly reduces cost, aligning with the "lowest cost" requirement, and Batch handles Spot interruptions gracefully for resumable jobs. The other options are less suitable: Running on a single EC2 instance with AWS Instance Scheduler lacks the scalability, fault tolerance, and job queuing capabilities needed for a complex, resumable, and potentially parallelizable workload. AWS Fargate does not support GPU instances, which are essential for deep neural network training. Amazon ECS with Spot Instances could work for containerized workloads, but AWS Batch provides higher-level abstractions and better management specifically for batch processing, including job queuing, dependency management, and automatic retries, which are beneficial for long-running, resumable jobs. The ECS service scheduler is for long-running services, not typically for discrete, finite batch 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