exam questions

Exam 70-740 All Questions

View all questions & answers for the 70-740 exam

Exam 70-740 topic 1 question 247 discussion

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

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

  • A. Modify the routing table on Server1
  • B. Run the Set-Service Windows PowerShell cmdlet
  • C. Edit the configuration.json file
  • D. Run the sc config command
  • E. Run the Set-NetFirewallPortFilter cmdlet
  • F. Run the New-NetFirewallRule cmdlet
  • G. Run the sc control command
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️
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.
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
Rafsan
5 years, 3 months ago
Docker Engine can also be configured by modifying the Docker service with sc config. https://docs.microsoft.com/en-us/virtualization/windowscontainers/manage-docker/configure-docker-daemon
upvoted 2 times
...
Wedwinsen
5 years, 4 months ago
Must be C The preferred method for configuring the Docker Engine on Windows is using a configuration file.
upvoted 1 times
Mshahin
5 years, 4 months ago
the method docker.json not configuration so the answer should be correct
upvoted 2 times
...
TA77
4 years, 11 months ago
The file name is daemon.json not configuration.json
upvoted 4 times
...
...
Izhar
5 years, 4 months ago
Got this question in exam
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 ...