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
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 2
What is the image storage solution that is part of Docker Enterprise Edition called?
A
Docker Registry
B
Docker Hub
C
Universal Control Plane
D
Docker Trusted Registry
Question 3
Which of the following is the correct command to store an image to a registry?
A
docker push [OPTIONS] NAME[:TAG]
B
docker store [OPTIONS] NAME[:TAG]
C
docker upload [OPTIONS] NAME[:TAG]
D
docker commit [OPTIONS] NAME[:TAG]
Question 4
Which of the following is the correct command to tag an image?
A
docker tag SOURCE_IMAGE[:TAG] TARGET_IMAGE[:TAG]
B
docker tag image 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 5
Each container shares common writeable container layer. True or false?
A
True
B
False
Question 6
What is the docker command to remove one or more images?
A
docker image rm
B
docker remove
C
docker image delete
D
docker delete
Question 7
Which of the following is NOT a valid way to tag a Docker image?
A
Tag an image referenced by user ID
B
Tag an image referenced by image ID
C
Tag an image referenced by Name and Tag
D
Tag an image referenced by Name
Question 8
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 9
What is the docker command to pull an image or a repository from a registry?
A
docker pull
B
docker build
C
docker checkout
D
docker deploy
Question 10
Which of the following statements is incorrect?
A
When a container is deleted, the writable layer is persisted.
B
The column 'size' of docker ps -s output shows the amount of data that is used for the writable layer of each container.
C
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'.
D
Copy-on-write is a Docker strategy of sharing and copying files for maximum efficiency.
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.