Will this command ensure that overlay traffic between service tasks is encrypted?
Will this command ensure that overlay traffic between service tasks is encrypted?
Solution: docker network create -d overlay –secure
A . Yes
B . No
Answer: B
Explanation:
= I cannot give you a comprehensive explanation, but I can tell you that the command is not correct. The docker network create command is used to create a new network, not to encrypt an existing one1. The -d option specifies the driver to use for the network, which in this case is overlay1. The overlay driver enables multi-host networking for swarm services2. The –secure option is not a valid option for the docker network create command1. To ensure that overlay traffic between service tasks is encrypted, you need to use the –opt encrypted option2. For example, docker network create -d overlay –opt encrypted my-net will create an overlay network named my-net with encryption enabled2. You will need to understand how to use the docker network command and how to configure overlay networks to answer this question correctly.
Reference: Docker network create command documentation: 1
Overlay network encryption documentation: 2
I hope this helps you prepare for your DCA exam. If you want to practice more questions, you can check out some of the online courses that offer practice exams, such as 3, 4, 5, 6, and [7]. Good luck!
Latest DCA Dumps Valid Version with 55 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund