Skip to main content

DVA-C02 practice question · Deployment

A team's AWS CodeBuild builds often sit for a while before any build commands run, because CodeBuild must provision…

A team's AWS CodeBuild builds often sit for a while before any build commands run, because CodeBuild must provision on-demand compute for each build. The team wants builds to start immediately and is willing to pay for capacity even while it is idle. What should the team configure?

  • AA reserved capacity fleet, with the project's provisioning model set to use that fleet
  • BA larger on-demand compute type in the project's environment settings
  • CLocal source caching and Docker layer caching on the project
  • DA batch build that uses a build matrix to run the builds in parallel
Show the answer and explanation

Correct answer: A) A reserved capacity fleet, with the project's provisioning model set to use that fleet

CodeBuild reserved capacity fleets keep dedicated instances running and ready, so builds start without waiting for on-demand provisioning. The trade-off is paying for the instances while they are idle.

Why each option is right or wrong

  • A) Correct. Reserved capacity fleets are dedicated instances that CodeBuild maintains. They stay idle and ready to process builds immediately, and they incur cost for as long as they are provisioned.
  • B) Incorrect. A larger compute type gives each build more vCPUs and memory. On-demand compute is still provisioned for each build and destroyed afterward, so the startup wait remains.
  • C) Incorrect. Caching speeds up work after a build has started, such as fetching source or building images. It doesn't change how long it takes compute to become available.
  • D) Incorrect. Batch builds run multiple builds concurrently, but each build still runs on compute provisioned on demand. They don't remove the per-build provisioning delay.
Exam domain
Deployment · 24% of DVA-C02
Question type
Multiple choice (one answer)

Practise the full DVA-C02 exam

This question is one of a small free sample from the CertRidge DVA-C02 bank. Full practice exams match the real exam's length, time limit and domain weights, explain every option, and Review Mode re-drills the questions you miss.

Original question written from the official exam guide. Not affiliated with AWS; never copied from the real exam.

Worth reading: DVA-C02 cheat sheet, Lambda, DynamoDB, API Gateway, IAM and Cognito, messaging, CI/CD and X-Ray in tables, plus what DVA-C03 changes.