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?
You selected this option
Advise all developers to locally store scripts that generate the required table, synchronizing manually before any major updates.
You selected this option
Add the definition for a 'AWSDynamoDBTable' resource in the Resources section of the existing infrastructure code file.
You selected this option
Programmatically instantiate the table with each deployment using a custom script that interfaces with the cloud service provider's SDK.
You selected this option
Create a separate script outside the primary infrastructure code file that is responsible only for table creation.
You selected this option
Manually provision the table using the web management interface provided by the cloud service provider and document the settings separately.
The correct answer is to define a new 'AWSDynamoDBTable' resource within the Resources block of the infrastructure code file. This is the standard method for specifying AWS resources declaratively in an infrastructure as code document. This addition will be interpreted by the deployment service to provision the NoSQL database table when the updated template is executed. The incorrect options include approaches that fail to update the infrastructure code thereby not preserving the changes for future deployments, or do not leverage the infrastructure as code capabilities for the AWS cloud environment (e.g., creating resources manually via the AWS Management Console leads to discrepancies between the deployed resources and the IaC template).
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is 'AWS::DynamoDB::Table' and why is it important?
Open an interactive chat with Bash
What does it mean to use Infrastructure as Code (IaC)?
Open an interactive chat with Bash
Why is it a problem to manually provision resources instead of using IaC?
Open an interactive chat with Bash
AWS Certified Developer Associate DVA-C02
Deployment
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Oh snap!
Loading...
Loading...
Loading...
Information Technology Package Join Premium for Full Access