Pass DCA Exam in First Attempt Guaranteed 100% Cover Real Exam Questions [Dec-2021]
Valid DCA test answers & Docker DCA exam pdf
What is the duration, language, and format of Docker Certified Associate Exam
- Length of Examination: 90 mins
- language: English
- Number of Questions: 55
- Passing score: 65%
- Type of Questions: Multiple choice, Multiple answers
NEW QUESTION 35
What is the docker command to find the current logging driver for a running container?
- A. docker info
- B. docker config
- C. docker stats
- D. docker inspect
Answer: D
NEW QUESTION 36
The Kubernetes yaml shown below describes a clusterIP service.
Is this a correct statement about how this service routes requests?
Solution: Traffic sent to the IP of any pod with the label app: nginx on port 8080 will be forwarded to port 80 in that pod.
- A. No
- B. Yes
Answer: B
NEW QUESTION 37
Will this Linux kernel facility limit a Docker container's access to host resources, such as CPU or memory?
Solution: seccomp
- A. No
- B. Yes
Answer: A
NEW QUESTION 38
Which of the following constitutes a production-ready devicemapper configuration for the Docker engine?
- A. Utilize the '--storage-opt dm.directlvm_device' Docker daemon option, specifying a block
device - 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. Nothing, devicemapper comes ready for production usage out of the box
Answer: A
NEW QUESTION 39
After creating a new service named 'http', you notice that the new service is not registering as healthy. How do you view the list of historical tasks for that service by using the command line?
- A. 'docker inspect http'
- B. 'docker service ps http'
- C. 'docker ps http'
- D. 'docker service inspect http'
Answer: D
NEW QUESTION 40
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. All nodes in the cluster will listen on port 80 and forward to port 8080 in the container.
- C. Only a single node in the cluster will listen on port 8080 and forward to port 80 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 41
You add a new user to the engineering organization in DTR.
Will this action grant them read/write access to the engineering/api repository?
Solution: Add them to a team in the engineering organization that has read/write access to the engineering/api repository.
- A. No
- B. Yes
Answer: A
NEW QUESTION 42
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 docker-compose.yml file
- B. docker commit
- C. docker save
- D. A dockerfile
Answer: B
NEW QUESTION 43
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 44
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 45
Will this sequence of steps completely delete an image from disk in the Docker Trusted Registry?
Solution: Delete the image and run garbage collection on the Docker Trusted Registry.
- A. No
- B. Yes
Answer: A
NEW QUESTION 46
Will a DTR security scan detect this?
Solution: licenses for known third party binary components
- A. No
- B. Yes
Answer: A
NEW QUESTION 47
Is this a function of UCP?
Solution: scans images to detect any security vulnerability
- A. No
- B. Yes
Answer: A
NEW QUESTION 48
You are troubleshooting a Kubernetes deployment called api, and want to see the events table for this object. Does this command display it?
Solution: kubectl events deployment api
- A. No
- B. Yes
Answer: A
NEW QUESTION 49
You have created a Docker bridge network on a host with three containers attached, how do you make this containers accessible outside of the host?
- A. Use network attach to access the containers on the bridge network
- B. Use either EXPOSE or --publish to access the containers on the bridge network
- C. Use network connect to access the containers on the bridge network
- D. Use --link to access the containers on the bridge network
Correct
Answer: B
NEW QUESTION 50
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 51
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 52
Will this sequence of steps completely delete an image from disk in the Docker Trusted Registry?
Solution: Delete the image and delete the image repository from Docker Trusted Registry
- A. No
- B. Yes
Answer: B
NEW QUESTION 53
Which statement is true?
- A. ENTRYPOINT cannot be overriden in the "docker container run" command
- B. CMD shell format uses this form ["param", param", "param"]
- C. ENTRYPOINT cannot be used in conjuction with CMD
- D. CMD is used to run the software is the image along with any arguments
Answer: B
NEW QUESTION 54
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. in the ENTRYPOINT directive
- D. at the bottom of the Dockerfile
Answer: D
NEW QUESTION 55
Which of the following commands is used to display system-wide Docker configuration on a host?
- A. docker system
- B. docker status
- C. docker inspect
- D. docker info
Answer: D
NEW QUESTION 56
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 57
Which of these swarm manager configurations will cause the cluster to be in a lost quorum state?
- A. 4 managers of which 2 are healthy
- B. 1 manager of which 1 is healthy
- C. 5 managers of which 3 are healthy
- D. 3 managers of which 2 are healthy
Answer: A
NEW QUESTION 58
When an application being managed by UCP fails, you would like a summary of all requests made to the UCP API in the hours leading up to the failure.
What must be configured correctly beforehand for this to be possible?
- A. All engines in the cluster must have their log driver set to the metadata' or request' level.
- B. UCP logging levels must be set to the info' or debug' level.
- C. Set the logging level in theconfig object for the ucp-kube-api-server container to warning or higher.
- D. UCP audit logs must be set to the metadata' or request' level.
Answer: D
NEW QUESTION 59
......
DCA Exam Questions – Valid DCA Dumps Pdf: https://www.verifieddumps.com/DCA-valid-exam-braindumps.html
Verified DCA dumps Q&As - Pass Guarantee: https://drive.google.com/open?id=1T0Rj414KudcxUATouLE7rJpdDkIhNq5D
