200-901 Application Deployment and Security Practice Question
A team uses a Jenkins declarative pipeline to deploy a microservice. The pipeline includes stages: Checkout, Build Docker Image, Run Unit Tests, Push to Registry, Deploy to Staging, and Deploy to Production. Which stage should run immediately after 'Build Docker Image' to ensure code quality before the image is pushed?
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
✓
Run Unit Tests
After building the Docker image, the next logical step is to run unit tests to verify code quality before pushing the image to a registry.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Deploy to Staging
Why it's wrong here
Incorrect. Deploying should happen after the image is pushed and tested.
- ✓
Run Unit Tests
Why this is correct
Correct. Unit tests should run after the build to validate the code before pushing.
- ✗
Deploy to Production
Why it's wrong here
Incorrect. Production deployment is the final stage.
- ✗
Push to Registry
Why it's wrong here
Incorrect. Pushing should occur after testing passes.
Go deeper
Related to this question
About these practice questions
This 200-901 question is part of Courseiva's 989-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 200-901 practice question is part of Courseiva's free Cisco 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 200-901 exam.