Docker DCA Real 2022 Braindumps Mock Exam Dumps [Q78-Q93]

Share

Docker DCA Real 2022 Braindumps Mock Exam Dumps

DCA Exam Questions | Real DCA Practice Dumps

NEW QUESTION 78
Will this action upgrade Docker Engine CE to Docker Engine EE?
Solution: Delete '/var/lib/docker' directory.

  • A. Yes
  • B. No

Answer: B

 

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

  • A. Yes
  • B. No

Answer: A

 

NEW QUESTION 80
Can this set of commands identify the published port(s) for a container?
Solution: docker container inspect', 'docker port'

  • A. Yes
  • B. No

Answer: A

 

NEW QUESTION 81
Which statement is correct about cluster management in Docker Enterprise Edition 3.x?

  • A. Clusters can contain Linux, Windows Server 2016 and 2019, and Linux on IBM z Systems.
  • B. Clusters can contain Linux and Windows Server 2008 R2 only.
  • C. Clusters can contain Windows 10 and Windows Server 2016 only.
  • D. Clusters can contain Linux only.

Answer: C

 

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

  • A. Yes
  • B. No

Answer: B

 

NEW QUESTION 83
Your organization has a centralized logging solution, such as Splunk.
Will this configure a Docker container to export container logs to the logging solution?
Solution: Set the log-driver and log-oPt keys to values for the logging solution (Splunk) In the daemon.json file.

  • A. Yes
  • B. No

Answer: A

 

NEW QUESTION 84
Following the principle of least privilege, which of the following methods can be used to securely grnt access to the specific user to communicate to a Docker engine? (Choose two.)

  • A. Utilize the '--host 0.0.0.0:2375' option to the Docker daemon to listen on port 2375 over TCP on all interfaces
  • B. Utilize the '--host 127.0.0.1:2375' option to the Docker daemon to listen on port 2375 over TCP on localhost
  • C. Utilize openssl to create TLS client and server certificates, configuring the Docker engine to use with mutual TLS over TCP.
  • D. Add the user to the 'docker' group on the server or specify the groue with the '--group' Docker daemon option.
  • E. Give the user root access to the server to allow them to run Docker commands as root.

Answer: C,D

 

NEW QUESTION 85
You have just executed 'docker swarm leave' on a node. What command can be run on the same node to confirm it has left the cluster?

  • A. docker node ls
  • B. docker system status
  • C. docker system info
  • D. docker system status

Answer: C

 

NEW QUESTION 86
A container named "analytics" that stores results in a volume called "data" was created.
docker run -d --name=analytics -v data:/data app1
How are the results accessed in "data" with another container called "app2"?

  • A. docker run -d --name=reports --mount=app1 app2
  • B. docker run -d --name=reports --volume=app1 app2
  • C. docker run -d --name=reports --volume=data app2
  • D. docker run -d --name=reports --volumes-from=analytics app2

Answer: D

 

NEW QUESTION 87
A docker service 'web' is running with a scale factor of 1 (replicas = 1).
Bob intends to use the command 'docker service update --replicas=3 web'.
Alice intends to use the command 'docker service scale web=3'.
How do the outcomes oft these two commands differ?

  • A. Both Bob's and Alice's commands result in exactly the same outcome, which is 3 instances of the 'web' service.
  • B. Bob's command only updates the service definition, but no new replicas are started. Alice's command results in the actual scaling up of the 'web' service.
  • C. Bob's command results in an error. Alice's command updates the number of replicas of the 'web' service to 3.
  • D. Bob's command updates the number of replicas of the 'web' service to 3. Alice's command results in an error.

Answer: A

 

NEW QUESTION 88
Your organization has a centralized logging solution, such as Splunk.
Will this configure a Docker container to export container logs to the logging solution?
Solution: docker logs <container-id>

  • A. Yes
  • B. No

Answer: B

 

NEW QUESTION 89
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. Yes
  • B. No

Answer: B

 

NEW QUESTION 90
What is the docker command to setup a swarm?

  • A. docker create swarm
  • B. docker swarm create
  • C. docker swarm init
  • D. docker init swarm

Answer: C

Explanation:
Explanation
https://docs.docker.com/engine/reference/commandline/swarm/

 

NEW QUESTION 91
One of several containers in a pod is marked as unhealthy after failing its livenessProbe many times. Is this the action taken by the orchestrator to fix the unhealthy container?
Solution: The unhealthy container is restarted.

  • A. Yes
  • B. No

Answer: B

 

NEW QUESTION 92
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 '--logging' flag set to debug
  • B. Start the 'dockerd' process manually with the '--raw-logs' flag set to debug
  • C. Set the logging key to debug in the 'daemon.json' file.
  • D. Set the debug key to true in the 'daemon.json' file.

Answer: D

 

NEW QUESTION 93
......

Verified DCA Exam Dumps Q&As - Provide DCA with Correct Answers: https://pass4sure.actualpdf.com/DCA-real-questions.html