Q66. Amazon S3 스토리지 클래스를 활용한 비용 효율적인 데이터 관리 전략

AWS 자격증을 준비하는 여러분, 안녕하세요. 오늘은 Amazon S3의 다양한 스토리지 클래스를 활용하여 비용 효율적으로 데이터를 관리하는 전략에 대해 알아보겠습니다. 이 문제를 통해 S3의 스토리지 클래스별 특징과 수명 주기 정책의 활용법을 이해할 수 있습니다.

문제 상황

Q1:
회사에 각각 크기가 약 5MB인 많은 수의 파일을 생성하는 응용 프로그램이 있습니다. 파일은 Amazon S3에 저장됩니다. 회사 정책에 따라 파일을 삭제하려면 4년 동안 보관해야 합니다. 파일에는 재생산하기 쉽지 않은 중요한 비즈니스 데이터가 포함되어 있으므로 즉각적인 액세스가 항상 필요합니다. 파일은 객체 생성 후 처음 30일 동안 자주 액세스되지만 처음 30일 후에는 거의 액세스되지 않습니다. 가장 비용 효율적인 스토리지 솔루션은 무엇입니까?

<small>A company has an application that generates a large number of files, each approximately 5 MB in size. The files are stored in Amazon S3. Company policy requires that the files be retained for 4 years before they can be deleted. The files contain important business data that is not easily reproducible, so immediate access is always required. The files are frequently accessed for the first 30 days after object creation, but rarely accessed after the first 30 days. What is the most cost-effective storage solution?</small>

선택지

A. 객체 생성 후 30일 동안 S3 Standard에서 S3 Glacier로 파일을 이동하는 S3 버킷 수명 주기 정책을 생성합니다. 객체 생성 후 4년이 지나면 파일을 삭제합니다.
<small>Create an S3 bucket lifecycle policy that moves the files from S3 Standard to S3 Glacier after 30 days of object creation. Delete the files after 4 years of object creation.</small>

B. 객체 생성 후 30일 동안 S3 Standard에서 S3 One Zone-Infrequent Access(S3 One Zone-IA)로 파일을 이동하는 S3 버킷 수명 주기 정책을 생성합니다. 객체 생성 후 4년이 지나면 파일을 삭제합니다.
<small>Create an S3 bucket lifecycle policy that moves the files from S3 Standard to S3 One Zone-Infrequent Access (S3 One Zone-IA) after 30 days of object creation. Delete the files after 4 years of object creation.</small>

C. 객체 생성 후 30일 동안 S3 Standard에서 S3 Standard-Infrequent Access(S3 Standard-IA)로 파일을 이동하는 S3 버킷 수명 주기 정책을 생성합니다. 객체 생성 후 4년이 지나면 파일을 삭제합니다.
<small>Create an S3 bucket lifecycle policy that moves the files from S3 Standard to S3 Standard-Infrequent Access (S3 Standard-IA) after 30 days of object creation. Delete the files after 4 years of object creation.</small>

D. 객체 생성 후 30일 동안 S3 Standard에서 S3 Standard-Infrequent Access(S3 Standard-IA)로 파일을 이동하는 S3 버킷 수명 주기 정책을 생성합니다. 객체 생성 4년 후 파일을 S3 Glacier로 이동합니다.
<small>Create an S3 bucket lifecycle policy that moves the files from S3 Standard to S3 Standard-Infrequent Access (S3 Standard-IA) after 30 days of object creation. Move the files to S3 Glacier after 4 years of object creation.</small>

정답 및 해설

정답은 C입니다.

Amazon S3 Standard-Infrequent Access(S3 Standard-IA)는 자주 액세스하지 않지만 필요할 때 빠른 액세스가 필요한 데이터에 적합한 스토리지 클래스입니다. 이 문제 상황에 가장 적합한 솔루션입니다:

  1. 처음 30일 동안은 S3 Standard를 사용하여 자주 액세스되는 데이터를 효율적으로 처리합니다.
  2. 30일 이후에는 S3 Standard-IA로 이동하여 액세스 빈도가 낮아진 데이터를 비용 효율적으로 저장하면서도 즉시 액세스 가능한 상태를 유지합니다.
  3. 4년의 보관 기간이 지난 후에는 데이터를 삭제하여 회사 정책을 준수하고 불필요한 스토리지 비용을 방지합니다.

이 접근 방식은 데이터의 액세스 패턴 변화에 따라 적절한 스토리지 클래스를 사용하여 비용을 최적화하면서도 필요한 성능과 가용성을 보장합니다.

<small>The correct answer is C. Amazon S3 Standard-Infrequent Access (S3 Standard-IA) is ideal for data that is accessed less frequently but requires rapid access when needed. This solution best fits the scenario:

  1. Use S3 Standard for the first 30 days to efficiently handle frequently accessed data.
  2. Move to S3 Standard-IA after 30 days to cost-effectively store data with lower access frequency while maintaining immediate accessibility.
  3. Delete the data after the 4-year retention period to comply with company policy and avoid unnecessary storage costs.

This approach optimizes costs by using appropriate storage classes based on changing data access patterns while ensuring necessary performance and availability.</small>

오답 설명

A. S3 Glacier: 즉각적인 액세스가 항상 필요하다고 명시되어 있어 적합하지 않습니다. Glacier는 검색에 시간이 걸립니다.
<small>A. S3 Glacier: Not suitable as immediate access is always required. Glacier has retrieval times that don't meet this requirement.</small>

B. S3 One Zone-IA: 중요한 비즈니스 데이터이므로 단일 가용 영역에 저장하는 것은 위험합니다. 데이터 내구성이 Standard-IA보다 낮습니다.
<small>B. S3 One Zone-IA: Risky for important business data as it's stored in a single availability zone. It has lower durability compared to Standard-IA.</small>

D. S3 Glacier로 4년 후 이동: 회사 정책상 4년 후 삭제해야 하므로 Glacier로 이동하는 것은 불필요하고 부적절합니다.
<small>D. Moving to S3 Glacier after 4 years: Unnecessary and inappropriate as company policy requires deletion after 4 years.</small>

결론

이 문제는 AWS S3의 다양한 스토리지 클래스와 수명 주기 정책의 중요성을 강조합니다. 데이터의 액세스 패턴, 중요도, 보관 기간을 고려하여 적절한 스토리지 클래스를 선택하고 수명 주기 정책을 설정함으로써 비용을 최적화하면서도 필요한 성능과 가용성을 확보할 수 있습니다. AWS 솔루션 아키텍트로서 이러한 요소들을 종합적으로 고려하여 최적의 데이터 관리 전략을 수립하는 능력이 중요합니다.

<small>This question emphasizes the importance of understanding various AWS S3 storage classes and lifecycle policies. By considering data access patterns, importance, and retention periods, you can select appropriate storage classes and set lifecycle policies to optimize costs while maintaining necessary performance and availability. As an AWS Solutions Architect, it's crucial to consider these factors comprehensively to develop optimal data management strategies.</small>

원본 문제 링크

댓글

이 블로그의 인기 게시물

Anaconda-Python 환경 VSCode에서 사용하기

Python 웹 크롤링 - Scrapy 활용 파워볼 번호 수집(파일)