CLOUD-DEPLOYMENT-AND-OPERATIONS practice question 10 of 15
(A company uses KMS for key management. The company has a requirement to ensure that cryptographic material is not used longer than a year. Which solution should be used to meet this requirement with the least amount of effort?)
Full set: 67 questionsAWS Key Management Service (KMS) provides a built-in feature for automatic key rotation for customer-managed keys. When enabled, KMS automatically generates new cryptographic material for the key once per year (every 365 days). This process is transparent to applications, as the key's Amazon Resource Name (ARN) and Key ID remain unchanged. Enabling this feature is a simple configuration change, typically a single API call or a checkbox in the console, which directly fulfills the requirement with the least possible administrative effort.
A. Move keys from KMS to CloudHSM: Migrating from a managed service like KMS to managing a CloudHSM cluster is a significant architectural change requiring substantial effort and operational overhead.
C. Develop a custom key encryption protocol for KMS: Developing custom cryptographic protocols is exceptionally complex, error-prone, and a major security risk. It represents the highest level of effort and is contrary to security best practices.
D. Write a Lambda function to replace keys in KMS: This involves custom development, testing, and maintenance of a Lambda function and associated scheduling/triggering resources, which is significantly more effort than enabling the native automatic rotation feature.
1. AWS Key Management Service Developer Guide. In the section "Rotating AWS KMS keys," it states, "When you enable automatic key rotation for a customer managed key, AWS KMS generates new cryptographic material for the KMS key every year." It also notes, "Automatic key rotation has no effect on the data that the KMS key protects... AWS KMS saves all backing keys so it can decrypt any data that was encrypted." This confirms the one-year cycle and the low-effort, transparent nature of the feature. (See section: "How automatic key rotation works").
2. AWS Key Management Service Best Practices Whitepaper. This document recommends, "Enable automatic key rotation for customer managed keys that you use to encrypt and decrypt data directly." It highlights this as a best practice for limiting the potential impact of a compromised key, reinforcing that using the built-in feature is the standard, recommended approach. (See section: "Rotate your keys").
3. Armerding, T. (2021). What is AWS KMS? The ultimate guide to AWS Key Management Service. CSO Online. While a trade publication, it reflects official documentation, stating, "For customer-managed CMKs, you can enable automatic annual key rotation. When enabled, KMS will generate new cryptographic material for the CMK every year." This supports the simplicity and standard one-year period of the built-in feature. (See section: "Key rotation").
Keep practicing
Take the free CLOUD-DEPLOYMENT-AND-OPERATIONS practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other CLOUD-DEPLOYMENT-AND-OPERATIONS practice questions
- Question 1(What is the role of AWS Trusted Advisor?)
- Question 2(Which action must be used to create a metric filter in the Amazon CloudWatch console?)
- Question 3(Which CloudWatch metric filter includes log events with the word ERROR but excludes log …
- Question 4(Media files are stored in an S3 bucket in region A. Demand for the files from region B h…
- Question 5(A company is using Route 53 for Domain Name System (DNS) hosting. The company requires a…
- Question 6(A company configures the CloudFront caching TTL to the following settings: Min: 0, Max: …
