100% Pass Your DCA Exam Dumps at First Attempt with TestkingPDF [Q31-Q53]

Share

100% Pass Your DCA Exam Dumps at First Attempt with TestkingPDF

Penetration testers simulate DCA exam PDF

NEW QUESTION 31
You want to provide a configuration file to a container at runtime. Does this set of Kubernetes tools and steps accomplish this?
Solution: Turn the configuration file into a configMap object, use it to populate a volume associated with the pod, and mount that file from the volume to the appropriate container and path.

  • A. No
  • B. Yes

Answer: B

 

NEW QUESTION 32
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 33
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 34
Which statement is true about DTR garbage collection?

  • A. Garbage collection removes DTR images that are older than a configurable of days
  • B. Garbage collection removes exited containers from cluster nodes.
  • C. Garbage collection removes unreferenced image layers from DTR's backend storage.
  • D. Garbage collection removes unused volumes from cluster nodes

Answer: C

 

NEW QUESTION 35
Which one of the following commands will show a list of volumes for a specific container?

  • A. 'docker volume inspect nginx'
  • B. 'docker volume logs nginx --containers'
  • C. 'docker container inspect nginx'
  • D. 'docker container logs nginx --volumes'

Answer: C

 

NEW QUESTION 36
Which set of commands can identify the publishd port(s) for a container? (Choose 1.)

  • A. 'docker info','docker network inspect'
  • B. 'docker port inspect', 'docker container inspect'
  • C. 'docker network inspect','docker port'
  • D. 'docker container inspect', docker port'

Answer: D

 

NEW QUESTION 37
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 38
In Docker Trusted Registry, how would a user prevent an image, for example 'nginx:latest' from being overwritten by another user with push access to the repository?

  • A. Remove push access from all other users.
  • B. Use the DTR web UI to make the tag immutable.
  • C. Tag the image with 'nginx:immutable'
  • D. Keep a backup copy of the image on another repository.

Answer: B

 

NEW QUESTION 39
Which 'docker run' flag lifts cgroup limitations?

  • A. 'docker run --privileged'
  • B. 'docker run --cpu-period'
  • C. 'docker run --cap-drop'
  • D. 'docker run --isolation'

Answer: A

 

NEW QUESTION 40
A user is having problems running Docker. Which of the following will start Docker in debug mode?

  • A. Start the 'dockerd' process manually with the '--raw-logs' flag set to debug
  • B. Start the 'dockerd' process manually with the '--logging' flag set to debug
  • C. Set the debug key to true in the 'daemon.json' file.
  • D. Set the logging key to debug in the 'daemon.json' file.

Answer: C

 

NEW QUESTION 41
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 inspect http'

  • A. No
  • B. Yes

Answer: B

 

NEW QUESTION 42
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 43
Does this command create a swarm service that only listens on port 53 using the UDP protocol?
Solution: 'docker service create -name dns-cache -p 53:53 -service udp dns-cache'

  • A. No
  • B. Yes

Answer: A

 

NEW QUESTION 44
Will this action upgrade Docker Engine CE to Docker Engine EE?
Solution: Manually download the 'docker-ee' package

  • A. No
  • B. Yes

Answer: B

 

NEW QUESTION 45
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?

  • A. Set the logging level in theconfig object for the ucp-kube-api-server container to warning or higher.
  • B. UCP logging levels must be set to the info' or debug' level.
  • C. All engines in the cluster must have their log driver set to the metadata' or request' level.
  • D. UCP audit logs must be set to the metadata' or request' level.

Answer: D

 

NEW QUESTION 46
In the context of a swarm mode cluster, does this describe a node?
Solution: a physical machine participating in the swarm

  • A. No
  • B. Yes

Answer: A

 

NEW QUESTION 47
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 48
Which of the following namespaces is disabled by default and must be enabled at Docker engine runtime in order to be used?

  • A. net
  • B. pid
  • C. user
  • D. mnt

Answer: C

 

NEW QUESTION 49
Is this a function of UCP?
Solution: enforces the deployment of signed images to the cluster

  • A. No
  • B. Yes

Answer: A

 

NEW QUESTION 50
Will this configuration achieve fault tolerance for managers in a swarm?
Solution: an odd number of manager nodes, totaling more than two

  • A. No
  • B. Yes

Answer: B

 

NEW QUESTION 51
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 52
Is this a Linux kernel namespace that is disabled by default and must be enabled at Docker engine runtime to be used?
Solution: user

  • A. No
  • B. Yes

Answer: B

 

NEW QUESTION 53
......

All DCA Dumps and Training Courses: https://www.testkingpdf.com/DCA-testking-pdf-torrent.html

Help candidates to study and pass the Docker Certified Associate (DCA) Exam Exams hassle-free: https://drive.google.com/open?id=1PSH4Ya_ewDiL78m72YzXkWyKe7SrkXZ_