Cert Rehearsal

AWS Certified Developer - Associate (DVA-C03) practice test

Built for the AWS Certified Developer - Associate exam, DVA-C03, from the exam guide AWS publishes: development with AWS services, security, testing and deployment, and troubleshooting and optimization. DVA-C03 replaces DVA-C02 on 1 December 2026 and adds AI-assisted development, managed AI services and their security, and containers, all of which are covered here. Most questions are a short situation from a developer's day (a function that times out, a queue that redelivers, a release that has to roll back), and you choose the code change, the setting or the service that fixes it. Every question is original, with an explanation of why the right answer fits and why the others fall short.

Try the free sample Buy the full set, $12 once

The free sample is 10 questions, graded, with no sign-up. Or get All-access for $9/month: every test on the site. An account keeps your progress on every device.

What the full set includes

Topics covered

Sample questions

Question 1

An order service calls an inventory service over HTTP and waits for the reply. When the inventory service slows down, order requests time out and customers see errors. Orders must be accepted even while the inventory service is slow or briefly unavailable. Which change meets this requirement?

  1. Raise the HTTP client timeout in the order service to five minutes
  2. Put a second Application Load Balancer in front of the inventory service
  3. Send each order as a message to an Amazon SQS queue that the inventory service polls and processes at its own pace
  4. Call the inventory service twice in parallel and use the first reply
Show the answer

C. Send each order as a message to an Amazon SQS queue that the inventory service polls and processes at its own pace. A queue between the two services decouples them: the order service only needs the queue to be available, and the messages wait until the inventory service can process them. A longer timeout or a second call keeps the services tightly coupled, so a slow inventory service still holds up every order.

Question 2

An AWS Lambda function must query an Amazon RDS database that runs in private subnets and is not publicly accessible. Which configuration gives the function access?

  1. Make the DB instance publicly accessible and open its security group to all addresses so that the function can reach it over the internet
  2. Store the database endpoint in an environment variable
  3. Attach the function to subnets of the VPC, with a security group that the database's security group allows
  4. Create a gateway VPC endpoint for Amazon RDS
Show the answer

C. Attach the function to subnets of the VPC, with a security group that the database's security group allows. A function that is attached to the VPC gets network interfaces in the chosen subnets, and security group rules then allow it to reach the database privately. Opening the database to the internet is not needed and exposes it, and gateway endpoints exist only for S3 and DynamoDB.

Question 3

An application writes log files to an Amazon S3 bucket. The files are read often for 30 days, must be kept for one year in low-cost storage and must then be deleted. Which solution needs the least effort?

  1. An S3 Lifecycle rule that transitions the objects after 30 days and expires them after 365 days
  2. An AWS Lambda function on a daily schedule that lists every object, copies the old ones to a second bucket and deletes those older than a year
  3. S3 Object Lock with a one-year retention period
  4. S3 Versioning on the bucket
Show the answer

A. An S3 Lifecycle rule that transitions the objects after 30 days and expires them after 365 days. A lifecycle rule moves objects to another storage class and deletes them by age, with no code to run. Versioning and Object Lock protect objects against change and do not move or expire them.

Not affiliated with or endorsed by Amazon Web Services. AWS and AWS Certified Developer are trademarks of Amazon.com, Inc. or its affiliates. The questions here are original practice material and are not the official exam, AWS Skill Builder or any AWS product.