exam questions

Exam 70-740 All Questions

View all questions & answers for the 70-740 exam

Exam 70-740 topic 2 question 6 discussion

Actual exam question from Microsoft's 70-740
Question #: 6
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 sc privsc ommand.
  • B. Edit the Daemon.json file.
  • C. Add Docker Administrators to the local Administrators group.
  • D. Edit the Configuration.json file.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
Millie
Highly Voted 5 years, 7 months ago
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
upvoted 13 times
...
Blue
Highly Voted 5 years, 2 months ago
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.
upvoted 8 times
glukken
4 years, 10 months ago
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
upvoted 2 times
...
Marcosgomes_25
4 years, 10 months ago
B is correct
upvoted 1 times
...
lbs
4 years, 7 months ago
I agree with answer B
upvoted 1 times
...
...
LandShark187
Most Recent 4 years, 1 month ago
Andwer is B. Edit the Daemon.json file with the group parameter OR... you can add users with the sc config command.
upvoted 2 times
...
gd1f365
4 years, 3 months ago
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."
upvoted 1 times
...
jam7272
4 years, 4 months ago
B for sure
upvoted 2 times
...
alexnt
4 years, 5 months ago
B is correct
upvoted 2 times
...
Robbie
4 years, 6 months ago
C is so wrong! the answer is B
upvoted 2 times
...
Aldrid
4 years, 11 months ago
Got that q on exam. Daemon.json - starts with capital Letter.. someone can check - if it work with Capital Letter ?
upvoted 1 times
...
RickSk
5 years, 4 months ago
I'm gonna need some clarification for this answer given that both B and C seem to be correct. Which one am I supposed to choose here?
upvoted 2 times
...
[Removed]
5 years, 6 months ago
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
...
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