Courseiva

200-901 Application Deployment and Security Practice Question

A developer needs to share a Docker image with a colleague. They decide to push the image to a registry. Which Docker command pushes an image to a registry?

⚠ Common exam trap

200-901 often tests the confusion between commands that manipulate local images (commit, export) and those that interact with a registry (push, pull), so candidates must remember that push uploads and pull downloads.

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

✓

docker push my-image:latest

The `docker push` command is specifically designed to upload a local Docker image to a registry, such as Docker Hub or a private registry. It takes the image name and tag, and sends the image layers to the registry, making it available for others to pull. This is the standard way to share images with colleagues or deploy to other environments.

Answer analysis

Option-by-option breakdown

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

  • ✗

    docker export my-image:latest

    Why it's wrong here

    docker export streams a container's filesystem as a tar archive; it never contacts a registry, so no push occurs. It is tempting because it does move image content off the host, but only to stdout or a file. docker push is the command that uploads an image to a registry.

  • ✗

    docker commit my-image:latest

    Why it's wrong here

    docker commit creates a new image from a container's writable layer; it writes to the local image store and never contacts a registry. It is tempting because it produces an image, which feels like the prerequisite for sharing, but the upload itself requires docker push.

  • ✓

    docker push my-image:latest

    Why this is correct

    docker push uploads a locally tagged image and its layers to the configured registry repository, making it available for the colleague to pull. Commands such as docker save or docker commit do not transfer the image to a registry, so they fail the sharing requirement.

  • ✗

    docker pull my-image:latest

    Why it's wrong here

    docker pull downloads an image from a registry to the local daemon; it performs the opposite direction of the required upload. It is tempting because it names a registry image reference, but sharing an image requires docker push, which uploads the tagged image to the registry.

About these practice questions

One of 975 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 and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official Cisco exam blueprint

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.