CompTIA Server+ (SK0-005) — Question 355
A server administrator needs to ensure all Window-based servers within a data center have RDP disabled. There are thousands of servers performing various roles. Which of the following is the BEST way to meet this requirement?
Answer options
- A. Run chkconfig --level 345 RDP off.
- B. Create a PowerShell script to disable the RDP service.
- C. Run chkconfig --list RDP.
- D. Create a Bash shell script to disable the Windows Remote Management service.
- E. Create a GPO to disable the Windows Remote Management service
Correct answer: B
Explanation
Creating a PowerShell script to disable the RDP service is the best option because it can be executed across multiple servers programmatically, ensuring a consistent configuration. The other options either pertain to non-Windows systems or do not directly target the RDP service, rendering them ineffective for this specific requirement.