Installation, Storage, and Compute with Windows Server 2016 — Question 125
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?
Answer options
- 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.
- E. Run the sc privs command.
- F. Add Docker Administrators to the local Administrators group.
- G. Modify the Security settings of Docker.exe.
Correct answer: D
Explanation
The correct answer is D, as running the sc config command allows you to configure the Docker service to run with the necessary privileges for the Docker Administrators group. Other options either do not provide the needed permissions, modify incorrect files, or suggest irrelevant changes that won't grant administration rights.