exam questions

Exam AWS-SysOps All Questions

View all questions & answers for the AWS-SysOps exam

Exam AWS-SysOps topic 1 question 669 discussion

Exam question from Amazon's AWS-SysOps
Question #: 669
Topic #: 1
[All AWS-SysOps Questions]

A company is using an AWS KMS customer master key (CMK) with imported key material. The company references the CMK by its alias in the Java application to encrypt data. The CMK must be rotated every 6 months.
What is the process to rotate the key?

  • A. Enable automatic key rotation for the CMK, and specify a period of 6 months.
  • B. Create a new CMK with new imported material, and update the key alias to point to the new CMK.
  • C. Delete the current key material, and import new material into the existing CMK.
  • D. Import a copy of the existing key material into a new CMK as a backup, and set the rotation schedule for 6 months.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️
Cryptographic best practices discourage extensive reuse of encryption keys. To create new cryptographic material for your AWS Key Management Service (AWS
KMS) customer master keys (CMKs), you can create new CMKs, and then change your applications or aliases to use the new CMKs. Or, you can enable automatic key rotation for an existing CMK.
When you enable automatic key rotation for a customer managed CMK, AWS KMS generates new cryptographic material for the CMK every year. AWS KMS also saves the CMK's older cryptographic material in perpetuity so it can be used to decrypt data that it encrypted. AWS KMS does not delete any rotated key material until you delete the CMK.
Reference:
https://docs.aws.amazon.com/kms/latest/developerguide/rotate-keys.html

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
white_shadow
Highly Voted 2 years, 1 month ago
B. When you import key material into a CMK, the CMK is permanently associated with that key material. You can reimport the same key material, but you cannot import different key material into that CMK. Also, you cannot enable automatic key rotation for a CMK with imported key material. However, you can manually rotate a CMK with imported key material. https://docs.aws.amazon.com/kms/latest/developerguide/importing-keys.html
upvoted 18 times
wahlbergusa
2 years ago
The resource : https://aws.amazon.com/kms/faqs/ and the question in that FAQ has the answer in it . Q: Can I rotate my keys? Yes. You can choose to have AWS KMS automatically rotate CMKs every year, provided that those keys were generated within AWS KMS HSMs. Automatic key rotation is not supported for imported keys, asymmetric keys, or keys generated in an AWS CloudHSM cluster using the AWS KMS custom key store feature. If you choose to import keys to AWS KMS or asymmetric keys or use a custom key store, you can manually rotate them by creating a new CMK and mapping an existing key alias from the old CMK to the new CMK.
upvoted 1 times
...
...
awsnoob
Highly Voted 2 years, 1 month ago
Should be B, automatic key rotation generate new cmk material every 365 days... Question state every 6 months
upvoted 5 times
...
gulu73
Most Recent 9 months ago
Selected Answer: B
Answer is B
upvoted 1 times
...
RicardoD
2 years ago
B is the answer Import key material into CMK. it will take care of the rotation
upvoted 1 times
...
sasquatchshrimp
2 years ago
A. for sure https://docs.aws.amazon.com/kms/latest/developerguide/rotate-keys.html
upvoted 1 times
Sam0_2000
2 years ago
In the same document at the very end it says Unsupported CMK types. Automatic key rotation is not supported on the following types of CMKs, but you can rotate these CMKs manually. Asymmetric CMKs CMKs in custom key stores CMKs that have imported key material So - A is incorrect. that leaves us with B
upvoted 3 times
...
...
abhishek_m_86
2 years ago
B. Create a new CMK with new imported material, and update the key alias to point to the new CMK.
upvoted 2 times
...
jackdryan
2 years ago
I'll go with B
upvoted 2 times
...
MFDOOM
2 years ago
B. Create a new CMK with new imported material, and update the key alias to point to the new CMK.
upvoted 1 times
...
waterzhong
2 years ago
Should be B, automatic key rotation generate new cmk material every 365 days... Question state every 6 months
upvoted 2 times
...
AWS_Noob
2 years ago
B - you can create a new key manually and set the rotation period, while referencing the alias of the original key
upvoted 1 times
...
a_w_s
2 years ago
B is the good answer! For CMK with imported key material
upvoted 1 times
...
Jimmy5
2 years ago
I agree that this answer should be B. Automatic key rotation is set to change every year, whereas creating a new CMK allows you to customize the rotation. In this case 6 months.
upvoted 1 times
...
amo82
2 years ago
automatic key enabled mean key rotate every year: key term here is 6 months
upvoted 1 times
...
pleasespammelater
2 years ago
Here's info about automatic & manual key rotation: https://docs.aws.amazon.com/kms/latest/developerguide/rotate-keys.html
upvoted 1 times
...
newtoaws
2 years, 1 month ago
A only auto key rotation won't change alias which will be used in java
upvoted 2 times
Kimle
2 years ago
auto rotation is every year only
upvoted 1 times
...
...
Ka
2 years, 1 month ago
B is correct https://docs.aws.amazon.com/kms/latest/developerguide/importing-keys.html
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago