SAP-C02 · Question #719
SAP-C02 Question #719: Real Exam Question with Answer & Explanation
The correct answer is B: Create an AWS Batch compute environment that includes Amazon EC2 Spot Instances. Specify. To cost-effectively run large, interruptible batch-processing jobs that process 15-20 GB of data and store results in Amazon S3, AWS Batch with Amazon EC2 Spot Instances is the optimal solution. AWS Batch manages the compute environment for batch workloads, and Spot Instances pro
Question
A company needs to run large batch-processing jobs on data that is stored in an Amazon S3 bucket. The jobs perform simulations. The results of the jobs are not time sensitive, and the process can withstand interruptions. Each job must process 15-20 GB of data when the data is stored in the S3 bucket. The company will store the output from the jobs in a different Amazon S3 bucket for further analysis. Which solution will meet these requirements MOST cost-effectively?
Options
- ACreate a serverless data pipeline. Use AWS Step Functions for orchestration. Use AWS Lambda
- BCreate an AWS Batch compute environment that includes Amazon EC2 Spot Instances. Specify
- CCreate an AWS Batch compute environment that includes Amazon EC2 On-Demand Instances
- DUse Amazon Elastic Kubernetes Service (Amazon EKS) to run the processing jobs. Use
Explanation
To cost-effectively run large, interruptible batch-processing jobs that process 15-20 GB of data and store results in Amazon S3, AWS Batch with Amazon EC2 Spot Instances is the optimal solution. AWS Batch manages the compute environment for batch workloads, and Spot Instances provide significant cost savings for fault-tolerant jobs that are not time-sensitive.
Common mistakes.
- A. AWS Lambda has limitations on execution duration (15 minutes) and memory/ephemeral storage (up to 10GB), making it unsuitable for processing 15-20 GB of data per job.
- C. Using Amazon EC2 On-Demand Instances in AWS Batch would be significantly more expensive than Spot Instances, contradicting the requirement for the MOST cost-effective solution for interruptible workloads.
- D. While Amazon EKS can run batch jobs, it introduces higher operational complexity and management overhead compared to AWS Batch for a dedicated batch processing workload, making it less cost-effective in terms of management effort.
Concept tested. Batch processing, cost optimization, EC2 Spot Instances.
Reference. https://aws.amazon.com/batch/features/
Community Discussion
No community discussion yet for this question.