Docker Certified Associate (DCA) Test Review Questions Set 4 – Orchestration
Docker Certified Associate Test Review Questions Set 3b - Orchestration
Start
Congratulations - you have completed Docker Certified Associate Test Review Questions Set 3b - Orchestration.
You scored %%SCORE%% out of %%TOTAL%%.
Your performance has been rated as %%RATING%%
Your answers are highlighted below.
Question 1 |
What is the docker command to add a placement preference?
A | docker service update --constraint-add |
B | docker service update --placement-pref-add |
C | docker service update --placement-constraint-add |
D | docker service update --pref-add |
Question 1 Explanation:
Reference:
https://docs.docker.com/engine/swarm/services/#placement-preferences
Question 2 |
What is the docker command to roll back to the previous version of a service?
A | docker service update --rollback-version |
B | docker service update --rollback |
C | docker service --rollback |
D | docker service --rollback-version |
Question 2 Explanation:
Reference:
https://docs.docker.com/engine/reference/commandline/service_update/#roll-back-to-the-previous-version-of-a-service
Question 3 |
What is the docker command to add or update a published port?
A | docker service update --publish-port |
B | docker service modify --add-update-port |
C | docker service set --add-port |
D | docker service update --publish-add |
Question 3 Explanation:
Reference:
https://docs.docker.com/engine/reference/commandline/service_update/#usage
Question 4 |
What is the docker command to update an existing service?
A | docker service update |
B | docker service change |
C | docker service modify |
D | docker service config |
Question 4 Explanation:
Reference:
https://docs.docker.com/engine/reference/commandline/service_update/
Question 5 |
What is the docker command to add or update a placement constraint?
A | docker service update --constraint-add |
B | docker service update --pref-add |
C | docker service update --placement-constraint-add |
D | docker service update --placement-pref-add |
Question 5 Explanation:
Reference:
https://docs.docker.com/engine/swarm/services/#placement-constraints
Question 6 |
What is the docker command to add a network to a service?
A | docker service modify --add-network |
B | docker service set --add-network |
C | docker service add-network |
D | docker service update --network-add |
Question 6 Explanation:
Reference:
https://docs.docker.com/engine/reference/commandline/service_update/#usage
Question 7 |
What is the docker command to add or update a node label?
A | docker node modify --set-label |
B | docker node update --set-label |
C | docker node update --label-add |
D | docker node add --label |
Question 7 Explanation:
Reference:
https://docs.docker.com/engine/reference/commandline/node_update/#examples
Question 8 |
Which of the following is NOT true about Raft (docker consensus algorithm)?
A | If a quorum is not reached, the existing tasks will keep running |
B | Raft requires a majority or quorum of (N/2) + 1 members |
C | Raft tolerates up to (N-2)/2 failures |
D | If a quorum is not reached, the system will not process any more requests to schedule additional tasks |
Question 8 Explanation:
Reference:
https://docs.docker.com/engine/swarm/raft/
Question 9 |
What is the docker command to add or update a mount on a service?
A | docker service --mount-volume |
B | docker service --add-update-mount |
C | docker service set --add-update-mount |
D | docker service update --mount-add |
Question 9 Explanation:
Reference:
https://docs.docker.com/engine/reference/commandline/service_update/#add-or-remove-mounts
Question 10 |
What is the docker command to increase number of replicas?
A | docker service build |
B | docker service increase |
C | docker service replica |
D | docker service scale |
Question 10 Explanation:
Reference:
https://docs.docker.com/engine/reference/commandline/service_scale/
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.
Correct Answer
You Selected
Not Attempted
Final Score on Quiz
Attempted Questions Correct
Attempted Questions Wrong
Questions Not Attempted
Total Questions on Quiz
Question Details
Results
Date
Score
Hint
Time allowed
minutes
seconds
Time used
Answer Choice(s) Selected
Question Text
All done
Need more practice!
Keep trying!
Not bad!
Good work!
Perfect!
NOTES: For other review question sets and resources, you may want to check Docker Certified Associate (DCA) Certification Test Resources page.
Related Posts
-
Docker Certified Associate (DCA) Test Review Questions Set 3 - Orchestration
NOTES: For other review question sets and resources, you may want to check Docker Certified Associate…
-
Docker Certified Associate (DCA) Test Review Questions Set 9 - Security
NOTES: For other review question sets and resources, you may want to check Docker Certified Associate…
-
Docker Certified Associate (DCA) Test Review Questions Set 7 - Networking Part 1
NOTES: For other review question sets and resources, you may want to check Docker Certified Associate…