Docker New 2022 DCA Test Tutorial (Updated 170 Questions) [Q58-Q74]

Share

Docker New 2022 DCA Test Tutorial (Updated 170 Questions)

DCA Exam Questions Dumps, Selling Docker Products


Docker DCA Exam Syllabus Topics:

TopicDetails
Topic 1
  • Deploy Images Across the Cluster
Topic 2
  • Standup new Docker Environments and Perform General Maintenance and Configuration
Topic 3
  • Install Maintain and Operate the Docker Platform
Topic 4
  • Migrate Traditional Applications to Containers
Topic 5
  • Run Containerized Applications from Pre-Existing Images Stored in a Centralized Registry
Topic 6
  • Configure and Troubleshoot Docker Engine

 

NEW QUESTION 58
The output of which command can be used to find the architecture and operating system an image is compatible with?

  • A. docker image ls <image-id>
  • B. docker image inspect --filter {{.Architecture}} {{.OS}} ' <image-id>
  • C. docker image inspect --format {{.Architecture}} {{.OS}} ' <image-id>
  • D. docker image info <image-id>

Answer: C

 

NEW QUESTION 59
Will this command display a list of volumes for a specific container?
Solution: 'docker container inspect nginx'

  • A. Yes
  • B. No

Answer: A

 

NEW QUESTION 60
Wha is the purpose of Docker Content Trust?

  • A. Signing and verification of image tags
  • B. Indicating an image on Docker Hub is an official image
  • C. Docker registry TLS verification and encryption
  • D. Enabling mutual TLS between the Docker client and server

Answer: A

 

NEW QUESTION 61
Is this the purpose of Docker Content Trust?
Solution: Verify and encrypt Docker registry TLS.

  • A. Yes
  • B. No

Answer: A

 

NEW QUESTION 62
Seven managers are in a swarm cluster.
Is this how should they be distributed across three datacenters or availability zones?
Solution: 5-1-1

  • A. No
  • B. Yes

Answer: A

 

NEW QUESTION 63
Will this Linux kernel facility limit a Docker container's access to host resources, such as CPU or memory?
Solution: cgroups

  • A. Yes
  • B. No

Answer: A

 

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

Answer: A

 

NEW QUESTION 65
The output of which command can be used to find the architecture and operating system an image is
compatible with?

  • A. docker image ls <image-id>
  • B. docker image inspect --filter {{.Architecture}} {{.OS}} ' <image-id>
  • C. docker image inspect --format {{.Architecture}} {{.OS}} ' <image-id>
  • D. docker image info <image-id>

Answer: C

 

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

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

Answer: C

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

 

NEW QUESTION 67
An application image runs in multiple environments, and each environment uses different certificates and ports, what is the best practice to deploy the containers?

  • A. Create images that contain the specific configuration for every environment.
  • B. Create a Dockerfile for each environment, specifying ports and ENV variables for certificates.
  • C. Create a Dockerfile for each environment, specifying ports and Docker secrets for certificates.
  • D. Create a config file for each environment.

Answer: D

 

NEW QUESTION 68
If installing Docker using devicemapper for storage with the Intent to run production workloads, how should devicemapper be configured

  • A. aufs-lvm
  • B. overlay-lvm
  • C. loop-lvm
  • D. direct-lvm

Answer: D

 

NEW QUESTION 69
Which flag for a service would allow a container to consume more than 2 GB of memory only when there is no memory contention but would also prevent a container from consuming more than 4GB of memory, in any case?

  • A. --limit-memory 2GB --reserve-memory 4GB
  • B. --limit-memory 4GB --reserve-memory 2GB
  • C. --memory-swap 4GB --limit-memory 2GB
  • D. --memory-swap 2GB --limit-memory 4GB

Answer: D

 

NEW QUESTION 70
Which one of the following commands will result in the volume being removed automatically once the container
has exited?

  • A. 'docker run --rm -v /foo busybox'
  • B. 'docker run --read-only -v /foo busybox'
  • C. 'docker run --del -v /foo busybox'
  • D. 'docker run --remove -v /foo busybox'

Answer: A

 

NEW QUESTION 71
A persistentVolumeClaim (PVC) is created with the specification storageClass: "", and size requirements that cannot be satisfied by any existing persistentVolume.
Is this an action Kubernetes takes in this situation?
Solution: The PVC remains unbound until a persistentVolume that matches all requirements of the PVC becomes available.

  • A. Yes
  • B. No

Answer: A

 

NEW QUESTION 72
Is this an advantage of multi-stage builds?
Solution: better caching when building Docker images

  • A. No
  • B. Yes

Answer: A

 

NEW QUESTION 73
Will a DTR security scan detect this?
Solution: licenses for known third party binary components

  • A. No
  • B. Yes

Answer: A

 

NEW QUESTION 74
......

DCA Cert Guide PDF 100% Cover Real Exam Questions: https://www.practicevce.com/Docker/DCA-practice-exam-dumps.html

Pass DCA Review Guide, Reliable DCA Test Engine: https://drive.google.com/open?id=1lYLDu5vfjUItKF8GPLRLDf6gaWZRRPNC