Blocking Specific App Outbound Traffic with Windows Defender Firewall
Short answer
A Implement an outbound program rule in Windows Defender Firewall to block App1 from accessing external SMTP servers while preserving access for other applications.
Question
You need to prevent App1 from accessing external SMTP servers. The solution must meet the following requirements:
• Minimize the impact on App1's access to external HTTP servers.
• Minimize the impact on other apps on the server.
• Minimize administrative effort.
What should you implement in Windows Defender Firewall?
Key Takeaways
Program rules allow firewall restrictions to be applied based on the executing application, providing precise isolation without affecting unrelated services.
To prevent App1 from accessing external SMTP servers while minimizing impact on other apps and admin effort, use an outbound program rule in Windows Defender Firewall.
Common mistake: Choosing an outbound custom rule (C) often leads to overly broad configurations or unnecessary complexity compared to the targeted simplicity of a program rule.
Expert Analysis
The scenario requires blocking App1 from accessing external SMTP servers while minimizing impact on other apps and administrative effort. In Windows Defender Firewall, rules can be scoped by program, port, or custom criteria. An outbound program rule (Option A) targets traffic generated specifically by a designated executable file. This allows precise control over App1's outbound connections without affecting other applications running on the server, satisfying the "minimize impact on other apps" requirement. It also minimizes administrative effort because you only need to specify the application path once, rather than configuring complex filters for every potential port or protocol.
An outbound custom rule (Option C) is more flexible but typically involves defining specific protocols, ports, or addresses, which may require more configuration steps or broader scoping that could inadvertently affect other services if not carefully restricted. While a custom rule could work, it is less targeted than a program rule when the constraint is tied to a specific application.
Inbound rules (Options B and D) are irrelevant here because the restriction is on outgoing traffic from the server to external SMTP servers. An outbound port rule (Option E) would block all traffic on those ports regardless of the source application, violating the requirement to minimize impact on other apps.
Community comments suggest Option A is correct because it isolates the restriction to the specific program. The confusion with Option C arises from misunderstanding the granularity: program rules are the most efficient way to restrict a single app's network behavior.
Exam Strategy
When asked to restrict network access for a specific application while leaving others unaffected, prioritize 'program' scoped rules over 'port' or 'custom' rules. Program rules inherently isolate the policy to the target executable, directly meeting requirements for minimal impact on other apps and reduced administrative overhead. Always verify the direction (inbound vs. outbound) matches the traffic flow described in the scenario.
Frequently Asked Questions
Why not use an outbound port rule?
What is the difference between a program rule and a custom rule?
Community Votes
67% of anonymous learners picked answer A. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 3 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 3
-
VirtuaTech 👍 5 Answered AOutbound program rule that blocks App1 from using SMTP ports.
-
5faabfa 👍 3 Answered AI think is an outbound program rule. After creation of the rule, we can specify Protocol and port
-
examtaker2026 👍 1 Answered CWhy not "C. an outbound custom rule"?
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.