Batch

컴퓨팅 연관 문항 6개

대규모 배치 작업 스케줄링. 컴퓨팅 자원을 알아서 프로비저닝

이게 뭔가요? / What is this?

AWS Batch는 컴퓨터가 아니라, 대량의 작업 목록을 넣으면 그때그때 필요한 만큼 EC2나 Fargate 용량을 불러왔다가 끝나면 알아서 치워 주는 관리형 작업 스케줄링 서비스입니다. 공사 현장에 필요한 인부와 장비를 그날그날 딱 필요한 만큼 불러왔다가 일이 끝나면 돌려보내는 인력 파견 업체와 비슷합니다.

개요 / Overview

AWS Batch는 수천 개의 배치 잡을 큐에 넣으면 필요한 EC2·Fargate 용량을 자동으로 띄워 실행하고 끝나면 회수합니다. Lambda의 15분을 넘고 상시 클러스터는 낭비인 대량 처리에 적합합니다.

동작 원리 / How it works

AWS Batch는 잡 큐, 잡 정의, 컴퓨팅 환경으로 구성됩니다. 잡을 큐에 넣으면 스케줄러가 의존 관계와 우선순위를 보고, 컴퓨팅 환경(EC2 또는 Fargate, On-Demand 또는 Spot)에서 필요한 만큼 용량을 띄워 실행하고 끝나면 회수합니다. 배열 잡으로 수천 개의 인덱스 작업을 한 번에 제출할 수 있고, 잡 간 의존성으로 파이프라인도 구성됩니다.

시험은 무엇을 보는가 / What the exam is testing

시험에서 Batch는 Lambda의 15분 제한 위, 상시 클러스터 아래의 빈칸을 채웁니다. "각 작업이 몇 시간 걸리고 야간에 수천 건을 처리한다"는 시나리오가 전형적이며, Spot 컴퓨팅 환경과 결합해 비용을 묻는 형태로 자주 나옵니다.

시험 포인트 / Exam points

Spot과 조합해 비용 절감

Batch의 컴퓨팅 환경을 Spot으로 지정하면 대규모 렌더링·시뮬레이션 비용을 크게 낮출 수 있습니다. 시험에서 "야간 배치 + 최저 비용" 조합의 정답입니다.

Lambda와의 경계

짧고 이벤트 기반이면 Lambda, 길고 대량이며 의존성이 무거우면 Batch입니다. "각 작업이 몇 시간 걸린다"는 Batch를 가리킵니다.

자주 틀리는 함정 / Common traps

상시 EMR·ECS 클러스터를 띄워 배치를 돌리는 선택지 — 유휴 시간에도 비용이 나가므로 비용 문제에서 오답입니다.

📝 이 개념 문제 풀기

AWS Batch

Compute 6 related questions

Managed batch scheduling that provisions compute for you

이게 뭔가요? / What is this?

AWS Batch is not a computer — it is a managed job-scheduling service that spins up exactly as much EC2 or Fargate capacity as the queued jobs need, then tears it down when finished. It works like a construction staffing agency that calls in exactly the workers and equipment needed for the day and releases them the moment the job is done.

개요 / Overview

AWS Batch takes thousands of queued jobs, provisions the EC2 or Fargate capacity to run them, and tears it down afterwards. It fits bulk processing that exceeds Lambda's 15 minutes but does not justify a standing cluster.

동작 원리 / How it works

AWS Batch is built from job queues, job definitions, and compute environments. Submitting a job lets the scheduler consider dependencies and priority, provision capacity in the compute environment (EC2 or Fargate, On-Demand or Spot), run the work, and tear the capacity down. Array jobs submit thousands of indexed tasks at once, and job dependencies form pipelines.

시험은 무엇을 보는가 / What the exam is testing

Batch fills the gap above Lambda's 15 minutes and below a standing cluster. The classic scenario is thousands of multi-hour jobs run overnight, often combined with a Spot compute environment when the question asks about cost.

시험 포인트 / Exam points

Pair with Spot for cost

Configure the Batch compute environment to use Spot to cut rendering or simulation costs — the answer to "overnight batch at lowest cost".

Boundary with Lambda

Short and event-driven → Lambda. Long, bulk, and dependency-heavy → Batch. "Each job takes hours" points to Batch.

자주 틀리는 함정 / Common traps

Standing up a permanent EMR or ECS cluster for batch work — it bills while idle, so it loses cost questions.

📝 Practice this concept

AWS SAA Hub Pro는 독립 학습 자료이며 Amazon Web Services, Inc.의 공식 서비스가 아닙니다. 시험 정책과 서비스 사양은 AWS 공식 문서를 기준으로 확인하세요.