Courseiva
Application Deployment and SecurityhardMultiple ChoiceObjective-mapped

200-901 Application Deployment and Security Practice Question

A CI/CD pipeline is configured to build a Docker image, run unit tests, and push the image to a registry. To ensure that only successfully tested images are pushed, which stage order is correct?

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

Build image -> Run tests -> Push image

The correct order is: build the image, run tests, then push only if tests pass. Pushing before tests could push a broken image.

Answer analysis

Option-by-option breakdown

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

  • Run tests -> Build image -> Push image

    Why it's wrong here

    The image must be built before testing; tests may need the built artifact.

  • Build image -> Push image -> Run tests

    Why it's wrong here

    Tests should run before pushing to avoid pushing a faulty image.

  • Push image -> Build image -> Run tests

    Why it's wrong here

    Pushing before building is impossible; this order is invalid.

  • Build image -> Run tests -> Push image

    Why this is correct

    Build first, then test, then push only if tests pass.

About these practice questions

One of 989 original 200-901 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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 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.