exam questions

Exam 70-740 All Questions

View all questions & answers for the 70-740 exam

Exam 70-740 topic 2 question 5 discussion

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

You have a server named Server1 that runs Windows Server 2016. The Docker daemon runs on Server1.
You need to ensure that members of a security group named Docker Administrators can administer Docker.
What should you do?

  • A. Run the Set-Service cmdlet.
  • B. Modify the Security settings of Dockerd.exe.
  • C. Edit the Configuration.json file.
  • D. Run the sc config command.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️
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
Bill
Highly Voted 5 years, 6 months ago
Looks like the answer is D. Configure Docker on the Docker service The Docker Engine can also be configured by modifying the Docker service with sc config.
upvoted 16 times
lbs
4 years, 8 months ago
I agree. Correct answer is D
upvoted 3 times
...
...
[Removed]
Highly Voted 5 years, 6 months ago
Bill is right, the Answer is D. Configure Docker on the Docker service 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. Run the following command in a command prompt (cmd.exe not PowerShell): Common configuration: Set Docker security group: When you've signed in to the Docker host and are locally running Docker commands, these commands are run through a named pipe. By default, only members of the Administrators group can access the Docker Engine through the named pipe. To specify a security group that has this access, use the group flag.
upvoted 7 times
...
TA77
Most Recent 4 years, 5 months ago
To configure Docker, you either edit/create daemon.json OR use the "sc config" tool. You can find it in the same link provided with answer: https://docs.microsoft.com/en-us/virtualization/windowscontainers/manage-docker/configure-docker-daemon
upvoted 2 times
...
ph86
4 years, 5 months ago
D D D D
upvoted 1 times
...
alexnt
4 years, 6 months ago
D is correct
upvoted 1 times
...
Arlomini
4 years, 10 months ago
D is correct.
upvoted 1 times
...
abiemok
4 years, 10 months ago
The answer is D. Run SC Config
upvoted 1 times
...
Izhar
4 years, 11 months ago
Got this question in exam
upvoted 2 times
...
dv8inpp
5 years, 3 months ago
The Microsoft link provided clearly states "Configure Docker with a configuration file 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'. You can create this file if it doesn't already exist.
upvoted 2 times
ve22
4 years, 10 months ago
What do you want to say, what is correct answer from offered?
upvoted 2 times
...
...
Ovan
5 years, 5 months ago
Correct answer is D
upvoted 6 times
...
dan
5 years, 8 months ago
I agree dean. This same question was asked later with a different answer that applied to the same scenario.
upvoted 3 times
...
Dean
5 years, 8 months ago
Trick question - there is no Configuration.json file, it is deamon.json. None of the other answers seem to be correct.
upvoted 5 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