Courseiva
Agile Frameworks and MethodologieshardMultiple ChoiceObjective-mapped

CAPM Agile Frameworks and Methodologies Practice Question

Exhibit

Build #12345 - Failed
Test results: 15 passed, 3 failed
- UserStory-101: assertion failed
- UserStory-102: timeout
- UserStory-103: NullPointerException

Refer to the exhibit. The team has a policy of not committing code that fails tests. What does this indicate about their process?

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

They are violating continuous integration principles.

The team's policy of not committing code that fails tests indicates that they may delay integration until tests pass, which can lead to large, infrequent integrations. This violates continuous integration (CI) principles, which require frequent merging of code changes, even if tests fail temporarily, to quickly detect and fix issues. Option A is not necessarily true; TDD involves writing tests before code, but the policy alone doesn't confirm TDD. Option C is incorrect because the policy actually undermines proper CI. Option D is tangential and not indicated by the policy.

Answer analysis

Option-by-option breakdown

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

  • They practice test-driven development.

    Why it's wrong here

    TDD would involve writing tests first, but the failures indicate tests are written after code, or not run before commit.

  • They are violating continuous integration principles.

    Why this is correct

    A failed build in CI should be addressed immediately; the presence of failures indicates a breakdown in the CI process.

  • They use continuous integration correctly.

    Why it's wrong here

    CI requires builds to be fixed immediately; a failed build suggests CI is not being followed.

  • They need more pair programming.

    Why it's wrong here

    Pair programming does not directly address test failures or CI discipline.

About these practice questions

Courseiva writes every CAPM question from scratch — 487 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 CAPM practice question is part of Courseiva's free PMI 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 CAPM exam.