最近更新された2023年11月テストエンジン練習テストはDCA試験問題解答!
Docker Certified Associate (DCA) Exam認定サンプル問題と練習試験合格させます
DCA認定試験は、Dockerと協力するITの専門家、開発者、およびシステム管理者向けに設計されています。試験に合格した候補者は、Dockerを使用してコンテナ内のアプリケーションを構築、出荷、および実行する能力を示しています。この試験では、Dockerの基本、Dockerfile、画像作成、Docker Swarmによるコンテナオーケストレーション、Dockerネットワーキングとセキュリティなど、さまざまなトピックをカバーしています。
質問 # 60
Is this a way to configure the Docker engine to use a registry without a trusted TLS certificate?
Solution. Set and export the IGNORE_TLS environment variable on the command line.
- A. Yes
- B. No
正解:B
解説:
Explanation
Setting and exporting the IGNORE_TLS environment variable on the command line is not a way to configure the Docker engine to use a registry without a trusted TLS certificate. The IGNORE_TLS environment variable is not recognized by Docker and has no effect on its behavior. To configure the Docker engine to use a registry without a trusted TLS certificate, you need to either set INSECURE_REGISTRY in the /etc/docker/default configuration file or add --insecure-registry flag to the dockerd command. References:
https://docs.docker.com/registry/insecure/,
https://docs.docker.com/engine/reference/commandline/dockerd/#insecure-registries
質問 # 61
A server is running low on disk space. What command can be used to check the disk usage of images,
containers, and volumes for Docker engine?
- A. 'docker system free'
- B. 'docker system df'
- C. 'docker system ps'
- D. 'docker system prune'
正解:B
質問 # 62
Will This command list all nodes in a swarm cluster from the command line?
Solution. 'docker swarm nodes'
- A. Yes
- B. No
正解:B
解説:
Explanation
This command does not list all nodes in a swarm cluster from the command line. The docker swarm command manages swarm operations, such as initializing or joining a swarm, updating the swarm configuration, etc. It does not show information about nodes or services. To list all nodes in a swarm cluster from the command line, you need to use docker node ls command. This command shows information about all the nodes that are part of the swarm, such as their ID, hostname, status, availability, etc. References:
https://docs.docker.com/engine/reference/commandline/swarm/,
https://docs.docker.com/engine/reference/commandline/node_ls/
質問 # 63
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 service inspect http'
- A. Yes
- B. No
正解:B
解説:
Explanation
Using 'docker service inspect http' does not enable you to view the list of historical tasks for this service. The docker service inspect command shows low-level information about one or more services, such as their configuration, replicas, networks, endpoints, etc. It does not show the history of tasks that have been run by the service. To view the list of historical tasks for this service, you need to use 'docker service ps http'.
References: https://docs.docker.com/engine/reference/commandline/service_inspect/,
https://docs.docker.com/engine/reference/commandline/service_ps/
質問 # 64
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
質問 # 65
Are these conditions sufficient for Kubernetes to dynamically provision a persistentVolume, assuming there are no limitations on the amount and type of available external storage?
Solution: A default storageClass is specified, and subsequently a persistentVolumeClaim is created.
- A. Yes
- B. No
正解:A
質問 # 66
Is this an advantage of multi-stage builds?
Solution: optimizes Images by copying artifacts selectively from previous stages
- A. Yes
- B. No
正解:A
質問 # 67
Will this command mount the host's '/data' directory to the ubuntu container in read-only mode?
Solution: 'docker run -v /data:/mydata --mode readonly ubuntu'
- A. Yes
- B. No
正解:A
質問 # 68
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. Yes
- B. No
正解:B
質問 # 69
Is this statement correct?
Solution: A Dockerfile provides instructions for building a Docker image
- A. Yes
- B. No
正解:A
解説:
Explanation
This statement is correct. A Dockerfile provides instructions for building a Docker image. A Dockerfile is a text document that contains all the commands a user could call on the command line to assemble an image.
Using docker build, you can create an automated build that executes several command-line instructions in succession. References: https://docs.docker.com/engine/reference/builder/,
https://docs.docker.com/engine/reference/commandline/build/
質問 # 70
What behavior is expected when a service is created with the following command:
'docker service create --publish 8000:80 nginx'
- A. Only a single node in the cluster will listen on port 80 and forward to port 8080 in the container.
- B. All nodes in the cluster will listen on port 8080 and forward to port 80 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. All nodes in the cluster will listen on port 80 and forward to port 8080 in the container.
正解:B
質問 # 71
Will this action upgrade Docker Engine CE to Docker Engine EE?
Solution: Uninstall 'docker-ce' package before installing 'docker-ee' package.
- A. Yes
- B. No
正解:A
解説:
Explanation
Uninstalling 'docker-ce' package before installing 'docker-ee' package does upgrade Docker Engine CE to Docker Engine EE. Docker Engine CE is the free and open source edition of Docker Engine, while Docker Engine EE is the enterprise-ready edition that includes additional features and support. To upgrade from CE to EE, you need to uninstall the 'docker-ce' package and its dependencies, and then install the 'docker-ee' package from the Docker repository. References:
https://docs.docker.com/engine/install/centos/#upgrade-docker-after-using-the-convenience-script,
https://docs.docker.com/engine/install/centos/#install-using-the-repository
質問 # 72
Will this action upgrade Docker Engine CE to Docker Engine EE?
Solution: Uninstall 'docker-ce' package before installing 'docker-ee' package.
- A. Yes
- B. No
正解:A
質問 # 73
A users attempts to set the system time from inside a Docker container are unsuccessful. Could this be blocking this operation?
Solution: inter-process communication
- A. Yes
- B. No
正解:B
質問 # 74
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. Yes
- B. No
正解:B
解説:
Explanation
This is not how they should be distributed across three datacenters or availability zones, because having one manager in two datacenters or availability zones creates a risk of losing quorum if those datacenters or availability zones become unavailable. According to the official documentation, managers should be distributed evenly across datacenters or availability zones to ensure that the swarm can survive the loss of any one datacenter or availability zone.
References: https://docs.docker.com/engine/swarm/admin_guide/#add-manager-nodes-for-fault-tolerance
質問 # 75
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 for the containerized application so that the application health can be monitored by the Docker engine
- B. Defines the health check endpoint on the localhost interface for external monitoring tools to monitor the health of the docker engine.
- C. Defines the health check endpoint on the local host interface for containers to monitor the health of the docker engine.
- D. Defines the action taken when container health fails, which in this case will kill the container with exit status 1
正解:D
質問 # 76
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 service ps http'
- A. Yes
- B. No
正解:A
解説:
Explanation
Using 'docker service ps http' enables you to view the list of historical tasks for this service. The docker service ps command shows information about tasks associated with one or more services. A task is a slot where a container runs to execute a service's commands. A task can have different states in its lifecycle, such as new, running, complete, failed, etc. The docker service ps command shows all tasks by default, including historical ones. References: https://docs.docker.com/engine/reference/commandline/service_ps/,
https://docs.docker.com/engine/swarm/how-swarm-mode-works/services/
質問 # 77
The following Docker Compose file is deployed as a stack:
Is this statement correct about this health check definition?
Solution: Health checks test for app health ten seconds apart. If the test fails, the container will be restarted three times before it gets rescheduled.
- A. Yes
- B. No
正解:B
質問 # 78
Is this a way to configure the Docker engine to use a registry without a trusted TLS certificate?
Solution: Pass the '--insecure-registry' flag to the daemon at run time.
- A. Yes
- B. No
正解:A
解説:
Explanation
Passing the '-insecure-registry' flag to the daemon at run time is a way to configure the Docker engine to use a registry without a trusted TLS certificate. According to the official documentation, this flag allows access to registries that have invalid or self-signed certificates.
References: https://docs.docker.com/registry/insecure/
質問 # 79
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. Yes
- B. No
正解:A
質問 # 80
If installing Docker using devicemapper for storage with the Intent to run production workloads, how should devicemapper be configured
- A. loop-lvm
- B. direct-lvm
- C. overlay-lvm
- D. aufs-lvm
正解:B
質問 # 81
Will this command ensure that overlay traffic between service tasks is encrypted?
Solution: docker network create -d overlay --secure
- A. Yes
- B. No
正解:B
質問 # 82
......
Docker Certified Associate (DCA) 試験は、Docker が提供する認定プログラムで、Docker プラットフォームを効果的に使用するために必要なスキルと知識をテストします。この試験は、Docker コンテナを使用してアプリケーションを展開、管理、スケーリングする IT プロフェッショナルの能力を検証するために設計されています。DCA 認定は、世界的に認められている業界標準の資格であり、Docker を使用する IT プロフェッショナルにとって高く評価されています。
Docker DCA 認定は、Docker コンテナリゼーションの専門知識を持った候補者を確認する業界で認められた資格です。認定は世界中の組織に広く受け入れられ、専門家の履歴書に貴重な追加となります。Docker DCA 認定を取得した専門家は、需要が高く、より高い給与と良い求人機会を期待することができます。
認定問題集でDocker Certified Associate DCAガイドで100%有効な:https://www.passtest.jp/Docker/DCA-shiken.html
100%必ず合格させるDCA一発合格はこれ:https://drive.google.com/open?id=1n0E2jugwQ1wbtbOaQ96bPuNvR41PKnH1