nerdexam
CompTIA

SK0-005 · Question #289

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…

The correct answer is B. Create a PowerShell script to disable the RDP service. The best way to meet this requirement is to create a PowerShell script to disable the RDP service on all Windows-based servers within a data center. PowerShell is a scripting language and command- line tool that can be used to automate tasks and manage Windows systems remotely…

Server administration

Question

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?

Options

  • ARun chkconfig --level 345 RDP off.
  • BCreate a PowerShell script to disable the RDP service.
  • CRun chkconfig --list RDP.
  • DCreate a Bash shell script to disable the Windows Remote Management service.
  • ECreate a GPO to disable the Windows Remote Management service

How the community answered

(57 responses)
  • A
    9% (5)
  • B
    72% (41)
  • C
    2% (1)
  • D
    4% (2)
  • E
    14% (8)

Explanation

The best way to meet this requirement is to create a PowerShell script to disable the RDP service on all Windows-based servers within a data center. PowerShell is a scripting language and command- line tool that can be used to automate tasks and manage Windows systems remotely. A PowerShell script can use cmdlets (commands) and parameters to perform actions on multiple servers at once, such as disabling a service or changing a configuration setting. RDP (Remote Desktop Protocol) is a service that allows remote access and control of a Windows system through a graphical user interface. Disabling RDP can improve security by preventing unauthorized or malicious access to the servers.

Topics

#Server administration#PowerShell scripting#Remote Desktop Protocol#Automation

Community Discussion

No community discussion yet for this question.

Full SK0-005 Practice