Docker Certified Associate (DCA) — Question 10

Will this command ensure that overlay traffic between service tasks is encrypted? docker network create -d overlay --secure <network-name>

Answer options

Correct answer: B

Explanation

The command provided does not ensure encryption of overlay traffic, as the `--secure` flag is not a valid option for Docker networks. Therefore, the correct answer is B, indicating that the command does not guarantee encryption. Option A is incorrect because there is no inherent encryption applied through this command.