Data Ingestion and Transformation

A production DynamoDB table was created manually and is not managed by any CloudFormation stack. An engineer must bring it under stack management without recreating it or interrupting access, then deploy future configuration changes from a version-controlled template; which approach meets these requirements?

Show the answer

Correct answerA. Import the table using a matching resource definition, then apply subsequent stack updates.

AWhy this is right: Resource import adopts the existing table so subsequent configuration changes can use version-controlled stack updates.

BWhy not this: A replacement table does not bring the original table under management and introduces an unnecessary migration.

CWhy not this: Standard stack creation attempts to create the declared resource; matching its name does not import an existing table.

DWhy not this: A parameter can reference the table, but it does not bring the table's configuration under stack management.

CloudFormation resource import brings an existing supported resource under stack management without recreating it. Merely declaring an existing table's name in a standard stack creation does not adopt the table and can cause a name conflict.