exam questions

Exam 70-740 All Questions

View all questions & answers for the 70-740 exam

Exam 70-740 topic 1 question 103 discussion

Actual exam question from Microsoft's 70-740
Question #: 103
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 ensure that members of a security group named Docker Administrators can administer Docker.
What should you do?

  • A. Run the sc privsc ommand.
  • B. Edit the Daemon.json file.
  • C. Add Docker Administrators to the local Administrators group.
  • D. Edit the Configuration.json file.
  • E. Modify the Security settings of Docker.exe.
  • F. Run the Set-Service cmdlet.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️
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
Baldiico
4 years, 5 months ago
Edit daemon.json also was the answer in one of the players I did so I assume that's the answer
upvoted 1 times
...
JBSPLAT
4 years, 7 months ago
As of the latest documentation, a security group that can use the named pipe can be added to the json without having to add that group to the local administrators group. See Reference below. Adding Docker Administrators to the local administrators will work, but Microsoft's theme is to always grant the least permissions possible to achieve what is needed. And making a user group admins of the whole server is not good practice. Doesn't matter what Panek says. He's been wrong before, and is going off old knowledge.Reference: https://docs.microsoft.com/en-us/virtualization/windowscontainers/manage-docker/configure-docker-daemon#set-docker-security-group
upvoted 1 times
...
Beitran
4 years, 8 months ago
Panek says this is the answer, and google seems to confirm: "C. Add Docker Administrators to the local Administrators group."
upvoted 1 times
Beitran
4 years, 8 months ago
There are ways around this requirement, but they're not Microsoft or Docker supported: https://www.axians-infoma.de/techblog/allow-access-to-the-docker-engine-without-admin-rights-on-windows/
upvoted 1 times
...
...
nix7878
5 years, 5 months ago
When you say - Got that q on the exam, do you mean you got it right?
upvoted 2 times
Wanderlusting
5 years, 5 months ago
you won't be told what you got right or wrong. He means he took the test and it was on it.
upvoted 6 times
...
...
Aldrid
5 years, 6 months ago
Got that q on Exam. Not Shure if Daemon.json may begins from Capital Letter. You can give rights by adding: Add Docker Administrators to the local Administrators group. But it's gives more rights then needed.
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 ...