exam questions

Exam MD-102 All Questions

View all questions & answers for the MD-102 exam

Exam MD-102 topic 1 question 234 discussion

Actual exam question from Microsoft's MD-102
Question #: 234
Topic #: 1
[All MD-102 Questions]

Your network contains an Active Directory domain. The domain contains 10 computers that run Windows 10. Users in the finance department use the computers.

You have a computer named Computer1 that runs Windows 10.

From Computer1, you plan to run a script that executes Windows PowerShell commands on the finance department computers.

You need to ensure that you can run the PowerShell commands on the finance department computers from Computer.

What should you do on the finance department computers?

  • A. From Windows PowerShell, run the Enable-MMAgent cmdlet.
  • B. From the local Group Policy, enable the Allow Remote Shell Access setting.
  • C. From Windows PowerShell, run the Enable-PSRemoting cmdlet.
  • D. From the local Group Policy, enable the Turn on Script Execution setting.
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
IrinaNakeva
Highly Voted 1 year, 6 months ago
Selected Answer: C
https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/enable-psremoting?view=powershell-6
upvoted 6 times
...
Bart_Hofstede
Most Recent 7 months, 2 weeks ago
The most practical question is not there. With GPO. Enable WinRM Service. Windows Remote Management and Allow the connection So then it is C
upvoted 1 times
nsss
4 months, 2 weeks ago
You're right. No point in using local group policies considering they are using AD. The logical way to do this would be a GPO, but in absence of that I guess C is the best option.
upvoted 1 times
...
...
Maclouis116
10 months ago
Selected Answer: C
Answer is indeed C. Question is what should you do on the finance computers. D. says from local Group Policy You enable script execution. That means you will still have to do it for every Computer in finance. C is the most efficient way.
upvoted 1 times
...
VLAG
1 year, 1 month ago
Selected Answer: D
Given answer is correct and here is my opinion. The question is about - Active Directory - more computers in a specific department (not a single computer) What's the best solution? (answer C) "Enable-PSRemoting cmdlet" on every single computer in Finance department or (answer D) "Group Policy, enable the Turn on Script Execution setting"? I prefer to create a single policy for Finance department and the job it's done (effort minimized is recurring in Microsoft exams). What do you think?
upvoted 2 times
ExamBud
2 months, 1 week ago
The thing is that D says "local" group policy. Not a GPO.
upvoted 1 times
...
...
Krayzr
1 year, 2 months ago
Selected Answer: C
C. From Windows PowerShell, run the Enable-PSRemoting cmdlet. Here's why: Enable-PSRemoting is specifically designed to enable remote PowerShell access. This cmdlet configures the necessary settings on the target computers to allow remote PowerShell connections. The other options are not directly related to enabling remote PowerShell: Enable-MMAgent is used for managing mobile devices. The "Allow Remote Shell Access" group policy setting is primarily for enabling remote access for command prompt (cmd.exe), not PowerShell. The "Turn on Script Execution" group policy setting controls whether scripts can run locally on a computer, but it doesn't enable remote PowerShell access. By running Enable-PSRemoting on the finance department computers, you'll ensure that they are ready to receive and execute PowerShell commands from Computer1.
upvoted 4 times
...
Pasado
1 year, 2 months ago
ChatGPT: To run PowerShell commands on the finance department computers from Computer1, you should do C. From Windows PowerShell, run the Enable-PSRemoting cmdlet. This cmdlet enables PowerShell remoting, allowing you to execute commands on remote computers.
upvoted 1 times
...
Merrybob
1 year, 2 months ago
Selected Answer: C
C. From Windows PowerShell, run the Enable-PSRemoting cmdlet. Ref: https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/enable-psremoting?view=powershell-7.4#:~:text=The%20Enable%2DPSRemoting%20cmdlet%20performs%20the%20following%20operations%3A
upvoted 3 times
...
Mattia8
1 year, 3 months ago
Selected Answer: C
https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/enable-psremoting?view=powershell-6
upvoted 1 times
...
yosry
1 year, 4 months ago
Selected Answer: C
C is correct, since i don't need to create a GPO just for 10 compurters and especially it's gonna execute just once
upvoted 1 times
...
Fernando001
1 year, 6 months ago
We are using AD so I think is D https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_execution_policies?view=powershell-7.3
upvoted 2 times
...
yoha1558
1 year, 6 months ago
Selected Answer: C
it should be C? https://www.examtopics.com/discussions/microsoft/view/66073-exam-md-100-topic-4-question-40-discussion/
upvoted 2 times
...
BlackCat9588
1 year, 6 months ago
it should be C? https://www.examtopics.com/discussions/microsoft/view/66073-exam-md-100-topic-4-question-40-discussion/
upvoted 3 times
BJS78
1 year, 6 months ago
Yes, "Enable-PSRemoting" needs to be enabled on the REMOTE computer(s)
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago