ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 67 - DCA discussion

Report
Export

Will this command ensure that overlay traffic between service tasks is encrypted?

Solution: docker network create -d overlay --secure

A.

Yes

Answers
A.

Yes

B.

No

Answers
B.

No

Suggested 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 as3,4,5,6, and [7]. Good luck!

asked 08/11/2024
David Looby
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first