Q49. AWS S3 스토리지 클래스를 활용한 비용 효율적인 데이터 관리 전략
AWS 자격증을 준비하는 여러분, 안녕하세요. 오늘은 데이터 수명 주기에 따른 효율적인 스토리지 관리 전략에 대해 알아보겠습니다. 특히 액세스 패턴이 시간에 따라 변하는 데이터를 어떻게 비용 효율적으로 관리할 수 있는지 살펴보겠습니다.
문제 상황
Q1:
한 회사가 매월 통화 기록 파일을 저장합니다. 사용자들은 통화 후 1년 이내에는 파일에 무작위로 자주 액세스하지만, 1년이 지나면 거의 액세스하지 않습니다. 회사는 1년 미만된 파일들을 최대한 빠르게 쿼리하고 검색할 수 있는 기능을 사용자들에게 제공하여 솔루션을 최적화하고자 합니다. 오래된 파일을 검색하는 데 약간의 지연은 허용됩니다. 어떤 솔루션이 이러한 요구사항을 가장 비용 효율적으로 충족할 수 있을까요?
<small>A company stores call record files each month. Users randomly access the files within 1 year after a call, but users rarely access the files after 1 year. The company wants to optimize the solution by providing users with the ability to query and retrieve files that are less than 1 year old as quickly as possible. Delayed retrieval is acceptable for older files. Which solution will meet these requirements MOST cost-effectively?</small>
선택지
A. Amazon S3 Glacier Instant Retrieval에 태그가 있는 개별 파일을 저장합니다. 태그를 쿼리하여 S3 Glacier Instant Retrieval에서 파일을 검색합니다.
<small>Store individual files with tags in Amazon S3 Glacier Instant Retrieval. Query the tags to retrieve the files from S3 Glacier Instant Retrieval.</small>
B. Amazon S3 Intelligent-Tiering에 개별 파일을 저장합니다. S3 수명 주기 정책을 사용하여 1년 후 파일을 S3 Glacier Flexible Retrieval로 이동합니다. Amazon Athena를 사용하여 Amazon S3에 있는 파일을 쿼리하고 검색합니다. S3 Glacier Select를 사용하여 S3 Glacier에 있는 파일을 쿼리하고 검색합니다.
<small>Store individual files in Amazon S3 Intelligent-Tiering. Use an S3 Lifecycle policy to transition the files to S3 Glacier Flexible Retrieval after 1 year. Use Amazon Athena to query and retrieve files in Amazon S3. Use S3 Glacier Select to query and retrieve files in S3 Glacier.</small>
C. Amazon S3 Standard 스토리지에 태그가 있는 개별 파일을 저장합니다. Amazon S3 Standard 스토리지의 각 아카이브에 대한 검색 메타데이터를 저장합니다. S3 수명 주기 정책을 사용하여 1년 후에 파일을 S3 Glacier Instant Retrieval로 이동합니다. Amazon S3에서 메타데이터를 검색하여 파일을 쿼리하고 검색합니다.
<small>Store individual files with tags in Amazon S3 Standard storage. Store retrieval metadata for each archive in Amazon S3 Standard storage. Use an S3 Lifecycle policy to transition the files to S3 Glacier Instant Retrieval after 1 year. Query and retrieve files by retrieving the metadata from Amazon S3.</small>
D. Amazon S3 Standard 스토리지에 개별 파일을 저장합니다. S3 수명 주기 정책을 사용하여 1년 후에 파일을 S3 Glacier Deep Archive로 이동합니다. Amazon RDS에 검색 메타데이터를 저장합니다. Amazon RDS에서 파일을 쿼리합니다. S3 Glacier Deep Archive에서 파일을 검색합니다.
<small>Store individual files in Amazon S3 Standard storage. Use an S3 Lifecycle policy to transition the files to S3 Glacier Deep Archive after 1 year. Store retrieval metadata in Amazon RDS. Query the files from Amazon RDS. Retrieve the files from S3 Glacier Deep Archive.</small>
정답 및 해설
정답은 B입니다.
Amazon S3 Intelligent-Tiering은 액세스 패턴이 변화하거나 알 수 없는 데이터를 자동으로 비용을 최적화하는 데 이상적인 스토리지 클래스입니다. 이 옵션은 다음과 같은 이유로 가장 비용 효율적인 솔루션을 제공합니다:
-
자동 티어링: S3 Intelligent-Tiering은 액세스 패턴에 따라 자동으로 객체를 빈번한 액세스, 빈번하지 않은 액세스, 아카이브 티어 간에 이동시킵니다. 이는 1년 이내의 파일에 대한 빠른 액세스를 보장하면서도 비용을 최적화합니다.
-
수명 주기 정책: 1년 후 파일을 S3 Glacier Flexible Retrieval로 이동시키는 수명 주기 정책은 장기 보관 데이터의 스토리지 비용을 더욱 절감합니다.
-
쿼리 기능: Amazon Athena를 사용하여 S3의 파일을 쿼리하고, S3 Glacier Select를 사용하여 Glacier의 파일을 쿼리할 수 있어 데이터 분석의 유연성을 제공합니다.
-
비용 효율성: 이 조합은 데이터의 액세스 패턴에 따라 가장 비용 효율적인 스토리지 옵션을 자동으로 선택합니다.
오답 설명
A. S3 Glacier Instant Retrieval: 모든 파일을 이 스토리지 클래스에 저장하는 것은 자주 액세스하는 최근 데이터에 대해 과도한 비용이 발생할 수 있습니다.
C. S3 Standard + Glacier Instant Retrieval: 모든 파일을 처음부터 S3 Standard에 저장하는 것은 비용 효율적이지 않으며, 메타데이터 관리의 복잡성이 증가합니다.
D. S3 Standard + Glacier Deep Archive: Glacier Deep Archive는 검색에 최대 12시간이 소요되어 요구사항의 "약간의 지연"을 초과할 수 있습니다. 또한 RDS 사용은 불필요한 복잡성과 비용을 추가합니다.
결론
이 문제는 AWS의 다양한 스토리지 클래스와 데이터 수명 주기 관리의 중요성을 강조합니다. 비용 효율적인 솔루션을 설계할 때는 데이터의 액세스 패턴, 보존 기간, 검색 요구사항을 고려해야 합니다. S3 Intelligent-Tiering과 Glacier Flexible Retrieval의 조합은 변화하는 액세스 패턴에 자동으로 적응하면서 장기 보관 데이터의 비용을 최소화하는 유연한 접근 방식을 제공합니다.
댓글
댓글 쓰기