A printer stops working after a security change. A remote user can reach email but not an internal app. A help desk tech checks the wrong firewall first and wastes 20 minutes. If you are studying for CompTIA A+ certification, this is the kind of problem you need to solve fast: a good defense in depth strategy would involve deploying which firewalls? The answer is not “one or the other.” It is usually both, used in different places for different jobs.
CompTIA A+ Certification 220-1201 & 220-1202 Training
Master essential IT skills and prepare for entry-level roles with our comprehensive training designed for aspiring IT support specialists and technology professionals.
Get this course on Udemy at the lowest price →Quick Answer
A good defense in depth strategy would involve deploying both a network firewall at the perimeter and a host-based firewall on individual devices. Network firewalls block broad threats before traffic enters the LAN, while host firewalls enforce device-level rules on laptops, desktops, and servers. That layered approach is a core CompTIA A+ concept and a practical troubleshooting skill.
| Primary Question | a good defense in depth strategy would involve deploying which firewalls? |
|---|---|
| Core Answer | Both network firewalls and host-based firewalls, as of September 2026 |
| CompTIA A+ Relevance | Layered security, ports, protocols, and troubleshooting, as of September 2026 |
| Typical Network Firewall Placement | Perimeter edge, gateway, or security appliance, as of September 2026 |
| Typical Host Firewall Placement | On a laptop, desktop, or server operating system, as of September 2026 |
| Common Host Example | Windows Defender Firewall on Windows systems, as of September 2026 |
| Troubleshooting Goal | Identify where traffic is blocked before changing rules, as of September 2026 |
| Criterion | Network Firewall | Host-Based Firewall |
|---|---|---|
| Cost (as of September 2026) | Appliance, licensing, and management cost vary by vendor and size | Often included with the operating system or endpoint suite |
| Best for | Filtering traffic for many devices at once | Protecting one specific device wherever it connects |
| Key strength | Centralized control at the network edge | Device-level enforcement and portability |
| Main limitation | Cannot protect a device once traffic bypasses the perimeter | Must be managed on each endpoint or through centralized tools |
| Verdict | Pick when you need broad policy control for the whole network. | Pick when you need protection tied to an individual system. |
What a Firewall Actually Does
A firewall is a security control that allows approved traffic and blocks traffic that violates policy. It is not just an internet gatekeeper. It can inspect inbound and outbound connections, compare them to rules, and decide whether a packet, session, or application request should pass.
That rule set usually focuses on IP addresses, ports, protocols, and sometimes application identity. For example, a firewall may allow HTTPS on port 443 while blocking SSH on port 22 from untrusted sources. That is why the question, “which of the following firewalls filters traffic based on the application, program, or service?” often points to a host-based firewall or an advanced application-aware firewall rule.
For CompTIA A+ candidates, the practical takeaway is simple: firewalls do not only stop attacks from outside. They also prevent risky outbound connections, limit lateral movement inside a network, and create logs that help you prove what was blocked and when. That logging matters during incident response and routine support because it gives you a timeline instead of a guess.
Firewall troubleshooting is really traffic troubleshooting. If you can identify what is blocked, where it is blocked, and which rule made the decision, you can usually solve the issue faster than by changing settings at random.
- Inbound control: blocks unwanted traffic entering a device or network.
- Outbound control: limits a system from reaching unapproved destinations.
- Logging: records denied and allowed connections for analysis.
- Policy enforcement: makes sure only approved communication is allowed.
What Is the Difference Between a Network Firewall and a Host-Based Firewall?
The difference is placement and scope. A network firewall sits at or near the network edge and protects many systems at once, while a host-based firewall runs on one endpoint and protects only that device. That is the cleanest way to remember the distinction for the exam and for real support work.
Network firewalls are usually managed centrally by IT or security teams. That lets administrators apply one policy for a branch office, a server segment, or a guest network. Host-based firewalls are managed on the device itself or through endpoint management tools, which gives you more precise control when a single laptop, desktop, or server needs special handling.
The most common support mistake is assuming the perimeter firewall is the only firewall that matters. A remote laptop on home Wi-Fi still needs local protection, and a server inside the office may still block a service because of its own host rules. That is why the best answer to a good defense in depth strategy would involve deploying which firewalls? is not a single product. It is a layered design.
| Network firewall | Protects the network boundary and is best for shared policy enforcement. |
|---|---|
| Host-based firewall | Protects the endpoint itself and follows the device wherever it goes. |
According to NIST Cybersecurity Framework, layered safeguards are a normal part of reducing risk, and that principle fits the CompTIA A+ way of thinking: multiple controls, each with a job, each compensating for the others.
How Do Network Firewalls Work?
Network firewalls inspect traffic that crosses a network boundary, such as the internet edge, a site-to-site link, or a segment between internal VLANs. They are commonly deployed as dedicated appliances, firewall modules in routers, or security gateways. Their job is to stop broad, unauthorized traffic before it reaches client devices, servers, or printers.
In practical terms, a network firewall might allow outbound web browsing for all users, permit inbound HTTPS to a public web server, and block everything else by default. That default-deny stance is common because it reduces attack surface. If a business exposes a service to the public, the firewall must allow only the exact ports and destinations needed for that service.
For support technicians, the most useful thing to know is that network firewalls create shared behavior. If every user on a floor cannot reach a file share, an internal DNS service, or a remote application, the perimeter or segmentation firewall is a likely place to check. If only one user is affected, the problem is more likely on the device or its host firewall.
The Cisco documentation on access control and security filtering is a good reference point for understanding how edge devices apply policy in real networks. That same idea appears in many vendor ecosystems, even when the interface changes.
- Central control: one rule set can protect many endpoints.
- Edge filtering: blocks dangerous traffic before it enters the LAN.
- Segment protection: separates internal zones such as users, servers, and guests.
- Shared logging: helps identify patterns affecting multiple devices.
How Do Host-Based Firewalls Work?
Host-based firewalls are installed on individual endpoints, such as laptops, desktops, and servers. They protect the local device regardless of whether it is connected to a corporate office, a hotel Wi-Fi network, or a home router. That mobility is one reason they matter so much in modern support cases.
Windows Defender Firewall is the most familiar example for CompTIA A+ candidates. It can apply different rules based on network profile, such as domain, private, or public. That means the same laptop can behave differently when it is inside the office versus on a coffee shop network. It can also allow or deny specific applications, not just ports, which is useful when a local program needs to receive connections.
That application-aware behavior answers another common search query: “filters traffic based on the application, program, or service” firewall is typically describing a host firewall or an advanced next-generation firewall function. In support terms, if one machine cannot connect to a local service but other machines can, the local firewall rule is a strong suspect.
According to Microsoft Learn, Windows security settings and firewall profiles can be adjusted to fit the trust level of a network. That is exactly the kind of hands-on knowledge A+ expects: know what the firewall is doing, know which profile is active, and know how to verify the rule instead of disabling protection blindly.
- Per-device protection: rules apply to one machine at a time.
- Portable security: the device remains protected offsite.
- Application rules: local software can be allowed or blocked directly.
- Profile awareness: public and private networks can use different behavior.
How Do Network Firewalls and Host-Based Firewalls Work Together in Layered Security?
They work together by covering each other’s blind spots. A network firewall blocks broad threats at the edge, and a host-based firewall continues enforcing policy on the endpoint if traffic slips through or if the device leaves the office. That combination is the practical meaning of layered security for entry-level technicians.
Imagine a company laptop used in the office and at home. At work, the network firewall blocks unsolicited inbound traffic from the internet and restricts access to sensitive subnets. At home, the same laptop is no longer protected by the corporate perimeter, but its local firewall still blocks inbound connections that it should not accept. That matters because public Wi-Fi, home routers, and travel networks all change the risk profile.
This is why defense in depth is more than a buzzword. A single firewall does not protect every trust boundary. The perimeter firewall protects the organization, while the host firewall protects the device. If one layer fails, the other still reduces exposure.
Note
Layered security is not about stacking tools for the sake of it. It is about placing the right control at the right boundary so one failure does not turn into a full compromise.
The Cloudflare defense-in-depth overview and the NIST Computer Security Resource Center both reinforce the same idea: security works better when multiple controls overlap. For CompTIA A+ candidates, that translates directly into test questions and real troubleshooting decisions.
Which Firewall Is Best for a Printer, a Laptop, or a File Share Issue?
The answer depends on how many devices are affected and where the failure happens. If one laptop cannot print while everyone else can, the host firewall or local policy is a strong suspect. If every device on a subnet loses access to a shared printer, the network firewall or segment rule is more likely at fault. That is the fastest way to narrow the problem.
A classic support example is a printer discovery issue. Many discovery and sharing functions rely on local network traffic that can be blocked by either firewall type. If a single PC cannot see the printer but another PC on the same network can, check the host firewall first. If no one can reach the printer after a policy change, check the network firewall or managed security appliance.
Remote access problems are similar. A VPN user may authenticate successfully but still fail to reach an internal app if the network firewall blocks the needed port after the tunnel terminates. On the other hand, a local firewall on the remote laptop may block the app even though the VPN is healthy. The symptom looks the same to the user, but the fix is different.
According to the U.S. Bureau of Labor Statistics, computer support roles depend on strong troubleshooting and customer-service skills as much as technical knowledge. That is why A+ emphasizes practical diagnosis instead of pure memorization.
- One device affected: start with the host firewall.
- Many devices affected: start with the network firewall.
- Only offsite affected: check the local firewall profile and VPN behavior.
- Only on the internal network affected: check perimeter or segmentation rules.
How Should You Troubleshoot Firewall Problems Like an A+ Technician?
Start with scope, not with settings. The first question is whether the issue affects one device or many. The second question is whether it happens everywhere or only in a specific location, such as inside the office, on Wi-Fi, or over VPN. Those two checks usually tell you whether the block is at the host level or the network level.
Next, review logs and recent changes. A firewall log can show denied traffic on a specific port, protocol, or application. A recent operating system update may have changed the firewall profile. A new security policy may have tightened access to file sharing or remote management tools. The right fix is often hidden in the change history.
One useful technique is to compare what works and what does not. If HTTPS works but SSH fails, the issue may be rule-specific rather than a full network outage. If all users can browse the web but only one user cannot access an internal app, the issue may be local to that workstation. This is how experienced technicians avoid guessing.
IT service management best practice also supports this approach: isolate, verify, then change. Even in a simple help desk scenario, that order reduces mistakes and avoids unnecessary downtime.
- Confirm the scope: one device or many devices.
- Identify the location: office, home, VPN, or everywhere.
- Check logs: look for denied ports, apps, or destinations.
- Review recent changes: updates, policy edits, or new software.
- Test safely: adjust one rule at a time and verify the result.
What Should You Know About Windows Defender Firewall and Other Host Firewalls?
For CompTIA A+, Windows Defender Firewall is the most important host-based firewall to recognize. It is built into Windows and commonly used in homes, offices, and enterprise environments. You should know that it can be turned on or off, can apply rules by profile, and can allow or block applications and ports.
Administrators often use different firewall behavior for domain, private, and public networks. A laptop connected to a trusted office domain can allow more services than the same laptop on public Wi-Fi. That distinction is important because misidentified profiles can break printing, file sharing, or remote management without any obvious hardware problem.
Other operating systems use the same concept even if the interface differs. The main lesson is not the exact menu path. It is understanding that a host firewall can block local services, especially after updates, new software installs, or hardening changes. If a support case involves only one machine, the local firewall belongs on your checklist.
Microsoft’s guidance on firewall profiles and inbound rules is especially useful for troubleshooting because it connects the tool to the scenario. A technician does not need to memorize every menu. A technician needs to know what rule type is likely to affect the symptom.
- Application exceptions: allow a specific program to communicate.
- Inbound rules: control traffic coming into the device.
- Outbound rules: limit what the device can send out.
- Network profiles: change behavior based on trust level.
Which Ports, Protocols, and Rules Matter Most for CompTIA A+?
Ports and protocols are the language firewalls use to make decisions. If you do not know which service uses which port, you will struggle to explain why a connection works in one case and fails in another. For A+, the goal is not deep packet analysis. The goal is recognition.
Common examples include HTTP on port 80, HTTPS on port 443, SSH on port 22, and file-sharing traffic used by Windows networks. If a firewall blocks SSH, remote Linux administration may fail. If it blocks the ports needed for file sharing or discovery, a printer or network share may disappear even though the device itself is online.
Inbound and outbound rules are equally important. Inbound rules are often the reason a service cannot accept connections. Outbound rules are the reason a system cannot reach a remote service, update server, or authentication endpoint. In practice, both can look like “the internet is down” to an end user.
For reference, the IANA Service Name and Transport Protocol Port Number Registry is the authoritative place to verify port assignments. That is the level of source you should trust when a firewall issue depends on a specific service.
| HTTP and HTTPS | Useful for web access troubleshooting and certificate-related access checks. |
|---|---|
| SSH | Common in remote administration scenarios and secure command-line access. |
| File sharing | Often tied to printer discovery, network shares, and local resource access. |
What Are the Best Practices for Using Both Firewall Types?
Use the network firewall for broad control and the host firewall for local enforcement. That split keeps the perimeter clean while preserving protection on devices that travel, move between networks, or handle sensitive data. It also makes support easier because you know which layer should own which rule.
Follow least privilege. Allow only the traffic that is required for business use. If an app only needs HTTPS, do not open extra ports “just in case.” If a printer only needs one or two services, do not make a broad exception across the whole subnet unless there is a real operational reason.
Document every firewall change. If a rule is added to help one application, record the reason, scope, and rollback plan. That documentation helps when a later outage looks suspiciously like the earlier exception. It also saves time when another technician inherits the ticket.
The CIS Critical Security Controls emphasize secure configuration and controlled access, which aligns closely with strong firewall practice. Good firewall management is less about complexity and more about discipline.
Warning
Do not disable a firewall as a first response just to “see if it works.” Test one rule, one profile, or one traffic path at a time so you preserve security while isolating the cause.
- Use default-deny whenever practical.
- Allow only required ports and services.
- Keep host firewalls enabled on mobile devices.
- Validate changes immediately after editing rules.
What Should You Remember for CompTIA A+ Certification?
The exam-level distinction is straightforward: network firewalls protect the network edge, and host-based firewalls protect individual devices. Both support layered security, and both can cause support issues when a rule is too strict or a profile is wrong. That is the practical knowledge CompTIA A+ expects.
You should also remember how to think through a problem. Ask where the traffic is blocked, what device is affected, and whether the issue is local or widespread. If one laptop cannot connect, look at the host firewall. If every workstation is affected, look at the network firewall or a shared security policy.
A+ candidates often see questions that test functional understanding rather than memorized definitions. A question might describe a service that works on the LAN but fails over VPN, or a host that cannot reach a printer after a policy change. The right answer depends on recognizing the layer where the block occurs.
This topic connects directly to the hands-on skills taught in IT support training, including the CompTIA A+ Certification 220-1201 and 220-1202 training path. The same reasoning you use on the job is the reasoning the exam is trying to measure.
Key Takeaway
- Network firewalls protect many systems at the edge of the network.
- Host-based firewalls protect one endpoint at a time and follow the device anywhere.
- Layered security uses both, because one firewall type does not cover every boundary.
- Troubleshooting starts with scope: one device points to the host, many devices point to the network.
- Ports, protocols, and logs are the fastest clues when a firewall is blocking traffic.
CompTIA A+ Certification 220-1201 & 220-1202 Training
Master essential IT skills and prepare for entry-level roles with our comprehensive training designed for aspiring IT support specialists and technology professionals.
Get this course on Udemy at the lowest price →Conclusion
The difference is simple: a network firewall protects the network boundary, while a host-based firewall protects the individual device. In real support work, you need both. That is the answer to the question, a good defense in depth strategy would involve deploying which firewalls?
For CompTIA A+ certification, the value is not just memorizing the terms. It is knowing how to use them in a troubleshooting decision. If the problem affects one device, start local. If it affects everyone, start at the network edge. That habit will save time, reduce guesswork, and make your security changes safer.
Pick the network firewall when you need centralized control for many devices; pick the host-based firewall when you need device-level protection and application-specific rules.
CompTIA A+ and Microsoft Defender Firewall both reinforce the same practical lesson: know where traffic is being filtered before you change a rule. That is how technicians solve problems faster and keep systems secure.
CompTIA® and A+™ are trademarks of CompTIA, Inc. Microsoft® is a trademark of Microsoft Corporation.

