DCA Exam QuestionsBrowse all questions from this exam

DCA Exam - Question 25


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

Show Answer
Correct Answer:

Discussion

7 comments
Sign in to comment
OmarFadl
Jan 10, 2024

B https://docs.datadoghq.com/security/default_rules/cis-docker-1.2.0-7.4/ -- opt encrypted

ubdubdoo
Jun 11, 2024

docker network create -d overlay --opt encrypted <network-name>

bes_iOption: A
Aug 9, 2024

A is correct

InversaRadice
Oct 12, 2024

absolutely B is correct!

ProfessorJayyOption: B
Oct 15, 2024

b. in order to secure overlay do --opt encrypted

LavaPupOption: B
Dec 7, 2024

B is correct. https://stackoverflow.com/questions/47589489/docker-communication-encryption-between-container-in-swarm-mode

__rajan__Option: B
Jan 8, 2025

The correct flag to enable encryption for overlay network traffic is --opt encrypted (or -o encrypted), not --secure. The proper command would be: $ docker network create -d overlay --opt encrypted <network-name>