Official Bank 0/600

AWS Certified Developer – Associate Exam (DVA-C02) - AWS Exam Questions

Last updated on June 20, 2026

97% Exam Compliance
600 Total Questions
1
Question
A company's developer has deployed an application in AWS by using AWS CloudFormation The CloudFormation stack includes parameters in AWS Systems Manager Parameter Store that the application uses as configuration settings. The application can modify the parameter values

When the developer updated the stack to create additional resources with tags, the developer noted that the parameter values were reset and that the values ignored the latest changes made by the application. The developer needs to change the way the company deploys the CloudFormation stack. The developer also needs to avoid resetting the parameter values outside the stack.

Which solution will meet these requirements with the LEAST development effort?
Options
A Create an Amazon DynamoDB table as a resource in the CloudFormation stack to hold configuration data for the application Migrate the parameters that the application is modifying from Parameter Store to the DynamoDB table
B Modify the CloudFormation stack to set the deletion policy to Retain for the Parameter Store parameters.
C Modify the CloudFormation stack policy to deny updates on Parameter Store parameters
D Create an Amazon RDS DB instance as a resource in the CloudFormation stack. Create a table in the database for parameter configuration. Migrate the parameters that the application is modifying from Parameter Store to the configuration table
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

2
Question
A company has a web application that runs on Amazon EC2 instances with a custom Amazon Machine Image (AMI) The company uses AWS CloudFormation to provision the application The application runs in the us-east-1 Region, and the company needs to deploy the application to the us- west-1 Region An attempt to create the AWS CloudFormation stack in us-west-1 fails. An error message states that the AMI ID does not exist. A developer must resolve this error with a solution that uses the least amount of operational overhead

Which solution meets these requirements?
Options
A Copy the custom AMI from us-east-1 to us-west-1. Update the AWS CloudFormation template for us-west-1 to refer to AMI ID for the copied AMI Relaunch the stack
B Change the AWS CloudFormation templates for us-east-1 and us-west-1 to use an AWS AMI.
Relaunch the stack for both Regions.
C Manually deploy the application outside AWS CloudFormation in us-west-1.
D Build the custom AMI in us-west-1 Create a new AWS CloudFormation template to launch the stack in us-west-1 with the new AMI ID
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

3
Question
A food-delivery company has an application that uses an Amazon DynamoDB table for customer orders. The table is in on-demand mode. The table uses order_date as the partition key. The table uses a combination of customer_id and order_id as the sort key (customer_id#order_id). During peak order periods, write operations to the table are being throttled. What should a developer do to resolve this issue?
Options
A Change the capacity mode of the table to provisioned mode. Increase the write capacity units (WCUs) to meet the application demand.
B Use a sequential number for the partition key. Continue to use order_id as the sort key.
C Use customer_id for the partition key. Use order_id as the sort key.
D Transition the table to Amazon Aurora.
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

4
Question
A company has a two-tier application that consists of a frontend application and an Amazon RDS for
MySQL database. The frontend application retrieves data from the database. The data consists of
postal codes and their associated geographic coordinates. The application performs many more database reads than writes. The application retrieves each postal code from the database thousands of times each day. A developer must improve the performance of the application to decrease latency.

Which change should the developer make to the application to meet these requirements?
Options
A Modify the application to use a write-behind caching strategy.
B Modify the application to use a lazy loading caching strategy with a small TTL value.
C Modify the application to use a lazy loading caching strategy with a large TTL value.
D Modify the application to use a write-through caching strategy.
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

5
Question
A developer needs to migrate an online retail application to AWS to handle an anticipated increase in traffic. The application currently runs on two servers: one server for the web application and another server for the database. The web server renders webpages and manages session state in memory. The database server hosts a MySQL database that contains order details. When traffic to the
application is heavy, the memory usage for the web server approaches 100% and the application
slows down considerably. The developer has found that most of the memory increase and performance decrease is related to the load of managing additional user sessions. For the web server migration, the developer will use Amazon EC2 instances with an Auto Scaling group behind an Application Load Balancer.

Which additional set of changes should the developer make to the application to improve the application's performance?
Options
A Use Amazon ElastiCache for Memcached to store and manage the session data. Use an Amazon RDS for MySQL DB instance to store the application data.
B Use an EC2 instance to host the MySQL database. Store the session data and the application data in the MySQL database.
C Use the EC2 instance store to manage the session data. Use an Amazon RDS for MySQL DB instance to store the application data.
D Use Amazon ElastiCache for Memcached to store and manage the session data and the application data.
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

Finish Practice?

Are you sure you want to finish? This will end your practice session.