Mirantis DCA Certification Exam Sample Questions

DCA Exam Dumps, DCA Examcollection, DCA Braindumps, DCA Questions PDF, DCA VCE, DCA Sample Questions, DCA Official Cert Guide PDFWe have prepared Mirantis Docker Certified Associate (DCA) certification sample questions to make you aware of actual exam properties. This sample question set provides you with information about the Mirantis DCA exam pattern, question formate, a difficulty level of questions and time required to answer each question. To get familiar with Mirantis Docker Certified Associate (DCA) exam, we suggest you try our Sample Mirantis DCA Certification Practice Exam in simulated Mirantis certification exam environment.

To test your knowledge and understanding of concepts with real-time scenario based questions, we strongly recommend you to prepare and practice with Premium Mirantis DCA Certification Practice Exam. The premium certification practice exam helps you identify topics in which you are well prepared and topics in which you may need further training to achieving great score in actual Mirantis Docker Certified Associate (DCA) exam.

Mirantis DCA Sample Questions:

01. Which statements about subjects in UCP role-based access control are true?
(Select all that apply.)
a) A Swarm collection can act as the subject of a grant
b) One user can be a member of several teams
c) A user can be a member of only one team at a time
d) A team can belong to only one organization
e) A service account cannot act as the subject of a grant
 
02. After running docker service create --name api registry.example.com/api:stable, the operator finds this message in the manager's log, followed by a reason:
unable to pin image registry.example.com/api:stable to digest
What does this mean for the service's tasks?
a) The service is rejected, and no tasks are created until the manager can resolve the digest.
b) Every task runs the image version that is cached on the manager node.
c) Tasks are created but do not start; workers can pull images only by digest.
d) Each worker resolves the tag itself, so nodes may run different image versions.
 
03. Part of the docker inspect output for container api:
"NetworkSettings": {
"Networks": {
"backend": { "Gateway": "172.20.0.1", "IPAddress": "172.20.0.25", "MacAddress": "02:42:ac:14:00:19" },
"frontend": { "Gateway": "172.21.0.1", "IPAddress": "172.21.0.3", "MacAddress": "02:42:ac:15:00:03" }
} }
Which address does api have on the frontend network?
a) 172.21.0.1
b) 172.20.0.25
c) 172.21.0.3
d) 02:42:ac:15:00:03
 
04. An image is built from a Dockerfile that contains FROM, RUN, COPY, LABEL and CMD instructions.
Which statements about the image's layers are true?
(Select all that apply.)
a) Instructions that modify the filesystem, such as RUN and COPY, create new layers
b) Its layers are read-write, so a container writes its changes into them
c) LABEL and CMD each add a new filesystem layer
d) A container's writable layer is saved into the image when the container is deleted
e) The image's layers are read-only
 
05. A UCP cluster has five nodes. One node must be dedicated to Kubernetes workloads so that Swarm tasks are no longer scheduled on it.
Which command sets this from the CLI?
a) docker node update --label-add com.docker.ucp.orchestrator.swarm=true <node-id>
b) docker node update --availability drain <node-id>
c) docker node update --role worker <node-id>
d) docker node update --label-add com.docker.ucp.orchestrator.kubernetes=true <node-id>
 
06. On one host, container a runs on the user-defined bridge dev-a and container b on the user-defined bridge dev-b. Container b listens on port 5000 and was started without -p. Requests from a to b fail.
Which change lets a reach b while each container stays only on its own network?
a) Address b by name, since DNS resolves names across user-defined bridges
b) Add EXPOSE 5000 to b's image so every bridge can reach the port
c) Publish b's port 5000 with -p
d) Recreate dev-b with --attachable so other bridges can join it
 
07. An administrator wants every new container on a Linux Docker host to use the syslog logging driver unless told otherwise.
How is that daemon-wide default set?
a) Set log-driver to syslog in /etc/docker/daemon.json
b) Set log-opts to syslog in /etc/docker/daemon.json
c) Pass --log-driver syslog to each docker run
d) Set storage-driver to syslog in /etc/docker/daemon.json
 
08. A Deployment using the RollingUpdate strategy runs nginx Pods. An administrator changes the image in its Pod template to httpd.
Which statements about the resulting rollout are true?
(Select all that apply.)
a) Kubernetes deletes every nginx Pod before it creates any httpd Pod
b) maxSurge caps how many Pods can be created over the desired number of Pods
c) maxUnavailable caps how many Pods can be unavailable during the update
d) maxSurge and maxUnavailable can both be set to 0 to keep the replica count exactly fixed
e) maxUnavailable caps how many Pods can be created over the desired number of Pods
 
09. An operator pulls images from a Docker Trusted Registry (DTR) installation that uses self-signed certificates, and the pull fails with:
x509: certificate signed by unknown authority
The operator has already downloaded the DTR CA certificate from https://dtr.example.com/ca.
Which actions make the Docker daemons on the cluster trust it?
(Select all that apply.)
a) Add it to the operating system's trusted CA store on every cluster node and restart the Docker daemon
b) Save it as /etc/docker/dtr/dtr.example.com.crt and restart the Docker daemon on every cluster node
c) Save it as /etc/docker/certs.d/dtr.example.com/ca.crt on every cluster node
d) Pass --insecure-registry dtr.example.com to the docker client on every cluster node
e) Run docker login dtr.example.com on every cluster node before pulling
 
10. What does a multi-stage build let a Dockerfile do when producing the final image?
a) Copy selected artifacts from one stage into another and leave everything else out of the final image
b) Merge every layer of the final image into a single layer
c) Pass build-time ARG values into the running container
d) Keep build tools in the final image so it can recompile at run time

Answers:

Question: 01
Answer: b, d
Question: 02
Answer: d
Question: 03
Answer: c
Question: 04
Answer: a, e
Question: 05
Answer: d
Question: 06
Answer: c
Question: 07
Answer: a
Question: 08
Answer: b, c
Question: 09
Answer: a, c
Question: 10
Answer: a

Note: Please update us by writing an email on feedback@vmexam.com for any error in Mirantis Docker Certified Associate (DCA) certification exam sample questions

Rating: 5 / 5 (76 votes)