exam questions

Exam 70-740 All Questions

View all questions & answers for the 70-740 exam

Exam 70-740 topic 1 question 54 discussion

Actual exam question from Microsoft's 70-740
Question #: 54
Topic #: 1
[All 70-740 Questions]

You have a server named Server1 that runs Windows Server 2016. You install the Docker daemon on Server1. You need to configure the Docker daemon to accept connections only on TCP port 64500.
What should you do?

  • A. Run the New-NetFirewallRule cmdlet
  • B. Run the Set-Service Windows PowerShell cmdlet
  • C. Edit the daemon.json file
  • D. Edit the configuration json file
  • E. Modify the routing table on Server1
  • F. Run the sc control command
  • G. Run the Set-NetFirewallPortFilter cmdlet
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️
The preferred method for configuring the Docker Engine on Windows is using a configuration file. The configuration file can be found at 'C:\ProgramData\Docker
\config\daemon.json'. If this file does not already exist, it can be created.
Note: The Docker Engine can also be configured by modifying the Docker service using the sc config command.
References:
https://docs.microsoft.com/en-us/virtualization/windowscontainers/manage-docker/configure-docker-daemon

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
VeiN
4 years, 12 months ago
exam i had another answer "sc config" so wtch out for it
upvoted 3 times
stec
4 years, 9 months ago
it is not clear what you say...
upvoted 1 times
stec
4 years, 9 months ago
oh sorry ok: https://docs.microsoft.com/en-us/virtualization/windowscontainers/manage-docker/configure-docker-daemon The Docker Engine can also be configured by modifying the Docker service with sc config. Using this method, Docker Engine flags are set directly on the Docker service
upvoted 3 times
...
...
...
khristian01
5 years, 3 months ago
Correto
upvoted 1 times
...
Ben22
5 years, 5 months ago
I think C is correct..!
upvoted 2 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 ...