[Apr-2023] Download Real DCA Exam Dumps for candidates 100% Free Dump Files [Q49-Q72]

Share

[Apr-2023] Download Real DCA Exam Dumps for candidates. 100% Free Dump Files

Prepare Important Exam with DCA Exam Dumps(2023) 

NEW QUESTION # 49
Is this statement correct?
Solution: A Dockerfile provides instructions for building a Docker image

  • A. No
  • B. Yes

Answer: A


NEW QUESTION # 50
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: Add all the resources to the default namespace.

  • A. No
  • B. Yes

Answer: A


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

  • A. No
  • B. Yes

Answer: B


NEW QUESTION # 52
Which of the following commands starts a Redis container and configures it to always restart unless it is
explicitly stopped or Docker is restarted?

  • A. 'docker run -d --restart omit-stopped redis'
  • B. 'docker run -d --restart unless-stopped redis'
  • C. 'docker run -d --restart-policy unless-stopped redis'
  • D. 'docker run -d --failure omit-stopped redis'

Answer: B


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

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

Answer: D

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


NEW QUESTION # 54
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 options in '/etc/docker/daemon.json'
  • B. Set the configuration options using the ENV variable
  • C. Set the configuration DOCKER_OPTS in '/etc/default/docker'
  • D. Using 'docker config' to set the configuration options.

Answer: A


NEW QUESTION # 55
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 # 56
Which of the following is required to install Docker EE from a package repository?

  • A. Repository URL obtained from Docker Store
  • B. License key obtained from Docker Hub
  • C. License key obtained from Docker Store
  • D. Repository URL obtained from Docker Hub

Answer: A


NEW QUESTION # 57
Which 'docker run' flag lifts cgroup limitations?

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

Answer: D


NEW QUESTION # 58
Which statement is true?

  • A. CMD shell format uses this form ["param", param", "param"]
  • B. CMD is used to run the software is the image along with any arguments
  • C. ENTRYPOINT cannot be overriden in the "docker container run" command
  • D. ENTRYPOINT cannot be used in conjuction with CMD

Answer: A


NEW QUESTION # 59
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 and mount it directly into the appropriate pod and container using the .spec.containers.configMounts key.

  • A. No
  • B. Yes

Answer: A


NEW QUESTION # 60
In the context of a swarm mode cluster, does this describe a node?
Solution: an instance of the Docker engine participating in the swarm

  • A. No
  • B. Yes

Answer: B


NEW QUESTION # 61
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 # 62
How do you configure Docker engine to use a registry that is not configured with TLS certificates from a trusted CA?

  • A. Set and export the IGNORE_TLS environment variable on the command line
  • B. Set IGNORE_TLS in the 'daemon.json' configuration file.
  • C. Set INSECURE_REGISTRY in the '/etc/docker/default' configuration file
  • D. Pass the '--insecure.-registry' flag to the daemon at run time

Answer: D


NEW QUESTION # 63
A users attempts to set the system time from inside a Docker container are unsuccessful. Could this be blocking this operation?
Solution: Linux capabilities

  • A. No
  • B. Yes

Answer: B


NEW QUESTION # 64
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 --remove -v /foo busybox'
  • C. 'docker run --read-only -v /foo busybox'
  • D. 'docker run --del -v /foo busybox'

Answer: A


NEW QUESTION # 65
Which of the following commands starts a Redis container and configures it to always restart unless it is explicitly stopped or Docker is restarted?

  • A. 'docker run -d --restart omit-stopped redis'
  • B. 'docker run -d --restart-policy unless-stopped redis'
  • C. 'docker run -d --failure omit-stopped redis'
  • D. 'docker run -d --restart unless-stopped redis'

Answer: B


NEW QUESTION # 66
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 action taken when container health fails, which in this case will kill the container with exit status 1.
  • D. Defines the health check for the containerized application so that the application health can be monitored by the Docker engine

Answer: C


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

  • A. No
  • B. Yes

Answer: A


NEW QUESTION # 68
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. docker save
  • B. A dockerfile
  • C. A docker-compose.yml file
  • D. docker commit

Answer: D


NEW QUESTION # 69
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 --format {{.Architecture}} {{.OS}} ' <image-id>
  • C. docker image info <image-id>
  • D. docker image inspect --filter {{.Architecture}} {{.OS}} ' <image-id>

Answer: B


NEW QUESTION # 70
Some Docker images take time to build through a Continuous Integration environment. You want to speed up builds and take advantage of build caching.
Where should the most frequently changed part of a Docker image be placed in a Dockerfile?

  • A. at the top of the Dockerfile
  • B. after the FROM directive
  • C. at the bottom of the Dockerfile
  • D. in the ENTRYPOINT directive

Answer: C


NEW QUESTION # 71
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 # 72
......

DCA Questions - Truly Beneficial For Your Docker Exam: https://tesking.pass4cram.com/DCA-dumps-torrent.html