Subdomain 1.2: Design and implement appropriate metrics and queries for DevOps
1.Which of the following DevOps metrics measures the time from code commit to production deployment?
- A.Mean Time to Restore (MTTR)
- B.Lead Time for Changes
- C.Change Failure Rate
- D.Deployment Frequency
Show answer & explanation
Correct answer: B — Lead Time for Changes
- A. Incorrect. Mean Time to Restore (MTTR) measures the average time to recover from a production failure, not the time from commit to deployment.
- B. Correct. Lead Time for Changes is one of the four key DORA metrics and specifically measures the amount of time it takes for a code change to go from committed or approved to being successfully deployed in production.
- C. Incorrect. Change Failure Rate measures the percentage of deployments that cause a failure in production, reflecting release stability, not speed.
- D. Incorrect. Deployment Frequency measures how often code is deployed to production, indicating agility, but does not measure elapsed time from commit to deployment.