
Latest [Aug 17, 2021] Docker DCA Exam Practice Test To Gain Brilliante Result
Take a Leap Forward in Your Career by Earning Docker DCA
NEW QUESTION 25
Which of the following is required to install Docker EE from a package repository?
- A. License key obtained from Docker Hub
- B. License key obtained from Docker Store
- C. Repository URL obtained from Docker Hub
- D. Repository URL obtained from Docker Store
Answer: D
NEW QUESTION 26
A company's security policy specifies that development and production containers must run on separate nodes in a given Swarm cluster.
Can this be used to schedule containers to meet the security policy requirements?
Solution: label contraints
- A. No
- B. Yes
Answer: A
NEW QUESTION 27
Two development teams in your organization use Kubernetes and want to deploy their applications while ensuring that Kubernetes-specific resources, such as secrets, are grouped together for each application.
Is this a way to accomplish this?
Solution: Create one namespace for each application and add all the resources to it.
- A. No
- B. Yes
Answer: A
NEW QUESTION 28
You want to mount external storage to a particular filesystem path in a container in a Kubernetes pod. What is the correct set of objects to use for this?
- A. a volume in the pod specification, populated with a perslstentVolumeClaim bound to a perslstentVolume defined by a storageClass
- B. a storageClass In the pod's specification, populated with a volume which Is bound to a provisioner defined by a persistentVolume
- C. a perslstentVolume in the pod specification, populated with a persistentVolumeClaim which is bound to a volume defined by a storageClass
- D. a volume in the pod specification, populated with a storageClass which is bound to a provisioner defined by a perslstentVolume
Answer: B
NEW QUESTION 29
You want to provide a configuration file to a container at runtime. Does this set of Kubernetes tools and steps accomplish this?
Solution: Mount the configuration file directly into the appropriate pod and container using the .spec.containers.configMounts key.
- A. No
- B. Yes
Answer: A
NEW QUESTION 30
The output of which command can be used to find the architecture and operating system an image is
compatible with?
- A. docker image inspect --format {{.Architecture}} {{.OS}} ' <image-id>
- B. docker image ls <image-id>
- C. docker image info <image-id>
- D. docker image inspect --filter {{.Architecture}} {{.OS}} ' <image-id>
Answer: A
NEW QUESTION 31
You want to create a container that is reachable from its host's network. Does this action accomplish this?
Solution: Use either EXPOSE or --publish to access the containers on the bridge network
- A. No
- B. Yes
Answer: B
NEW QUESTION 32
Is this a supported user authentication method for Universal Control Plane?
Solution: PAM
- A. No
- B. Yes
Answer: A
NEW QUESTION 33
Which one of the following commands will result in the volume being removed automatically once the container
has exited?
- A. 'docker run --del -v /foo busybox'
- B. 'docker run --remove -v /foo busybox'
- C. 'docker run --read-only -v /foo busybox'
- D. 'docker run --rm -v /foo busybox'
Answer: D
NEW QUESTION 34
Is this a type of Linux kernel namespace that provides container isolation?
Solution: Network
- A. No
- B. Yes
Answer: A
NEW QUESTION 35
What is the recommended way to configure the daemon flags and environment variables for your Docker daemon in a platform independent way?
- A. Set the configuration DOCKER_OPTS in '/etc/default/docker'
- B. Set the configuration options using the ENV variable
- C. Set the configuration options in '/etc/docker/daemon.json'
- D. Using 'docker config' to set the configuration options.
Answer: C
NEW QUESTION 36
Will this configuration achieve fault tolerance for managers in a swarm?
Solution: only two managers, one active and one passive.
- A. No
- B. Yes
Answer: A
NEW QUESTION 37
A company's security policy specifies that development and production containers must run on separate nodes in a given Swarm cluster.
Can this be used to schedule containers to meet the security policy requirements?
Solution: node taints
- A. No
- B. Yes
Answer: A
NEW QUESTION 38
A company's security policy specifies that development and production containers must run on separate nodes in a given Swarm cluster.
Can this be used to schedule containers to meet the security policy requirements?
Solution: resource reservation
- A. No
- B. Yes
Answer: A
NEW QUESTION 39
Will this Linux kernel facility limit a Docker container's access to host resources, such as CPU or memory?
Solution: seccomp
- A. No
- B. Yes
Answer: A
NEW QUESTION 40
What is the docker command to find the current logging driver for a running container?
- A. docker info
- B. docker config
- C. docker stats
- D. docker inspect
Answer: D
NEW QUESTION 41
You are troubleshooting a Kubernetes deployment called api, and want to see the events table for this object. Does this command display it?
Solution: kubectl logs deployment api
- A. No
- B. Yes
Answer: A
NEW QUESTION 42
A server is running low on disk space. What command can be used to check the disk usage of images,
containers, and volumes for Docker engine?
- A. 'docker system free'
- B. 'docker system prune'
- C. 'docker system ps'
- D. 'docker system df'
Answer: D
NEW QUESTION 43
An application image runs in multiple environments, with each environment using different certificates and ports.
Is this a way to provision configuration to containers at runtime?
Solution: Provision a Docker config object for each environment.
- A. No
- B. Yes
Answer: B
NEW QUESTION 44
Seven managers are in a swarm cluster.
Is this how should they be distributed across three datacenters or availability zones?
Solution: 3-2-2
- A. No
- B. Yes
Answer: B
NEW QUESTION 45
Will this Linux kernel facility limit a Docker container's access to host resources, such as CPU or memory?
Solution: cgroups
- A. No
- B. Yes
Answer: B
NEW QUESTION 46
What is the difference between the ADD and COPY dockerfile instructions? (choosen 2)
- A. COPY supports regular expression handling while ADD does not.
- B. ADD supports regular expression handling while COPY does not.
- C. ADD support remote URL handling while COPY does not.
- D. COPY supports compression format handling while ADD does not.
- E. ADD supports compression format handling while COPY does not.
Answer: C
NEW QUESTION 47
The following health check exists in a Dockerfile:
'HEALTCHECK CMD curl --fail http://localhost/health || exit 1'
Which of the following describes its purpose?
- A. Defines the health check endpoint on the localhost interface for external monitoring tools to monitor the health of the docker engine.
- B. Defines the health check endpoint on the local host interface for containers to monitor the health of the docker engine.
- C. Defines the health check for the containerized application so that the application health can be monitored by the Docker engine
- D. Defines the action taken when container health fails, which in this case will kill the container with exit status 1
Answer: D
NEW QUESTION 48
Which of the following is true about using the '-P' option when creating a new container?
- A. Docker binds each exposed container port to a random port on all the host's interface
- B. Docker gives extended privileges to the container.
- C. Docker binds each exposed container port to a random port on a specified host interface
- D. Docker binds each exposed container port with the same port on the host
Answer: A
NEW QUESTION 49
You created a new service named 'http' and discover it is not registering as healthy. Will this command enable you to view the list of historical tasks for this service?
Solution: 'docker service ps http'
- A. No
- B. Yes
Answer: A
NEW QUESTION 50
......
Authentic Best resources for DCA Online Practice Exam: https://www.actualtests4sure.com/DCA-test-questions.html
Updates Up to 365 days On Developing DCA Braindumps: https://drive.google.com/open?id=1drRhFCrQDJo6R1dbv8biiOll6j2XchAw

