Docker DCA Practice Test - Questions Answers, Page 19
List of questions
Question 181
Will this action upgrade Docker Engine CE to Docker Engine EE?
Solution. Disable the Docker service via 'chkconfig' or 'systemctl'.
Question 182
Will this action upgrade Docker Engine CE to Docker Engine EE?
Solution. Run docker engine activate.
Question 183
Does this command display all the pods in the cluster that are labeled as env; development'?
Solution. 'kubectl gel pods --all-namespaces -I 'env in (development)''
Question 184
What is the difference between the ADD and COPY Dockerfile instructions? (Select two.)
Question 185
You set up an automatic pruning policy on a DTR repository to prune all images using Apache licenses.
What effect does this have on images in this repository?
Question 186
When an application being managed by UCP fails, you would like a summary of all requests made to the UCP API in the hours leading up to the failure.
What must be configured correctly beforehand for this to be possible?
Question 187
Two pods bear the same label, app: dev.
Will a label selector matching app: dev match both of these pods?
Question 188
Which statement is correct about cluster management in Docker Enterprise Edition 3.x?
Question 189
How do you change the default logging driver for the docker daemon in Linux?
Question 190
Some Docker images take time to build through a Continuous Integration environment. You want to speed up builds and take advantage of build caching.
Where should the most frequently changed part of a Docker image be placed in a Dockerfile?
Question