Docker DCA Real Exam Questions Guaranteed Updated Dump from Actual4Exams
Verified Pass DCA Exam in First Attempt Guaranteed
NEW QUESTION 36
In Docker Trusted Registry, is this how a user can prevent an image, such as 'nginx:latest', from being overwritten by another user with push access to the repository?
Solution: Use the DTR web Ul to make all tags in the repository immutable.
- A. Yes
- B. No
Answer: A
NEW QUESTION 37
How do you change the default logging driver for the docker daemon in Linux?
- A. Use the -log-driver' flag when you run a container.
- B. Set the value of log-driver to the name of the logging driver In the daemon.json In /etc/doc
- C. Install a logging agent on the Linux host.
- D. At the command line, type: docker log driver set <driver name>
Answer: C
NEW QUESTION 38
The Kubernetes yaml shown below describes a networkPolicy.
Will the networkPolicy BLOCK this traffic?
Solution: a request issued from a pod lacking the tier: api label, to a pod bearing the tier: backend label
- A. Yes
- B. No
Answer: A
NEW QUESTION 39
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. Yes
- B. No
Answer: A
NEW QUESTION 40
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: Kubernetes automatically triggers a user-defined script to attempt to fix the unhealthy container.
- A. No
- B. Yes
Answer: A
NEW QUESTION 41
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. Yes
- B. No
Answer: A
NEW QUESTION 42
What service mode is used to deploy a single task of a service to each node?
- A. universal
- B. spread
- C. distributed
- D. replicated
- E. global
Answer: E
NEW QUESTION 43
Which 'docker run' flag lifts cgroup limitations?
- A. 'docker run --isolation'
- B. 'docker run --cap-drop'
- C. 'docker run --privileged'
- D. 'docker run --cpu-period'
Answer: C
NEW QUESTION 44
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. Yes
- B. No
Answer: A
NEW QUESTION 45
What behavior is expected when a service is created with the following command:
'docker service create --publish 8000:80 nginx'
- A. All nodes in the cluster will listen on port 8080 and forward to port 80 in the container.
- B. Only a single node in the cluster will listen on port 8080 and forward to port 80 in the container.
- C. All nodes in the cluster will listen on port 80 and forward to port 8080 in the container.
- D. Only a single node in the cluster will listen on port 80 and forward to port 8080 in the container.
Answer: A
NEW QUESTION 46
You set up an automatic pruning policy on a DTR repository to prune all images using Apache licenses. What effect does this have on images in this repository?
- A. Matching images are untagged once they are older than the pruning threshold set in the repository's Settings tab.
- B. Matching images are deleted during the next prune Job.
- C. Matching images are untagged during the next prune job, and subsequently deleted once they are older than the pruning threshold set in the repository's Settings tab.
- D. Matching Images are untagged during the next prune job.
Answer: A
NEW QUESTION 47
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. in the ENTRYPOINT directive
- B. at the top of the Dockerfile
- C. after the FROM directive
- D. at the bottom of the Dockerfile
Answer: D
NEW QUESTION 48
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 using the ENV variable
- B. Set the configuration DOCKER_OPTS in '/etc/default/docker'
- C. Set the configuration options in '/etc/docker/daemon.json'
- D. Using 'docker config' to set the configuration options.
Answer: C
NEW QUESTION 49
Does this describe the role of Control Groups (cgroups) when used with a Docker container?
Solution: user authorization to the Docker API
- A. No
- B. Yes
Answer: A
NEW QUESTION 50
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. Keep a backup copy of the image on another repository.
- B. Tag the image with 'nginx:immutable'
- C. Use the DTR web UI to make the tag immutable.
- D. Remove push access from all other users.
Answer: C
NEW QUESTION 51
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. Yes
- B. No
Answer: A
NEW QUESTION 52
......
Download Real Docker DCA Exam Dumps Test Engine Exam Questions: https://www.actual4exams.com/DCA-valid-dump.html
Free DCA Sample Questions and 100% Cover Real Exam Questions: https://drive.google.com/open?id=1nHDYRpcnDU8a7sWQeNRG6p5Cmkuw2SrK