Q78. AWS DynamoDB 데이터 장기 보관을 위한 최적의 백업 전략

AWS 자격증을 준비하는 여러분, 안녕하세요. 오늘은 DynamoDB 데이터의 장기 보관에 대한 문제를 살펴보겠습니다. 이 문제는 데이터 백업 및 보존 정책에 대한 이해를 테스트합니다.

문제 상황

Q1:
회사는 사용자 트랜잭션 데이터를 Amazon DynamoDB 테이블에 보관해야 합니다. 회사는 데이터를 7년간 보관해야 합니다.
이러한 요구 사항을 충족하는 가장 운영 효율성이 높은 솔루션은 무엇입니까?

<small>A company needs to keep user transaction data in an Amazon DynamoDB table. The company must retain the data for 7 years.
Which solution will meet these requirements with the LEAST operational overhead?</small>

선택지

A. DynamoDB 지정 시간 복구를 사용하여 테이블을 지속적으로 백업합니다.
<small>Use DynamoDB point-in-time recovery to back up the table continuously.</small>

B. AWS Backup을 사용하여 테이블에 대한 백업 일정 및 보존 정책을 생성합니다.
<small>Use AWS Backup to create a backup schedule and retention policy for the table.</small>

C. DynamoDB 콘솔을 사용하여 테이블의 주문형 백업을 생성합니다. 백업을 Amazon S3 버킷에 저장합니다. S3 버킷에 대한 S3 수명 주기 구성을 설정합니다.
<small>Use the DynamoDB console to create on-demand backups of the table. Store the backups in an Amazon S3 bucket. Set up an S3 Lifecycle configuration for the S3 bucket.</small>

D. AWS Lambda 함수를 호출하는 Amazon EventBridge(Amazon CloudWatch Events) 규칙을 생성합니다. 테이블을 백업하고 Amazon S3 버킷에 백업을 저장하도록 Lambda 함수를 구성합니다. S3 버킷에 대한 S3 수명 주기 구성을 설정합니다.
<small>Create an Amazon EventBridge (Amazon CloudWatch Events) rule that invokes an AWS Lambda function. Configure the Lambda function to back up the table and store the backup in an Amazon S3 bucket. Set up an S3 Lifecycle configuration for the S3 bucket.</small>

정답 및 해설

정답은 B입니다.

AWS Backup을 사용하여 테이블에 대한 백업 일정 및 보존 정책을 생성하는 것이 가장 운영 효율성이 높은 솔루션입니다. AWS Backup은 다음과 같은 이점을 제공합니다:

  1. 중앙 집중식 관리: 백업 정책을 구성하고 AWS 리소스 및 온프레미스 워크로드에 대한 활동을 한 곳에서 모니터링할 수 있습니다.
  2. 자동화된 백업 스케줄링: 정기적인 백업을 자동으로 예약할 수 있습니다.
  3. 장기 보존: 7년이라는 장기간 동안의 데이터 보존 요구사항을 쉽게 충족할 수 있습니다.
  4. 비용 최적화: 백업을 콜드 스토리지로 자동 전환하여 장기 보존 비용을 절감할 수 있습니다.
  5. 태그 지원: 백업에 태그를 추가하여 비용 할당 및 관리를 용이하게 할 수 있습니다.

AWS Backup을 사용하면 DynamoDB 테이블 백업을 위한 완전 관리형 솔루션을 구현할 수 있으며, 이는 장기 데이터 보존 요구사항을 가장 효율적으로 충족시킬 수 있습니다.

<small>The correct answer is B. Using AWS Backup to create a backup schedule and retention policy for the table is the most operationally efficient solution. AWS Backup provides the following benefits:

  1. Centralized management: You can configure backup policies and monitor activities for AWS resources and on-premises workloads in one place.
  2. Automated backup scheduling: Regular backups can be automatically scheduled.
  3. Long-term retention: It easily meets the requirement for data retention over a long period of 7 years.
  4. Cost optimization: Backups can be automatically transitioned to cold storage to reduce long-term retention costs.
  5. Tag support: Tags can be added to backups to facilitate cost allocation and management.

Using AWS Backup allows you to implement a fully managed solution for backing up DynamoDB tables, which can most efficiently meet long-term data retention requirements.</small>

오답 설명

A. DynamoDB 지정 시간 복구: 이 옵션은 최근 35일 동안의 데이터만 복구할 수 있어 7년 보존 요구사항을 충족하지 못합니다.

<small>A. DynamoDB point-in-time recovery: This option only allows recovery of data for the last 35 days, which does not meet the 7-year retention requirement.</small>

C. DynamoDB 콘솔을 사용한 수동 백업: 이 방법은 가능하지만 수동 작업이 필요하며 장기적으로 운영 오버헤드가 높습니다.

<small>C. Manual backups using the DynamoDB console: While this method is possible, it requires manual work and has high operational overhead in the long run.</small>

D. Lambda와 EventBridge를 사용한 복잡한 설정: 이 접근 방식은 불필요하게 복잡하며 유지 관리에 더 많은 노력이 필요합니다.

<small>D. Complex setup using Lambda and EventBridge: This approach is unnecessarily complex and requires more effort to maintain.</small>

결론

이 문제는 AWS에서 장기 데이터 보존을 위한 효율적인 백업 전략의 중요성을 강조합니다. AWS Backup은 DynamoDB 테이블의 장기 백업 관리를 위한 가장 효율적이고 비용 효과적인 솔루션을 제공합니다. 이는 자동화, 중앙 집중식 관리, 비용 최적화 기능을 통해 운영 효율성을 극대화하면서 규정 준수 요구사항을 충족할 수 있게 해줍니다.

<small>This question highlights the importance of an efficient backup strategy for long-term data retention in AWS. AWS Backup provides the most efficient and cost-effective solution for managing long-term backups of DynamoDB tables. It allows for maximizing operational efficiency through automation, centralized management, and cost optimization features while meeting compliance requirements.</small>

원본 문제 링크

댓글

이 블로그의 인기 게시물

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

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