Securing Windows Server 2016 — Question 125
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 the default action for the inbound traffic when Server1 connects to the domain.
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: C
Explanation
The correct answer is C, Get-NetFirewallProfile, as it provides the default firewall profile settings, including the inbound traffic action when connecting to a domain. The other options pertain to more specific configurations or settings that do not directly address the default actions for inbound traffic profiles.