AWS Certified Developer Associate DVA-C02 Practice Question

Considering a developer is creating a serverless application function that interacts with a NoSQL database service provided by a cloud provider, how can the developer effectively implement unit tests for the function to simulate interactions with the database without deploying the code?

  • Rely on manual testing after deployment for each iteration of the function code.

  • Only use console logging within the function to verify the correct behavior during test runs.

  • Connect the function to a live instance of the NoSQL database for each test to ensure accurate results.

  • Employ a mocking framework to create a simulated environment of the NoSQL database.

AWS Certified Developer Associate DVA-C02
Development with AWS Services
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot