[Q80-Q105] Get up-to-date Real Exam Questions for DCA UPDATED [2023]

Share

Get up-to-date Real Exam Questions for DCA UPDATED [2023]

Pass Docker DCA Exam in First Attempt Guaranteed

NEW QUESTION 80
Which of these swarm manager configurations will cause the cluster to be in a lost quorum state?

  • A. 5 managers of which 3 are healthy
  • B. 4 managers of which 2 are healthy
  • C. 1 manager of which 1 is healthy
  • D. 3 managers of which 2 are healthy

Answer: B

 

NEW QUESTION 81
From a DevOps process standpoint, it is best practice to keep changes to an application in version control. Which of the following will allow changes to a docker Image to be stored in a version control system?

  • A. A dockerfile
  • B. A docker-compose.yml file
  • C. docker commit
  • D. docker save

Answer: C

 

NEW QUESTION 82
Will this command list all nodes in a swarm cluster from the command line?
Solution: 'docker node Is'

  • A. No
  • B. Yes

Answer: A

 

NEW QUESTION 83
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 84
Which of the following commands is used to display system-wide Docker configuration on a host?

  • A. docker inspect
  • B. docker system
  • C. docker info
  • D. docker status

Answer: C

 

NEW QUESTION 85
Does this describe the role of Control Groups (cgroups) when used with a Docker container?
Solution: role-based access control to clustered resources

  • A. No
  • B. Yes

Answer: A

 

NEW QUESTION 86
Which of the following is true about overlay networks?

  • A. Overlay networks are created on all cluster nodes when you create the overlay network.
  • B. Overlay networks are only created on the manager nodes.
  • C. Overlay networks are created only on the manager node that you created the overlay networking on
  • D. Overlay networks are first created on the manager nodes. Then they are created on the worker nodes once a task is scheduled on the specific worker node.

Answer: A

Explanation:
Explanation

 

NEW QUESTION 87
Which of the following is true about using the '-P' option when creating a new container?

  • A. Docker gives extended privileges to the container.
  • B. Docker binds each exposed container port with the same port on the host
  • C. Docker binds each exposed container port to a random port on all the host's interface
  • D. Docker binds each exposed container port to a random port on a specified host interface

Answer: C

 

NEW QUESTION 88
Will this command display a list of volumes for a specific container?
Solution: docker container logs nginx --volumes'

  • A. No
  • B. Yes

Answer: A

 

NEW QUESTION 89
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 only.
  • C. Clusters can contain Windows 10 and Windows Server 2016 only.
  • D. Clusters can contain Linux and Windows Server 2008 R2 only.

Answer: C

 

NEW QUESTION 90
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 system events --filter splunk

  • A. No
  • B. Yes

Answer: A

 

NEW QUESTION 91
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 92
Which of the following commands will create a swarm service which only listens on port 53 using the UDP protocol?

  • A. docker service create --name dns-cache -p 53:53 --service udp dns-cache
  • B. docker service create --name dns-cache -p 53:53 --udp dns-cache
  • C. docker service create --name dns-cache -p 53:53 ..constraint
    networking.protocol.udp=true dns-cache
  • D. docker service create --name dns-cache -p 53:53/udp dns-cache

Answer: D

 

NEW QUESTION 93
The following Docker Compose file is deployed as a stack:

Is this statement correct about this health check definition?
Solution: Health checks test for app health ten seconds apart. Three failed health checks transition the container into "unhealthy" status.

  • A. No
  • B. Yes

Answer: B

 

NEW QUESTION 94
Is this a function of UCP?
Solution: image role-based access control

  • A. No
  • B. Yes

Answer: A

 

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

  • A. No
  • B. Yes

Answer: A

 

NEW QUESTION 96
A service 'wordpress' is running using a password string to connect to a non-Dockerized database service. The password string is passed into the 'wordpress' service as a Docker secret. Per security policy, the password on the database was changed. Identity the correct sequence of steps to rotate the secret from the old password to the new password.

  • A. Create a new docker secret with the new password. Trigger a rolling secret update by using the 'docker secret update' command
  • B. Create a new docker secret with the new password. Remove the existing service using 'docker service rm'. Start a new service with the new secret using "--secret=<new password>"
  • C. Trigger an update to the service by using 'docker service update --secret=<new password>'
  • D. Create a new docker secret with a new password. Trigger a rolling update of the "wordpress" service, by using "--secret-rm" & "--secret-add" to remove the old secret and add the updated secret.

Answer: D

 

NEW QUESTION 97
You configure a local Docker engine to enforce content trust by setting the environment variable
DOCKER_CONTENT_TRUST=1.
If myorg/myimage: 1.0 is unsigned, does Docker block this command?
Solution: docker image import <tarball> myorg/myimage:1.0

  • A. No
  • B. Yes

Answer: B

 

NEW QUESTION 98
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/udp dns-cache'

  • A. No
  • B. Yes

Answer: B

 

NEW QUESTION 99
Will this action upgrade Docker Engine CE to Docker Engine EE?
Solution: Uninstall 'docker-ce' package before installing 'docker-ee' package.

  • A. No
  • B. Yes

Answer: B

 

NEW QUESTION 100
Which networking drivers allow you to enable multi-host network connectivity between containers?

  • A. bridge, macvlan, ipvlan, overlay
  • B. macvlan, ipvlan, and overlay
  • C. host, macvlan, overlay, user-defined
  • D. bridge, user-defined, host

Answer: B

 

NEW QUESTION 101
Which of the following are types of namespaces used by Docker to provide isolation? (Choose 2.)

  • A. Process ID
  • B. Network
  • C. Authentication
  • D. Host
  • E. Storage

Answer: A,B

 

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

Answer: A

 

NEW QUESTION 103
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 104
Which of the following constitutes a production-ready devicemapper configuration for the Docker engine?

  • A. Nothing, devicemapper comes ready for production usage out of the box
  • B. Create a volume group in devicemapper and utilize the '--dm.thinpooldev' Docker daemon option, specifying the volume group
  • C. Format a partition with xfs and mount it at '/var/lib/docker'
  • D. Utilize the '--storage-opt dm.directlvm_device' Docker daemon option, specifying a block device

Answer: D

Explanation:
Explanation

 

NEW QUESTION 105
......


Introduction to Docker Certified Associate Exam

Docker Certified Associate (DCA) certification serves as a foundational benchmark for real-world container technology expertise with Docker Enterprise Edition. Candidates for DCA Exam are seeking to prove fundamental Docker containerization technology knowledge and skills. Before taking this exam, exam aspirants ought to have a solid fundamental information of the concepts shared in the preparation guide as well as on containerization.

It is suggested that professionals accustomed to the ideas and also the technologies represented here by taking relevant training courses. Candidates are expected to have a strong understanding of core docker services, docker images, docker container, and their cmdlets. After passing this exam, candidates get a certificate from Docker that helps them to demonstrate their proficiency in Docker containerization technology to their clients and employers.

 

Docker DCA Study Guide Archives : https://passguide.prep4pass.com/DCA_exam-braindumps.html