
信頼できるDocker Certified Associate DCA問題集PDF 2023年04月28日最近更新された問題
必ず合格できるDocker DCA試験正確な170問題と解答あります
質問 42
Will this command display a list of volumes for a specific container?
Solution: docker container logs nginx --volumes'
- A. No
- B. Yes
正解: A
質問 43
A Kubernetes node is allocated a /26 CIDR block (64 unique IPs) for its address space.
If every pod on this node has exactly two containers in it, how many pods can this address space support on this node?
- A. 64 for every service routing to pods on this node
- B. 0
- C. 1
- D. 32 In every Kubernetes namespace
正解: A
質問 44
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 docker-compose.yml file
- C. docker commit
- D. A dockerfile
正解: C
質問 45
Will this command ensure that overlay traffic between service tasks is encrypted?
Solution: docker service create --network --encrypted
- A. No
- B. Yes
正解: A
質問 46
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
正解: A
質問 47
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
正解: A
質問 48
Does this command display all the pods in the cluster that are labeled as 'env: development'?
Solution: 'kubectl get pods -I env=development'
- A. Yes
- B. No
正解: A
質問 49
Will a DTR security scan detect this?
Solution: licenses for known third party binary components
- A. No
- B. Yes
正解: A
質問 50
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 ps http'
- B. 'docker inspect http'
- C. 'docker service inspect http'
- D. 'docker service ps http'
正解: C
質問 51
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
正解: A
質問 52
Which of the following commands will ensure that overlay traffic between service tasks is encrypted?
- A. docker network create -d overlay -o encrypted=true <network-name>
- B. docker service create --network <network-name> --secure <service-name>
- C. docker service create --network <network-name> --encrypted <service-name>
- D. docker network create -d overlay --secure <network-name>
正解: A
質問 53
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. after the FROM directive
- B. at the bottom of the Dockerfile
- C. at the top of the Dockerfile
- D. in the ENTRYPOINT directive
正解: B
質問 54
The output of which command can be used to find the architecture and operating system an image is
compatible with?
- A. docker image inspect --filter {{.Architecture}} {{.OS}} ' <image-id>
- B. docker image info <image-id>
- C. docker image ls <image-id>
- D. docker image inspect --format {{.Architecture}} {{.OS}} ' <image-id>
正解: D
質問 55
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 logs deployment api
- A. No
- B. Yes
正解: A
質問 56
Which statement is true about DTR garbage collection?
- A. Garbage collection removes DTR images that are older than a configurable of days
- B. Garbage collection removes exited containers from cluster nodes.
- C. Garbage collection removes unreferenced image layers from DTR's backend storage.
- D. Garbage collection removes unused volumes from cluster nodes
正解: C
質問 57
Will this Linux kernel facility limit a Docker container's access to host resources, such as CPU or memory?
Solution: namespaces
- A. No
- B. Yes
正解: A
質問 58
During development of an application meant to be orchestrated by Kubernetes, you want to mount the /data directory on your laptop into a container.
Will this strategy successfully accomplish this?
Solution: Add a volume to the pod that sets hostPath.path: /data, and then mount this volume into the pod's containers as desired.
- A. No
- B. Yes
正解: A
質問 59
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: Set the log-driver and log-oPt keys to values for the logging solution (Splunk) In the daemon.json file.
- A. Yes
- B. No
正解: A
質問 60
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. Yes
- B. No
正解: A
質問 61
......
Docker DCA 認定試験の出題範囲:
| トピック | 出題範囲 |
|---|---|
| トピック 1 |
|
| トピック 2 |
|
| トピック 3 |
|
| トピック 4 |
|
| トピック 5 |
|
| トピック 6 |
|
2023年最新の実際にある検証済みのDCA問題集:https://www.goshiken.com/Docker/DCA-mondaishu.html
合格させるDCA試験で更新された170問題あります:https://drive.google.com/open?id=1km1qJgkqB8Y7TRMu--7t4hvE7DxyybWr