AWS Certified Developer Associate DVA-C02 Practice Question
A team of developers is working on a serverless architecture that requires introducing a new NoSQL database table. To integrate this table into their current serverless deployment framework, what is the most effective way to proceed, ensuring that the infrastructure code reflects this addition for future deployments?
Manually provision the table using the web management interface provided by the cloud service provider and document the settings separately.
Advise all developers to locally store scripts that generate the required table, synchronizing manually before any major updates.
Add the definition for a 'AWSDynamoDBTable' resource in the Resources section of the existing infrastructure code file.
Programmatically instantiate the table with each deployment using a custom script that interfaces with the cloud service provider's SDK.
Create a separate script outside the primary infrastructure code file that is responsible only for table creation.