SaveMyCert
Log in
5 of 5 free questions left today·for unlimited practice
Networking and Cloud Security Concepts

Network Security Architecture: Zero Trust, Defense in Depth, Segmentation

12 min readCC · Networking and Cloud Security ConceptsUpdated

Network security architecture is the deliberate design of a network so that a compromise of one device cannot become a compromise of everything. Three ideas carry this sub-domain on the CC exam. First, segmentation: dividing the network into zones with firewalls, into logical broadcast domains with VLANs, and down to individual workloads with micro-segmentation, so an attacker who gets in cannot move sideways. Second, Defense in Depth: layering multiple independent controls so that no single failure is fatal. Third, Zero Trust, whose core principle you must state exactly: never trust, always verify. Zero Trust grants no implicit trust based on network location; every request is authenticated and authorized, access follows least privilege, and the design assumes a breach has already happened. This lesson works through each concept at foundational depth, contrasts Zero Trust with the older castle-and-moat perimeter model it replaces, and shows how the pieces fit together in a realistic scenario.

What you’ll learn
  • Explain why flat networks enable lateral movement and how segmentation stops it
  • Describe firewall zones and the purpose of a DMZ for public-facing servers
  • Distinguish VLANs from micro-segmentation by scope and granularity
  • Define Defense in Depth and give examples of layered controls
  • State the core Zero Trust principle and its supporting ideas exactly
  • Contrast the perimeter (castle-and-moat) model with Zero Trust

Why flat networks fail: the case for segmentation

A flat network is one where every device can reach every other device: laptops, servers, printers, and cameras all sit in one big open space. Flat networks are easy to build and easy to attack. The attacker's problem is only getting in once; after that, nothing stands between the first compromised machine and everything else.

Consider a concrete scenario. An employee at a small firm opens a phishing attachment and malware lands on her laptop. On a flat network, that laptop can reach the finance server, the HR database, the backup system, and the building's security cameras directly, because nothing in the network's design says otherwise. The attacker scans, finds an unpatched file server, and within hours holds the company's data. The initial phish was the entry; the flat network did the rest. This spreading from an initial foothold to other systems is called lateral movement, and limiting it is the central goal of network security architecture.

Network segmentation answers this by dividing the network into smaller zones and controlling the traffic allowed between them. If workstations, servers, and cameras live in separate segments, the compromised laptop can no longer reach the finance server directly: its traffic must cross a control point, where policy can deny it and monitoring can see the attempt. Segmentation does not prevent the first compromise; it contains the blast radius so one infected laptop stays one infected laptop. The rest of this lesson covers the tools that create segments, from firewall zones to VLANs to micro-segmentation, and the design philosophies, Defense in Depth and Zero Trust, that decide how strictly the boundaries are enforced.

Firewall zones: trusted, untrusted, and the DMZ

The classic way to segment with a firewall is to define zones: groups of networks that share a trust level, with rules governing what may pass between them. The simplest design has two zones: the trusted internal network, containing your users and systems, and the untrusted external world, meaning the internet. The default posture is that inside may initiate connections out, while unsolicited traffic from outside is denied.

That two-zone design breaks as soon as you run a public service. Your web server must accept connections from strangers on the internet, but placing it inside the trusted zone means every stranger's connection terminates next to your internal systems. The answer is a third zone: the DMZ, or demilitarized zone, a buffer segment between the untrusted internet and the trusted internal network where public-facing servers live.

ZoneTrust levelWhat lives thereTypical policy
Untrusted (internet)NoneEveryone elseMay reach published DMZ services only
DMZLowPublic web, mail, and DNS serversAccepts inbound from the internet; tightly limited access toward the internal network
Trusted (internal)HighUsers, internal servers, databasesNo unsolicited inbound from the internet or the DMZ

The logic to remember: if an attacker compromises the web server, they are standing in the DMZ, not inside your network. The firewall still blocks them from reaching internal systems, so the breach is contained in the buffer zone. Exam stems that mention hosting a public-facing server or a segment between the internet and the internal network are describing the DMZ.

VLANs: logical segmentation at Layer 2

A VLAN (virtual local area network) segments a network logically rather than physically. A managed switch can be configured so that some of its ports belong to one VLAN and other ports to another; devices in different VLANs cannot talk directly at Layer 2 even though they are plugged into the same physical switch. Each VLAN is its own broadcast domain, and traffic between VLANs must pass through a router or firewall, which is exactly where you place the rules.

The value is separation without new hardware. A company can put finance on one VLAN, general staff on another, guest Wi-Fi on a third, and its IP cameras and printers on a fourth, all running over the same switches and cables. The guest VLAN can be allowed to reach only the internet; the camera VLAN can be allowed to reach only its recording server. Without VLANs, achieving that separation would require physically separate switches and cabling for each group.

Two cautions keep the concept honest. First, a VLAN is a Layer 2 construct: it separates broadcast domains, and its security value comes from forcing inter-VLAN traffic through a control point that enforces policy. If the router simply passes everything between VLANs unfiltered, you have organized the network but not secured it. Second, VLANs are configuration, so a misconfigured switch can leak traffic between segments. For the exam, the recognition line is: VLANs provide logical segmentation at Layer 2, letting one physical switch behave as several isolated networks.

Micro-segmentation: isolation per workload

Micro-segmentation takes the segmentation idea to its finest granularity: policy per individual workload, meaning each server, virtual machine, or application gets its own rules about exactly which other systems may talk to it, on which ports. Where zones separate the network into a few large regions and VLANs into groups of devices, micro-segmentation draws the boundary around each machine.

The problem it solves is traffic inside a segment. In a traditional design, two servers in the same data center segment can usually reach each other freely, so an attacker who compromises one server can move laterally to its neighbors without ever crossing a firewall. With micro-segmentation, the web server is allowed to reach the application server on one specific port, the application server may reach the database on another, and every other combination is denied, including web server directly to database. The compromised web server now has almost nowhere to go. Micro-segmentation is typically enforced in software, through host-based firewalls or the virtualization and cloud platform, rather than by a physical appliance, which is what makes per-workload policy practical at scale.

MethodGranularityHow it worksTypical use
Firewall zonesLarge regions of the networkFirewall rules between trusted, untrusted, and DMZ zonesSeparating internal, public-facing, and external traffic
VLANsGroups of devicesLogical Layer 2 separation on switches; inter-VLAN traffic crosses a control pointSeparating departments, guests, printers, cameras
Micro-segmentationIndividual workloadsSoftware-enforced policy per server, VM, or applicationStopping lateral movement inside data centers and clouds

Keep the ladder in mind: zones, then VLANs, then micro-segmentation, each step smaller and stricter. Micro-segmentation also reappears later in this lesson as a key enabler of Zero Trust.

Defense in Depth: layered controls

Defense in Depth is the principle of layering multiple, independent security controls so that no single control's failure exposes the asset. Any one control can fail: a firewall can be misconfigured, a user can be phished, an antivirus signature can miss new malware. Defense in Depth accepts that and arranges controls in series, so an attacker must defeat layer after layer, and each layer they hit is another chance to stop them, slow them, or at least detect them.

A typical layered stack, from the outside in: policies and security awareness training shape user behavior; physical security controls who can touch the equipment; the perimeter firewall filters what enters the network; segmentation limits movement inside it; endpoint protection defends each device; authentication and least-privilege access control who can use each application; and encryption protects the data itself. The layers are deliberately of different kinds, mixing technical, physical, and administrative controls, because unrelated controls do not share the same weaknesses.

Play the earlier phishing scenario against this stack. Awareness training reduces the chance the employee clicks; if she does, endpoint protection may catch the malware; if it does not, segmentation stops the laptop from reaching the finance server; if the attacker still reaches the database, encryption makes the stolen files unreadable, and monitoring has been generating alerts at every step. No layer was perfect; the depth was the defense. On the exam, stems that say no single point of failure, layered security, or multiple overlapping controls are describing Defense in Depth.

The castle-and-moat perimeter model and why it broke

The traditional security architecture is often called castle-and-moat: build a strong perimeter around the network, inspect everything at the gate, and treat everything inside as trusted. The firewall is the moat; once a user or device is inside, whether physically in the office or connected by VPN, it moves largely unchallenged. Trust, in this model, is a function of network location: inside means trusted, outside means untrusted.

Three developments broke the model. First, the perimeter dissolved. Applications moved to the cloud, employees work from homes and coffee shops, and partners and contractors need access from everywhere, so inside stopped being a meaningful place: the resources are no longer inside, and neither are the users. Second, insiders and stolen credentials defeat a location-based defense by definition. A malicious employee is already past the moat, and an attacker who phishes a valid password and connects through the VPN is indistinguishable from a legitimate insider. Third, lateral movement: because the interior is trusted, one compromised endpoint gives an attacker a soft, open network to explore, which is exactly the flat-network failure from the start of this lesson.

The lesson to carry forward is precise: the perimeter model's fatal assumption is implicit trust based on network location. Every weakness above is that assumption failing in a different way. Zero Trust, next, is the architecture built by deleting that assumption, and exam questions frequently hinge on spotting it: any answer option that grants access because the request comes from the internal network is the castle-and-moat mistake.

Zero Trust: never trust, always verify

Zero Trust is a security architecture built on one core principle: never trust, always verify. No user, device, or connection is trusted implicitly because of where it sits on the network. Being inside the corporate network, on the VPN, or in the data center earns nothing; every request for access must be verified before it is granted, every time.

The supporting ideas flow from that principle. Verify explicitly: authenticate and authorize every request based on evidence such as user identity, device health, and location, not on network position; strong authentication, including multi-factor authentication, is fundamental here. Least privilege: grant each verified identity access only to the specific resources it needs, and nothing more, so even a fully verified user cannot wander. Assume breach: design as if an attacker is already inside, which means containing lateral movement, monitoring continuously, and never treating the interior as safe. Micro-segmentation is a key enabler: by drawing enforcement boundaries around individual workloads, it creates the many small checkpoints at which every request can be verified, replacing the single big checkpoint at the perimeter.

Two clarifications prevent common exam mistakes. Zero Trust is an architecture and a set of principles, not a single product you can buy; vendors sell components, but Zero Trust is how you design. And Zero Trust does not mean no one gets access; it means access is granted per request, based on verification, to the minimum resource needed. Trust is never assumed, it is established, and it is re-established continuously rather than granted once at login and kept forever.

Perimeter vs Zero Trust: the contrast the exam tests

The exam's favorite question in this sub-domain is a contrast: given a description of behavior, identify which model it belongs to. This table is the study object.

QuestionPerimeter (castle-and-moat)Zero Trust
What earns trust?Network location: inside is trustedNothing implicitly; every request is verified
When is access checked?Once, at the perimeter or at loginContinuously, on every request
How much access follows?Broad access to the internal networkLeast privilege: only the specific resource
Attitude to the interiorAssumed safeAssume breach: attacker may already be inside
Primary enforcement pointThe perimeter firewallMany small boundaries, enabled by micro-segmentation

Note what Zero Trust does not discard. Firewalls, zones, and DMZs still exist and still do useful work; Zero Trust removes the implicit trust behind them, not the controls themselves. Defense in Depth is fully compatible: Zero Trust is arguably Defense in Depth applied to trust decisions, adding verification as a layer at every boundary instead of only at the outer wall.

Run the phishing scenario one final time under Zero Trust. The attacker controls the employee's laptop, but reaching the finance system requires a verified request: the system checks identity and device health, challenges with multi-factor authentication, and the attacker fails. Even with a stolen password and a position inside the network, location buys nothing, least privilege caps what the account could reach anyway, and micro-segmentation blocks the direct path between laptop and database. Compromise of one endpoint no longer implies compromise of the organization, which is the whole point of the architecture.

Tip. Expect definition-match and scenario questions. The highest-yield item is Zero Trust's core principle, which you must recognize verbatim: never trust, always verify, with no implicit trust based on network location; distractors will offer trust but verify or trust internal users only. DMZ questions describe hosting a public-facing server or a segment between the internet and the internal network. Trigger words include lateral movement and blast radius (segmentation), logical Layer 2 separation (VLAN), per-workload policy (micro-segmentation), layered controls with no single point of failure (Defense in Depth), and assume breach or least privilege (Zero Trust).

Key takeaways
  • Segmentation limits lateral movement: an attacker's foothold in one zone cannot freely reach systems in another.
  • The DMZ is a buffer zone between the untrusted internet and the trusted internal network, and it is where public-facing servers belong.
  • VLANs segment a network logically at Layer 2, letting one physical switch act as several isolated networks whose interconnections cross a control point.
  • Micro-segmentation applies policy per individual workload, stopping lateral movement even between servers in the same segment.
  • Defense in Depth layers multiple independent controls so that no single control's failure exposes the asset.
  • Zero Trust's core principle is never trust, always verify: no implicit trust based on network location, every request authenticated and authorized.
  • Zero Trust enforces least privilege, assumes breach, and uses micro-segmentation as a key enabler; it is an architecture, not a product.
  • The castle-and-moat model fails because implicit trust by location cannot stop insiders, stolen credentials, or lateral movement.

Frequently asked questions

What is the core principle of Zero Trust?

Never trust, always verify. Zero Trust grants no implicit trust based on network location: being inside the corporate network or on the VPN earns nothing. Every request for access is authenticated and authorized based on evidence such as identity and device health, access follows least privilege, and the architecture assumes a breach may already have happened.

What is a DMZ and what goes in it?

A DMZ (demilitarized zone) is a buffer network segment between the untrusted internet and the trusted internal network. Public-facing servers that must accept connections from strangers, such as web, mail, and external DNS servers, are placed there. If a DMZ server is compromised, the firewall still separates the attacker from internal systems, containing the breach in the buffer zone.

What is the difference between a VLAN and micro-segmentation?

A VLAN segments a network logically at Layer 2, grouping devices into separate broadcast domains on shared switches; separation is between groups, and traffic between VLANs crosses a router or firewall. Micro-segmentation is finer: policy is enforced per individual workload, typically in software, so even two servers in the same segment cannot communicate unless a rule explicitly allows it.

How are Defense in Depth and Zero Trust different?

Defense in Depth is the principle of layering multiple independent controls so no single failure is fatal; it says nothing by itself about trust. Zero Trust is an architecture that removes implicit trust based on network location and verifies every request. They are complementary: a Zero Trust design is layered, and verification at every boundary is itself a form of Defense in Depth applied to trust decisions.

Is Zero Trust a product you can buy?

No. Zero Trust is a security architecture and a set of design principles: never trust, always verify; least privilege; assume breach. Vendors sell components that help implement it, such as identity platforms, multi-factor authentication, and micro-segmentation tools, but adopting Zero Trust means redesigning how access decisions are made, not installing a single product.

Why is the castle-and-moat model considered outdated?

Because it trusts everything inside the perimeter, and that assumption no longer holds. Cloud applications and remote work dissolved the perimeter, so users and resources are no longer inside it; insiders and attackers with stolen credentials are already past the moat; and a trusted interior lets one compromised endpoint move laterally to everything else. Zero Trust replaces location-based trust with per-request verification.

Test yourself on this topic
Practice questions with full explanations.
Practice now

Sign up free to mark lessons complete, bookmark topics and track your exam readiness.