S3 오브젝트 스토리지

스토리지 연관 문항 274개

무제한 객체 스토리지. 시험에서 가장 자주 등장하는 서비스

이게 뭔가요? / What is this?

S3는 컴퓨터의 하드디스크 같은 물리 장치가 아니라, 파일을 맡겨두는 창고 서비스(관리형 스토리지)입니다. 하드디스크처럼 폴더를 파고 그 안에 파일을 넣는 게 아니라, 파일 하나하나(오브젝트)에 고유한 이름(키)을 붙여 커다란 창고(버킷)에 넣어둡니다. 그 파일이 실제로 어느 서버, 어느 디스크에 저장되는지는 AWS가 알아서 처리하고, 사용자는 "이 이름의 파일을 넣어줘 / 꺼내줘"라고만 요청하면 됩니다.

개요 / Overview

S3는 11 nines 내구성의 객체 스토리지로, 정적 파일·백업·데이터 레이크·로그 저장소로 쓰입니다. 시험 문제의 40% 가까이가 S3를 건드리며, 대부분은 스토리지 클래스 선택, 수명주기 전환, 접근 제어, 리전 간 복제 중 하나를 묻습니다.

동작 원리 / How it works

S3는 파일 시스템이 아니라 키-값 저장소입니다. 폴더처럼 보이는 것은 키에 들어간 슬래시일 뿐이고, 실제 계층 구조는 없습니다. 객체를 쓰면 여러 AZ에 걸쳐 중복 저장되어 11 nines 내구성을 얻습니다. 2020년 말부터 쓰기 후 읽기가 강한 일관성을 보장하므로, "방금 쓴 객체가 안 보인다"는 옛 시절의 함정은 더 이상 정답이 아닙니다.

접근 제어는 여러 층이 겹칩니다 — IAM 정책(누가), 버킷 정책(리소스 쪽에서 누구를), 블록 퍼블릭 액세스(전체 차단 스위치), ACL(레거시). 평가 결과는 명시적 Deny 우선이며 나머지는 합집합입니다. 시험에서 "버킷을 퍼블릭으로 만든다"가 정답인 경우는 정적 웹사이트 호스팅을 명시할 때뿐이고, 그마저도 CloudFront + OAC가 더 나은 답으로 제시됩니다.

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

S3는 274문제에 등장하는 최다 출제 서비스지만, 묻는 것은 사실상 네 가지로 압축됩니다 — 어느 스토리지 클래스인가, 언제 전환·삭제하는가, 누구에게 어떻게 열어 주는가, 어느 리전으로 복제하는가. 새 문제를 만나면 먼저 이 네 축 중 어디에 속하는지 분류하는 것이 가장 빠른 접근입니다.

시험 포인트 / Exam points

접근 제어 우선순위

버킷을 공개하지 않고 특정 대상에게만 열어야 할 때: 같은 계정 애플리케이션이면 IAM 역할, 교차 계정이면 버킷 정책, CloudFront 경유면 OAC(Origin Access Control), 임시 다운로드 링크면 사전 서명 URL(Presigned URL)입니다. ACL은 레거시라 정답이 되는 경우가 드뭅니다.

Multipart Upload

단일 PUT은 5GB가 한계입니다. 100MB를 넘으면 Multipart Upload가 권장되고 5GB 초과 객체는 필수입니다. 파트를 병렬로 올려 처리량을 높이고 실패한 파트만 재전송하므로 대용량 객체나 불안정한 회선에서 유리합니다. 완료되지 않은 멀티파트 업로드는 보이지 않는 곳에서 요금이 계속 발생하므로 수명주기 규칙으로 정리해야 합니다.

Transfer Acceleration

전 세계에 흩어진 사용자가 하나의 버킷으로 업로드할 때 가까운 엣지 로케이션을 거쳐 AWS 백본으로 전달합니다. 문제에 "지리적으로 분산된 사용자"와 "업로드 속도"가 같이 나오면 이것이 정답입니다. 같은 리전 안에서만 올리는 경우에는 이득이 없고 추가 요금만 붙습니다. CloudFront는 내려받기(배포) 가속이고 이쪽은 올리기 가속이라는 점을 구분해야 합니다.

리전 간·리전 내 복제

CRR(Cross-Region Replication)은 재해 복구와 지연시간 감소, SRR(Same-Region Replication)은 로그 집계와 계정 분리에 씁니다. 복제를 켜려면 원본과 대상 모두 버전 관리가 활성화되어야 합니다.

이벤트 알림

객체 생성·삭제 시 Lambda, SQS, SNS, EventBridge로 알림을 보낼 수 있습니다. "업로드되면 자동으로 처리"라는 문장은 거의 항상 S3 이벤트 → Lambda 구조를 가리킵니다.

자주 틀리는 함정 / Common traps

버킷 정책으로 열어 줬는데 여전히 접근이 안 되는 시나리오에서 정책을 더 넓히려는 선택지 — 원인은 대개 계정 수준 블록 퍼블릭 액세스나 KMS 키 정책입니다.

5GB를 넘는 객체를 단일 PUT으로 올리는 선택지 — API 한계로 실패합니다. Multipart Upload가 필수입니다.

리전 간 복제를 켜기만 하면 기존 객체도 복제된다고 가정하는 것 — 복제는 설정 이후의 신규 객체에만 적용되며, 기존 객체는 배치 복제가 필요합니다.

헷갈리는 것 구분하기 / Telling them apart

사전 서명 URL (Presigned URL)vsCloudFront 서명된 URL

누가 배포하는가로 갈립니다. 오리진인 S3가 직접 임시 접근을 허용하면 사전 서명 URL, 엣지 캐시를 통해 전 세계로 배포하면서 접근을 제한하면 CloudFront 서명된 URL입니다.

Intelligent-Tieringvs수명주기 규칙

접근 패턴을 아는가로 갈립니다. 안다면 수명주기 규칙이 모니터링 수수료 없이 더 저렴하고, 모르거나 변한다면 Intelligent-Tiering이 자동으로 맞춥니다.

권장 아키텍처 패턴 / Reference pattern

S3(원본) + CloudFront(OAC) 배포, 수명주기로 Glacier 전환, CRR로 DR 리전 복제
📝 이 개념 문제 풀기

Amazon S3

Storage 274 related questions

Effectively unlimited object storage — the most-tested service on the exam

이게 뭔가요? / What is this?

S3 is not a physical disk like the hard drive in your computer — it is a managed storage service, more like a warehouse you hand files to. Instead of folders, every file (an object) gets a unique name (a key) and goes into a big warehouse (a bucket). AWS decides which physical server and disk actually holds it; you only ever ask "store this named file" or "give me that named file back."

개요 / Overview

S3 offers eleven-nines durability for static assets, backups, data lakes, and logs. Nearly 40% of exam questions touch S3, and most reduce to storage-class choice, lifecycle transitions, access control, or cross-Region replication.

동작 원리 / How it works

S3 is a key-value store, not a filesystem. What looks like folders is just slashes in the key; there is no real hierarchy. Writing an object replicates it across AZs for eleven-nines durability. Since late 2020 read-after-write is strongly consistent, so the old "the object I just wrote is missing" trap is no longer a correct answer.

Access control layers overlap: IAM policies (who), bucket policies (who, from the resource side), Block Public Access (a master off switch), and ACLs (legacy). Evaluation is explicit-Deny-first, union otherwise. "Make the bucket public" is only correct when static website hosting is explicit, and even then CloudFront with OAC is usually the better answer.

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

S3 appears in 274 questions but the asks compress into four axes: which storage class, when to transition or expire, how to grant access, and where to replicate. Classifying a new question into one of those four is the fastest route to the answer.

시험 포인트 / Exam points

Access-control priority

Same-account app → IAM role. Cross-account → bucket policy. Through CloudFront → Origin Access Control. Temporary download link → presigned URL. ACLs are legacy and rarely correct.

Multipart Upload

A single PUT caps at 5 GB. Multipart Upload is recommended above 100 MB and required above 5 GB. Parts upload in parallel for higher throughput and only failed parts are retried, which helps with large objects and flaky links. Incomplete multipart uploads keep billing invisibly, so clean them up with a lifecycle rule.

Transfer Acceleration

Routes uploads from geographically dispersed users through a nearby edge location onto the AWS backbone. When a question pairs "globally dispersed users" with upload speed, this is the answer. It brings no benefit for same-Region uploads and only adds cost. Distinguish it from CloudFront, which accelerates downloads, not uploads.

Replication

CRR serves disaster recovery and latency; SRR serves log aggregation and account separation. Both require versioning enabled on source and destination.

Event notifications

Object creation or deletion can notify Lambda, SQS, SNS, or EventBridge. "Process automatically on upload" almost always means S3 event → Lambda.

자주 틀리는 함정 / Common traps

Widening the bucket policy when access still fails — the cause is usually account-level Block Public Access or the KMS key policy, not the bucket policy.

Uploading an object larger than 5 GB with a single PUT — it fails on the API limit. Multipart Upload is mandatory.

Assuming enabling replication also copies existing objects — replication applies to new objects only; existing ones need S3 Batch Replication.

헷갈리는 것 구분하기 / Telling them apart

사전 서명 URL (Presigned URL)vsCloudFront 서명된 URL

Decided by who serves it. S3 granting temporary access directly → presigned URL. Restricting access while delivering globally through the edge cache → CloudFront signed URL.

Intelligent-Tieringvs수명주기 규칙

Decided by whether you know the access pattern. Known → lifecycle rules, cheaper with no monitoring fee. Unknown or shifting → Intelligent-Tiering adapts automatically.

권장 아키텍처 패턴 / Reference pattern

S3 origin behind CloudFront with OAC, lifecycle transitions to Glacier, and CRR to a DR Region
📝 Practice this concept

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