Courseiva
mediumMultiple Choice

Generative AI Leader Practice Question: Evaluating ROI for a GenAI-based code review…

A company is evaluating ROI for a GenAI-based code review assistant. Which metric set BEST captures both productivity and quality improvements?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

Time saved per code review and bug detection rate (percentage of bugs caught before deployment)

Time saved per review (productivity) and bug detection rate (quality) directly measure the tool's impact. Code churn and developer satisfaction are secondary. Defect escape rate is important but harder to measure directly for code review.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✗

    Number of reviews completed per day and lines of code written

    Why it's wrong here

    Review counts and lines written measure volume only, ignoring defect detection or rework, so quality improvement is unmeasured. These suit tracking raw throughput in a delivery dashboard, but a code review assistant's value lies in catching issues, which this pair cannot show.

  • ✗

    Model inference latency and cost per token

    Why it's wrong here

    Latency and cost per token measure operational efficiency of the model, not whether reviews improved productivity or code quality. These metrics suit capacity planning and infrastructure budgeting, but they capture no developer output or defect reduction, so they cannot evidence ROI for a review assistant.

  • ✗

    Developer satisfaction score and reduction in code churn (percentage of code rewritten)

    Why it's wrong here

    Satisfaction and churn capture perceived experience and rework, but neither directly measures review throughput or defect detection, so productivity gains stay invisible. This pairing suits assessing developer experience programmes, not quantifying a review assistant's combined output and quality return.

  • ✓

    Time saved per code review and bug detection rate (percentage of bugs caught before deployment)

    Why this is correct

    Time saved per code review quantifies productivity gains, while bug detection rate before deployment measures quality improvement. Together they capture both dimensions of ROI for a GenAI code review assistant, unlike single-axis metrics such as suggestion count or developer satisfaction.

About these practice questions

Courseiva writes every Generative AI Leader question from scratch — 1,008 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This Generative AI Leader practice question is part of Courseiva's free Google Cloud certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the Generative AI Leader exam.