CloudGuild · Blog · Cheat sheets · Lessons · Certifications
AWS Certified Solutions Architect - Associate Exam Question Walkthrough: Batch Processing
Explore a detailed breakdown of an AWS SAA-C03 exam question on batch processing, focusing on AWS Batch for cost optimization.
When preparing for the AWS Certified Solutions Architect - Associate exam, candidates often struggle with questions about service selection for specific use cases. This question focuses on batch processing, a common scenario that can trip up many. Let's break it down.
The question
A company is processing large volumes of data and needs a way to run batch jobs without managing servers. Which AWS service should they use to optimize costs?
A. AWS Lambda
B. Amazon EC2 Spot Instances
C. AWS Batch
D. Amazon ECS
Think before you scroll
Consider the nature of batch jobs. These tasks typically require orchestration and resource management without the overhead of server maintenance. Focus on AWS services tailored for batch processing to identify the correct answer.
The answer
The correct option is C. AWS Batch. AWS Batch is designed specifically for running batch jobs efficiently. It lets you run batch processing without managing servers, optimizing cost and resource allocation.
Why the other options lose
A. AWS Lambda: This service is best for short-lived functions, not suitable for long-running batch jobs. It lacks the orchestration needed for managing large volumes of data over extended periods.
B. Amazon EC2 Spot Instances: While Spot Instances can reduce costs, they do not provide the necessary orchestration for batch processing. They are more suited for flexible workloads where interruptions are acceptable.
D. Amazon ECS: Amazon Elastic Container Service is designed for container orchestration. While it can run batch jobs, it is not optimized for this use case compared to AWS Batch.
The concept behind it
The underlying principle here is understanding the service architecture in AWS. AWS Batch supports the execution of batch jobs by dynamically provisioning the optimal quantity and type of compute resources based on the volume and resource requirements of the jobs submitted. This is essential for effective cost optimization in batch processing scenarios.
Exam trap to remember
Remember this: Choose services that match the job type. For batch processing, AWS Batch is your go-to service.