SOA-C02 · Question #128
A SysOps administrator has an AWS CloudFormation template that is used to deploy an encrypted Amazon Machine Image (AMI). The CloudFormation template will be used in a second account so the SysOps…
The correct answer is C. Re-encrypt the destination AMI with an AWS Key Management Service (AWS KMS) key from the. While launching the instance from a shared encrypted AMI, you can specify a KMS key of your choice. You may also choose cmkSource to encrypt volumes in your account. However, we recommend that you re-encrypt the volumes using a KMS key in the target account. This protects you…
Question
A SysOps administrator has an AWS CloudFormation template that is used to deploy an encrypted Amazon Machine Image (AMI). The CloudFormation template will be used in a second account so the SysOps administrator copies the encrypted AMI to the second account. When launching the new CloudFormation stack in the second account, it fails. Which action should the SysOps administrator take to correct the issue?
Options
- AChange the AMI permissions to mark the AMI as public.
- BDeregister the AMI in the source account.
- CRe-encrypt the destination AMI with an AWS Key Management Service (AWS KMS) key from the
- DUpdate the CloudFormation template with the ID of the AMI in the destination account.
How the community answered
(36 responses)- A6% (2)
- B8% (3)
- C83% (30)
- D3% (1)
Explanation
While launching the instance from a shared encrypted AMI, you can specify a KMS key of your choice. You may also choose cmkSource to encrypt volumes in your account. However, we recommend that you re-encrypt the volumes using a KMS key in the target account. This protects you if the source KMS key is compromised, or if the source account revokes permissions, which could cause you to lose access to any encrypted volumes you created using cmkSource. https://aws.amazon.com/blogs/security/how-to-share-encrypted-amis-across-accounts-to-launch- encrypted-ec2-instances/
Topics
Community Discussion
No community discussion yet for this question.