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.
Shouldn’t it be B?
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.
https://docs.microsoft.com/en-us/virtualization/windowscontainers/manage-docker/configure-docker-daemon
The answer is B if you put the docker admins in the local admin group you give them all elevated privilages not just to docker which is the question
Changing the damon.json file is the prefered method from mircosoft.
I agree, all questions use the Microsoft preferred methods, either daemon.json or 'sc config', and putting the Docker Administrators in the Local Administrators group could potentially breach security
This exact Q is in the Panek Practice Tests book, answer is C. Reasoning: "C. Docker can only be administered by an administrator. So, by creating a Docker Administrators
group and adding it to the local Administrators group, you allow the Docker
Administrators group to administer Docker."
Mille, you are correct in your explanation but the correct answer is still C
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.
JSON
Copy
{
"group" : "docker"
}
upvoted 5 times
...
Log in to ExamTopics
Sign in:
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.
Millie
Highly Voted 5 years, 7 months agoBlue
Highly Voted 5 years, 2 months agoglukken
4 years, 10 months agoMarcosgomes_25
4 years, 10 months agolbs
4 years, 7 months agoLandShark187
Most Recent 4 years, 1 month agogd1f365
4 years, 3 months agojam7272
4 years, 4 months agoalexnt
4 years, 5 months agoRobbie
4 years, 6 months agoAldrid
4 years, 11 months agoRickSk
5 years, 4 months ago[Removed]
5 years, 6 months ago