Q13 — AWS SOA-C02 Ch.1
Question 13 of 100 | ← Chapter 1
A SysOps administrator wants to share a copy of a production database with a migration account. The production database is hosted on an Amazon RDS DB instance and is encrypted at rest with an AWS Key Management Service (AWS KMS) key that has an alias of production-rds-key. What must the SysOps administrator do to meet these requirements with the LEAST administrative overhead?
- A. Take a snapshot of the RDS DB instance in the production account. Amend the KMS key policy of the production-rds-key KMS key to give access to the migration account's root user. Share the snapshot with the migration account. ✓
- B. Create an RDS read replica in the migration account. Configure the KMS key policy to replicate the production-rds-key KMS key to the migration account.
- C. Take a snapshot of the RDS DB instance in the production account. Share the snapshot with the migration account. In the migration account, create a new KMS key that has an identical alias.
- D. Use native database toolsets to export the RDS DB instance to Amazon S3. Create an S3 bucket and an S3 bucket policy for cross-account access between the production account andthe migration account. Use native database toolsets to import the database from Amazon S3 to a new RDS DB instance.
Correct Answer: A. Take a snapshot of the RDS DB instance in the production account. Amend the KMS key policy of the production-rds-key KMS key to give access to the migration account's root user. Share the snapshot with the migration account.
Explanation
AWS KMS密钥策略允许跨账户访问是共享加密RDS快照的前提条件。AWS官方文档明确说明,跨账户共享加密快照时,目标账户必须被授权使用原始KMS密钥解密数据。选项A通过修改KMS密钥策略,授予迁移账户根用户权限,确保其能访问原始密钥解密快照。选项B涉及跨账户复制KMS密钥,步骤复杂且非必要;选项C创建新密钥无法解密原快照;选项D使用S3传输数据增加额外步骤,不符合最小管理开销要求。选项A直接满足共享加密快照的必要条件。