DVA-C02 practice question 7 of 35

A developer is creating an Amazon DynamoDB table by using the AWS CLI The DynamoDB table must use server-side encryption with an AWS owned encryption key How should the developer create the DynamoDB table to meet these requirements?

Full set: 598 questions

Domain Troubleshooting and Optimization

Answer options
A: Create an AWS Key Management Service (AWS KMS) customer managed key. Provide the key's Amazon Resource Name (ARN) in the KMSMasterKeyld parameter during creation of the DynamoDB table
B: Create an AWS Key Management Service (AWS KMS) AWS managed key Provide the key's Amazon Resource Name (ARN) in the KMSMasterKeyld parameter during creation of the DynamoDB table
C: Create an AWS owned key Provide the key's Amazon Resource Name (ARN) in the KMSMasterKeyld parameter during creation of the DynamoDB table.
D: Create the DynamoDB table with the default encryption options Correct answer
Correct Answer:
D. Create the DynamoDB table with the default encryption options
Explanation

Amazon DynamoDB encrypts all tables at rest by default using server-side encryption. The default encryption type is an AWS owned key. This key is owned and managed by the DynamoDB service for use in multiple AWS accounts. Users do not need to create or manage this key, and its use incurs no additional charge. When creating a DynamoDB table using the AWS CLI, omitting any server-side encryption specifications (--sse-specification) results in the table being created with this default encryption setting, thereby fulfilling the requirement.

Why Incorrect

A. This describes using a customer managed key, which is created and managed by the user, not the required AWS owned key.
B. This describes using an AWS managed key, which is a specific type of KMS key visible in the customer's account, distinct from the default AWS owned key.
C. Users cannot create an AWS owned key or provide its ARN. These keys are managed entirely by the AWS service and are not user-configurable.

References

1. AWS DynamoDB Developer Guide, "Amazon DynamoDB encryption at rest": This document states, "By default, all DynamoDB tables are encrypted under an AWS owned key. AWS owned keys are a collection of KMS keys that an AWS service owns and manages for use in multiple AWS accounts. AWS services can use AWS owned keys to protect your data."

2. AWS DynamoDB Developer Guide, "Managing encrypted tables in Amazon DynamoDB": Under the section "Creating an encrypted table," the guide explains that if you do not specify encryption settings, DynamoDB enables encryption using the AWS owned key by default.

3. AWS CLI Command Reference, dynamodb create-table: The documentation for the create-table command shows the optional --sse-specification parameter. If this parameter is not included in the command, the table is created with the default encryption settings (an AWS owned key). The KMSMasterKeyId is only used when SSEType is set to KMS, which corresponds to AWS managed or customer managed keys.

Scroll to Top