exam questions

Exam DCA All Questions

View all questions & answers for the DCA exam

Exam DCA topic 1 question 7 discussion

Actual exam question from Mirantis's DCA
Question #: 7
Topic #: 1
[All DCA Questions]

Is this a way to configure the Docker engine to use a registry without a trusted TLS certificate?
Pass the ‘--insecure registry’ flag to the daemon at run time.

  • A. Yes
  • B. No
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Raji82
1 month, 1 week ago
Selected Answer: A
It's A ish... should be --insecure-registry not --insecure registry
upvoted 1 times
...
badalchavan11
2 months, 1 week ago
Selected Answer: A
A. Yes Explanation: Passing the --insecure-registry flag to the Docker daemon at runtime is a valid way to configure the Docker engine to use a registry without a trusted TLS certificate. Details: The --insecure-registry flag tells the Docker daemon to allow communication with a specific registry without verifying its TLS certificate. However, this flag must be passed when starting the Docker daemon. Example: If starting the Docker daemon manually, you can use: dockerd --insecure-registry <registry-address>:<port>
upvoted 1 times
...
__rajan__
2 months, 3 weeks ago
Selected Answer: A
Using the --insecure-registry flag when starting the Docker daemon is a valid and supported method to configure Docker to accept an untrusted registry.
upvoted 1 times
...
LavaPup
3 months, 3 weeks ago
Selected Answer: B
No, you cannot pass the --insecure-registry flag to the Docker daemon at runtime. This is a configuration option that must be set before starting the Docker daemon. Any changes to this setting require restarting the Docker service.
upvoted 1 times
...
vladcp
6 months, 1 week ago
I think the answer is B. "--insecure" is not a valid flag.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago