Securing Windows Server 2016 — Question 127
Note: This question is part of a series of questions that use the same or similar answer choices. An answer choice may be correct for more than one question in the series. Each question is independent of the other questions in this series. Information and details provided in a question apply only to that question.
You have a server named Server1 that runs Windows Server 2016.
You need to identify whether any connection security rules are configured on Server1.
Which cmdlet should you use?
Answer options
- A. Get-NetIPSecRule
- B. Get-NetFirewallRule
- C. Get-NetFirewallProfile
- D. Get-NetFirewallSetting
- E. Get-NetFirewallPortFilter
- F. Get-NetFirewallAddressFilter
- G. Get-NetFirewallSecurityFilter
- H. Get-NetFirewallApplicationFilter
Correct answer: A
Explanation
The correct answer is A, Get-NetIPSecRule, as it specifically retrieves the connection security rules defined on the server. The other options focus on different types of firewall rules or configurations and do not provide information about connection security rules.