AWS Cloud Practitioner CLF-C02 Practice Question

A developer needs to rename the primary key value of an existing item in an Amazon DynamoDB table because the business identifier has changed. Which approach will accomplish this requirement while following DynamoDB best practices?

  • Use UpdateItem with an UpdateExpression to set the new value for the key attribute.

  • Delete the existing item and recreate it with a PutItem request that includes the new primary key value.

  • Create a global secondary index and update the key through the index, which automatically propagates the change to the base table.

  • Run an ALTER TABLE command in the AWS Management Console to rename the key.

AWS Cloud Practitioner CLF-C02
Cloud Technology and Services
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot