DynamoDB does not allow the modification of an item's primary key once it has been created. To 'change' a primary key, the item must be deleted and re-created with the new key. This enforces a rigid schema on the primary key level while allowing flexibility in the attributes. Test takers might be tempted to select the wrong answer due to the flexible schema nature of NoSQL databases, but understanding the immutable nature of the primary key is essential when designing DynamoDB tables.
Learn More
AI Generated Content may display inaccurate information, always double-check anything important.
Why can't we change the primary key in DynamoDB?
What are the types of primary keys in DynamoDB?
What does flexible schema mean in DynamoDB if the primary key can't change?
This question's topic:
AWS Cloud Practitioner CLF-C02 /
Cloud Technology and Services
Report Issue
Oh snap!
Loading...
Loading...
Join premium for unlimited access and more features
Monthly
$14.99/mo
billed monthly (cancel any time)
3 Month Pass
$34.99
One time purchase Does not auto-renew.
Save $10!
MOST POPULAR
Annual Pass
$59.99
One time purchase Does not auto-renew.
Save $120!
BEST DEAL
Lifetime Pass
$119.99
One time purchase Good for life.
Save $240!
What you get:
Unlimited Questions
Major Voucher Discounts
Advanced PBQs
Zero ads
Track scores
Report Cards
Free tier is limited to 20 questions and limited Performance-based Questions (PBQs) .