Docker Certified Associate (DCA) Practice Exams Set 19

What are the two types of UCP client bundles?


Options are :

  • Docker UCP client bundles and DTR client bundles
  • Admin user certificate bundles and user certificate bundles
  • Ops client bundles and dev client bundles
  • Docker CLI bundles and Docker web UI bundles

Answer : Admin user certificate bundles and user certificate bundles

Docker Certified Associate (DCA) Practice Exams Set 4

Which of the following can be used to define what command gets executed when running a container?


Options are :

  • Both of the above
  • CMD
  • ENTRYPOINT

Answer : CMD

Docker security scan result is available in both UCP and DTR. True or false?


Options are :

  • TRUE
  • FALSE

Answer : FALSE

Which of the following instructions can be used to specify variables that are available to the RUN instruction?


Options are :

  • Both of the above
  • ENV
  • ARG

Answer : ARG

Docker Certified Associate (DCA) Practice Exams Set 6

It is OK to use root directory such as / as the PATH for building the docker image.


Options are :

  • TRUE
  • FALSE

Answer : FALSE

Which of the following instruction actually runs a command and commits the result during the time of building the image?


Options are :

  • RUN
  • CMD

Answer : RUN

Docker build is run by _________.


Options are :

  • docker cli
  • docker daemon

Answer : docker daemon

Docker Certified Associate (DCA) Practice Exams Set 9

Docker image can be saved in multiple repositories after the build is done.


Options are :

  • FALSE
  • TRUE

Answer : TRUE

Where do you create Docker Role Based Access Controls (RBAC)?


Options are :

  • Docker Machine
  • Docker Trusted Registry
  • Docker Compose
  • Universal Control Plane

Answer : Universal Control Plane

What is the docker command to backup the UCP?


Options are :

  • docker/ucp backup
  • docker backup ucp

Answer : docker/ucp backup

Docker Certified Associate (DCA) Practice Exams Set 4

Dockerfile option EXPOSE publish the port to external systems. True or false?


Options are :

  • TRUE
  • FALSE

Answer : FALSE

What is a grant made up of in Docker's Role Based Access Controls (RBAC)? (Select three)


Options are :

  • Resource collection
  • Role
  • Certificate
  • Subject

Answer : Resource collection Role Subject

Which of the Dockerfile options initializes a new build stage and sets the base image for subsequent instructions?


Options are :

  • CMD
  • ONBUILD
  • FROM
  • RUN

Answer : FROM

Docker Certified Associate (DCA) Practice Exams Set 14

Which of the following instruction can primarily be used for defining default arguments for an ENTRYPOINT command.


Options are :

  • RUN
  • CMD

Answer : CMD

How to configure the default logging driver?


Options are :

  • Set the "log-driver" option in the daemon.json file
  • Use --log-driver flag

Answer : Set the "log-driver" option in the daemon.json file

Which of the following tool to use to create users and teams?


Options are :

  • Docker Trusted Registry (DTR)
  • Docker Compose
  • Docker Machine
  • Universal Control Plane (UCP)

Answer : Universal Control Plane (UCP)

Docker Certified Associate (DCA) Practice Exams Set 5

A docker file must be named as Dockerfile.


Options are :

  • TRUE
  • FALSE

Answer : FALSE

What is the difference between UCP workers and managers?


Options are :

  • ucp-agent service automatically starts serving all UCP components in manager node, and only a proxy service in worker node
  • ucp-agent service automatically starts serving all UCP components in worker node, and only a proxy service in manager node

Answer : ucp-agent service automatically starts serving all UCP components in manager node, and only a proxy service in worker node

Which of the Dockerfile options executes any commands in a new layer on top of the current image and commit the results?


Options are :

  • FROM
  • RUN
  • CMD
  • ONBUILD

Answer : RUN

Docker Certified Associate (DCA) Practice Exams Set 24

Docker reuse intermediate images for accelerating the docker build process.


Options are :

  • FALSE
  • TRUE

Answer : TRUE

Where is the option to integrate Docker Enterprise with LDAP?


Options are :

  • Universal Control Plane
  • Docker Machine
  • Docker Trusted Registry
  • Docker Compose

Answer : Universal Control Plane

What Dockerfile option EXPOSE does?


Options are :

  • Adds metadata to an image
  • Informs Docker that the container listens on the specified network ports at runtime
  • Label a container that will run as an executable
  • Expose defaults for an executing container

Answer : Informs Docker that the container listens on the specified network ports at runtime

Docker Certified Associate (DCA) Practice Exams Set 15

You can monitor the status of UCP by using the web UI or the CLI. True or false?


Options are :

  • FALSE
  • TRUE

Answer : TRUE

What Dockerfile option LABEL does?


Options are :

  • Provide defaults for an executing container
  • Tells Docker how to test a container to check that it is still working
  • Label a container that will run as an executable
  • Adds metadata to an image

Answer : Adds metadata to an image

The first instruction in a dockerfile must be?


Options are :

  • EXPOSE
  • CMD
  • FROM
  • RUN

Answer : FROM

Docker Certified Associate (DCA) Practice Exams Set 6

Which products are included with a Docker EE software subscription? (select three)


Options are :

  • Docker Hub
  • Docker Universal Control Plane
  • Docker Engine with enterprise-grade support
  • Docker Trusted Registry
  • Docker Swarm

Answer : Docker Universal Control Plane Docker Engine with enterprise-grade support Docker Trusted Registry

When running network in 'host' mode you can override the hostname of the container using which option of 'docker run'?


Options are :

  • --name
  • --hostname
  • --name
  • -host

Answer : --hostname

What is the default network driver used when one is not specified?


Options are :

  • none
  • macvlan
  • overlay
  • bridge
  • host

Answer : bridge

Docker Certified Associate (DCA) Practice Exams Set 19

Which technology allows Docker Engine to share available hardware resources to containers and optionally enforce limits and constraints?


Options are :

  • Control Groups
  • HyperVisor
  • Hardware Abstraction
  • Virtualization Layers

Answer : Control Groups

Which type of mount is a good choice when you need to back up, restore, or migrate data from one Docker host to another?


Options are :

  • tempfs
  • bind mounts
  • volumes
  • Regular

Answer : volumes

To decrease the image pull time for geographically dispersed users you can configure which DTR option?


Options are :

  • DTR CDN
  • DTR cache
  • DTR Edge
  • DTR Local Registry

Answer : DTR cache

Docker Certified Associate (DCA) Practice Exams Set 8

Which of the following make up container format? (select three)


Options are :

  • Docker control plane
  • Docker Daemon
  • UnionFS
  • Control Groups
  • Namespaces

Answer : UnionFS Control Groups Namespaces

Arrange the copy-on-write operation steps below in the correct sequence;


A) Any modifications are made to this copy of the file, and the container cannot see the read-only copy of the file that exists in the lower layer.

B) Perform a copy_up operation on the first copy of the file that is found, to copy the file to the container’s writable layer.

C) Search through the image layers for the file to update. The process starts at the newest layer and works down to the base layer one layer at a time. When results are found, they are added to a cache to speed future operations.


Options are :

  • B, C, A
  • C, B, A
  • A, B, C
  • B, A, C

Answer : C, B, A

Which command is used to create a swarm


Options are :

  • docker init swarm
  • docker swarm create
  • docker swarm init
  • docker swarm start

Answer : docker swarm init

Docker Certified Associate (DCA) Practice Exams Set 9

A ____ is an instance of the Docker engine participating in the swarm.


Options are :

  • Node
  • Service
  • Container
  • Server

Answer : Node

Which format is the output returned, when the --pretty flag is not specified for the docker service inspect command?


Options are :

  • yaml
  • json
  • txt
  • xml

Answer : json

Which availability mode needs to be set on a node when you need to perform maintenance on a node?


Options are :

  • MAINTENANCE
  • EVACUATE
  • OFFLINE
  • DRAIN

Answer : DRAIN

Docker Certified Associate (DCA) Practice Exams Set 22

If a container has files or directories in the directory to be mounted, the directory’s contents are copied into the volume and the volume is mounted


Options are :

  • FALSE
  • TRUE

Answer : TRUE

Tasks are initialized in which state?


Options are :

  • INIT
  • STARTING
  • NEBRASKA
  • NEW

Answer : NEW

When you're starting the docker daemon manually and see an error like the one below, what should you do?

unable to configure the Docker daemon with file /etc/docker/daemon.json:

the following directives are specified both as a flag and in the configurationfile: hosts: (from flag: [unix:///var/run/docker.sock], from file: [tcp://127.0.0.1:2376])


Options are :

  • Restart your host to resolve the conflict
  • Adjust the flags you're using to start the daemon or modify the daemon.json to remove the conflict
  • Verify that port 2376 is open
  • Ensure the host is accessible on the network and try again

Answer : Adjust the flags you're using to start the daemon or modify the daemon.json to remove the conflict

Docker Certified Associate (DCA) Practice Exams Set 2

The core component of UCP is a globally-scheduled service called?


Options are :

  • ucp-agent
  • ucp-manager
  • ucp-daemon
  • ha-agent

Answer : ucp-agent

Which Docker feature allows operations with a remote Docker registry to enforce client-side signing and verification of image tags?


Options are :

  • Docker Content Trust
  • It is not possible to enforce client-side signing and verification of image tags.
  • Docker Signing Authority
  • Docker Certificate Checker

Answer : Docker Content Trust

You can use local file system if you’re deploying DTR with high-availability.


Options are :

  • FALSE
  • TRUE

Answer : FALSE

Docker Certified Associate (DCA) Practice Exams Set 26

Without the quorum, administrative tasks are not possible, including scaling or updating services and joining or removing nodes from the swarm.


Options are :

  • TRUE
  • FALSE

Answer : TRUE

Which flag of 'docker service create' and 'docker service update' configures the time delay between updates to a service task or sets of tasks?


Options are :

  • -update-wait
  • --update-pause
  • --update-delay
  • --wait-delay

Answer : --update-delay

Comment / Suggestion Section
Point our Mistakes and Post Your Suggestions
  • Which of the following can be used to define what command gets executed when running a container?
    
    
    Options are :
    
    Both of the above
    CMD
    ENTRYPOINT
    Answer : CMD
    
    
    Answer is both as both of them are executable at the time of container start up
    Reply