A developer must store customer orders in DynamoDB and the company requires that all data at rest be encrypted using a key generated and managed by the company. What should the developer do to satisfy this requirement?
Choose an answer
Tap an option to check your answer.
Correct answer: Store the company key in AWS KMS. When creating the DynamoDB table, choose an AWS KMS customer managed key and provide the key ARN..
Why this is the answer
The correct approach is to store the company's encryption key in AWS Key Management Service (KMS) and then configure the DynamoDB table to use this customer managed key (CMK) for encryption at rest. This directly fulfills the requirement for data to be encrypted with a company-generated and managed key. The first incorrect option, encrypting data in the application, adds unnecessary complexity and overhead, and it doesn't leverage DynamoDB's native encryption features. The third incorrect option, using default encryption with kms:Encrypt in the SDK, is incorrect because default encryption uses an AWS owned key, and the SDK call is not how you specify a CMK for table encryption. The fourth incorrect option, choosing an AWS-managed KMS key, does not meet the requirement for a company-generated and managed key, as AWS-managed keys are managed by AWS.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed