CAPM Agile Frameworks and Methodologies Practice Question
Exhibit
{
"pipeline": {
"stages": [
{
"name": "Build",
"status": "success"
},
{
"name": "Test",
"status": "failure",
"error": "Unit test failed: AssertionError at test_calculator.py:42"
},
{
"name": "Deploy",
"status": "skipped"
}
]
}
}Refer to the exhibit. A team uses this CI pipeline. What action should the team take to resolve the pipeline failure?
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
✓
Fix the failing unit test in test_calculator.py and re-run the pipeline.
The Test stage failed due to a unit test error; the team must fix the failing test and re-run the pipeline. Option A is wrong as skipping tests would compromise quality. Option B is wrong because the Build stage succeeded. Option D is wrong because the pipeline is not yet ready for deployment.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Skip the Test stage and proceed to Deploy.
Why it's wrong here
Skipping tests would allow untested code to be deployed, violating quality standards.
- ✗
Review the Build stage for errors.
Why it's wrong here
The Build stage succeeded; the failure is in the Test stage.
- ✓
Fix the failing unit test in test_calculator.py and re-run the pipeline.
Why this is correct
The pipeline indicates a unit test failure; fixing the test and re-running is the appropriate corrective action.
- ✗
Deploy the code manually because the Build succeeded.
Why it's wrong here
Deployment should not proceed without passing tests; manual deployment bypasses quality checks.
Visual reference
Go deeper
Related to this question
About these practice questions
This CAPM question is part of Courseiva's 487-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
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.