Docker Certified Associate Test Review Questions Set 2 - Image Management and Registry
Start
Congratulations - you have completed Docker Certified Associate Test Review Questions Set 2 - Image Management and Registry.
You scored %%SCORE%% out of %%TOTAL%%.
Your performance has been rated as %%RATING%%
Your answers are highlighted below.
Question 1
Which of the following is the correct command to tag an image?
A
docker tag image SOURCE_IMAGE[:TAG] TARGET_IMAGE[:TAG]
B
docker tag SOURCE_IMAGE[:TAG] TARGET_IMAGE[:TAG]
C
docker tag TARGET_IMAGE[:TAG] SOURCE_IMAGE[:TAG]
D
docker build tag SOURCE_IMAGE[:TAG] TARGET_IMAGE[:TAG]
Question 2
Which of the following is the correct command to store an image to a registry?
A
docker store [OPTIONS] NAME[:TAG]
B
docker push [OPTIONS] NAME[:TAG]
C
docker upload [OPTIONS] NAME[:TAG]
D
docker commit [OPTIONS] NAME[:TAG]
Question 3
Each container shares common writeable container layer. True or false?
A
False
B
True
Question 4
Docker image is built up from a series of layers and each layer represents an instruction in the image's Dockerfile. True or false?
A
True
B
False
Question 5
What is the docker command for displaying layers of a Docker image?
A
docker history
B
docker image layers
C
docker info
D
docker layers
Question 6
What is the docker command to pull an image or a repository from a registry?
A
docker checkout
B
docker deploy
C
docker build
D
docker pull
Question 7
What is the image storage solution that is part of Docker Enterprise Edition called?
A
Docker Hub
B
Docker Trusted Registry
C
Docker Registry
D
Universal Control Plane
Question 8
Which of the following is NOT a valid way to tag a Docker image?
A
Tag an image referenced by Name and Tag
B
Tag an image referenced by Name
C
Tag an image referenced by image ID
D
Tag an image referenced by user ID
Question 9
Which of the following statements is incorrect?
A
When a container is deleted, the writable layer is persisted.
B
Copy-on-write is a Docker strategy of sharing and copying files for maximum efficiency.
C
The column 'size' of docker ps -s output shows the amount of data that is used for the writable layer of each container.
D
The column 'virtual size' of docker ps -s output shows the amount of data used for the read-only image data used by the container plus the container's writable layer 'size'.
Question 10
What is the docker command to remove one or more images?
A
docker image delete
B
docker remove
C
docker image rm
D
docker delete
Once you are finished, click the button below. Any items you have not completed will be marked incorrect.
Get Results
There are 10 questions to complete.
←
List
→
Return
Shaded items are complete.
1
2
3
4
5
6
7
8
9
10
End
Return
You have completed
questions
question
Your score is
Correct
Wrong
Partial-Credit
You have not finished your quiz. If you leave this page, your progress will be lost.