nerdexam
Huawei

H13-821_V3.0 · Question #103

Please sort the following typical use process of Docker according to the correct operation process. (1) Docker pulls the mirror from the mirror warehouse (2) Develop applications and make mirror…

The correct answer is B. 2-5-1-3-4. Option B is correct because it reflects the logical flow of a real-world Docker deployment: you first develop the application and build the image locally (2), then push it to a registry so others can access it (5), pull it on the target machine (1), run a container from it (3)…

Compute and Container Solution Design on Huawei Cloud

Question

Please sort the following typical use process of Docker according to the correct operation process. (1) Docker pulls the mirror from the mirror warehouse (2) Develop applications and make mirror images on the development environment machine (3) Run the container based on the image (4) Check whether the status of the container is normal (5) Upload the created mirror from the local to the mirror warehouse

Options

  • A1-5-2-3-4
  • B2-5-1-3-4
  • C5-3-2-1-4
  • D1-2-3-4-5

How the community answered

(22 responses)
  • A
    14% (3)
  • B
    73% (16)
  • C
    5% (1)
  • D
    9% (2)

Explanation

Option B is correct because it reflects the logical flow of a real-world Docker deployment: you first develop the application and build the image locally (2), then push it to a registry so others can access it (5), pull it on the target machine (1), run a container from it (3), and finally verify the container is healthy (4). Option A fails because it begins with pulling an image that has not yet been created, making steps 1 and 5 logically impossible before step 2. Option C is nonsensical for the same reason -- you cannot upload or run an image before it has been built. Option D places the upload at the very end, after already running the container, which contradicts the purpose of a registry as a distribution point between build and deployment environments.

Memory tip: Follow the developer lifecycle -- Build it, Ship it, Get it, Use it, Check it (2-5-1-3-4). The registry always sits between the builder and the runner, so pushing must come before pulling.

Topics

#Docker workflow#Container lifecycle#Image registry#Deployment process

Community Discussion

No community discussion yet for this question.

Full H13-821_V3.0 Practice