Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Docker Exam DCA Topic 5 Question 98 Discussion

Actual exam question for Docker's DCA exam
Question #: 98
Topic #: 5
[All DCA Questions]

In the context of a swarm mode cluster, does this describe a node?

Solution: an instance of the Docker engine participating in the swarm

Show Suggested Answer Hide Answer
Suggested Answer: C, E

To trust a self-signed certificate from a Docker Trusted Registry (DTR), you need to place the certificate in the appropriate location on all cluster nodes and restart the Docker daemon. There are two possible locations for the certificate, depending on your OS and Docker version1:

* /etc/docker/certs.d/dtr.example.com/ca.crt: This is the preferred location for Linux systems and Docker versions 1.13 and higher. This directory is scanned by Docker for certificates and keys for each registry domain2.

* Your OS certificate path: This is the fallback location for other OSes and Docker versions. You need to find the certificate store for your OS and copy the certificate there. You also need to trust the certificate system-wide, which may require additional steps depending on your OS3.

The other options are not correct because:

* Passing '-trust-certificate ca.crt to the Docker client is not a valid option. There is no such flag for the Docker client4.

* Placing the certificate in '/etc/docker/dtr/dtr.example.com.crt' is not a valid location. The certificate should be in the /etc/docker/certs.d directory, not the /etc/docker/dtr directory1.

* Passing -- insecure-registry to the Docker client is not a recommended option. This flag disables the TLS verification for the registry, which makes the communication insecure and vulnerable to attacks.


* Use self-signed certificates | Docker Docs

* Test an insecure registry | Docker Docs

* Add TLS certificates as a trusted root authority to the host OS | Docker Docs

* docker | Docker Docs

* [Deploy a registry server | Docker Docs]

Contribute your Thoughts:

Hoa
12 hours ago
Finally, a question that doesn't require a PhD in computer science to answer. A node is definitely an instance of the Docker engine.
upvoted 0 times
...
Shanice
2 days ago
Well, duh! How else would you run Docker containers in a swarm? This is a no-brainer.
upvoted 0 times
...
Jill
6 days ago
Of course it does! An instance of the Docker engine is the heart and soul of a swarm mode cluster.
upvoted 0 times
...
Vivienne
16 days ago
That makes sense. So the answer is A) Yes then.
upvoted 0 times
...
Lynsey
19 days ago
Yes, I believe so. A node is an instance of the Docker engine participating in the swarm.
upvoted 0 times
...
Vivienne
22 days ago
Do you think a node in a swarm mode cluster is an instance of the Docker engine?
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77