Training / Certifications / CompTIA Network+ / Zero Trust, SASE and Infrastructure as Code

CompTIA Network+ (N10-009) · Lesson 15

Zero Trust, SASE and Infrastructure as Code

Explain zero trust architecture (policy-based authentication, authorization and least privilege), compare SASE with SSE, and describe how infrastructure as code uses automation and source control.

Domain 1.0: Networking Concepts (23%)Objective 1.8About 6:02CaptionsStatic view for reduced motion
Lesson 15: Zero trust, SASE and infrastructure as code Illustrative example: names and values are samples The old model: trust the insideOffice network: “inside = trusted”FirewallInternetLaptopstaffWeb serverFile sharePayments DBphishedloginOne stolen login reaches everything inside(lateral movement)Zero trust: no implicit trust1Location isn't trustInside the office is checked like outside2Verify every requestIdentity, device health and context3Per session, per resourceAccess to one app doesn't open another4Least privilegeOnly what this task needs5Keep checkingRe-evaluate during the sessionNever trust, always verifyEvery request goes through policySupport agentlaptopPEPenforcementOrders DBPolicy decision pointengine decides, administrator acts1234Who?identity + MFAWhich device?patched, managedContext?time, location, riskPolicy inputs: who, which device, contextAuthorization with least privilegeRoleOrdersPaymentsShippingSwitch configSupport agentReadReadWarehouseUpdateFinanceReadReadNetwork adminChangeLeast privilege accessOnly the resources and actions the job needsFewer rights = smaller blast radiusSASE: networking + security as a serviceHome workerBranchHeadquartersCloud points of presence (PoPs)NetworkingSD-WANoptimized pathsSecurity servicesFWaaSSWGCASBZTNA= SSE (security service edge)all of it = SASE (secure access service edge)Then on to the internet, SaaS apps and the data centerSSE: the security servicesFWaaSFirewall as a service:filter traffic in thecloud, not a branch boxSWGSecure web gateway:filter web traffic,block bad sitesCASBCloud access securitybroker: control use ofSaaS apps and dataZTNAZero trust networkaccess: one app at atime, not the networkZTNA vs. VPN: per-app accessinstead of a tunnel into the whole networkInfrastructure as code: automationplaybook.yml (in Git)- name: Store switch baseline hosts: store_switches tasks: - name: Set NTP server - name: Create VLAN 20 - name: Upgrade firmwareAutomation toole.g. AnsibleSwitch 1Switch 2Switch 3Inventory from cloud / CMDBSame code, every device, every timeTemplates and reusable tasks, not hand-typed commandsConfiguration drift and complianceDesired state (code)vlan 20: Staffvlan 30: (none)ntp: 10.0.0.5Switch 2 (actual)vlan 20: Staffvlan 30: Testntp: 10.0.0.5added by hand at 2 a.m.Dry run / compliance checkCompare real devices with the code; report the driftRevert the devicere-apply the codeOr keep the changecommit it to the codeDrift = config no longer matches the source of truthSource control for network configCentral repositorymainbranch: add-guest-vlanmergeVersion controlWho changed what, whenRoll back to any versionReview before it shipsMerge conflictSame line changed ontwo branches: a persondecides which winsPerimeter securityHard shell, soft insideInside the firewall =implicitly trustedVPN user = inside tooAttackers move laterallyCloud and remote workblur the edgeExam clue“Implicit trust insidethe network” = the old modelZero trust architectureNo implicit trust bynetwork locationEvery request checkedAccess per sessionDevice posture countsContinuous re-checksExam clue“Never trust, alwaysverify” = zero trustPolicy decides1 Agent asks for Orders DB2 PEP asks the decision point3 Policy says yes: open it4 PEP allows this sessionAuthentication: who andwhich device (MFA)Authorization: what they can doExam clueIdentity + device + context= policy-based authenticationLeast privilegeAuthorization = what youmay reach and doGrant per role and taskDeny by defaultLimits lateral movementReview and remove rightsExam clueOnly the access the jobneeds = least privilegeSASE and SSENetworking + security,delivered from the cloudSame policy for every user,wherever they areSASE = SD-WAN + SSESSE = security services onlyExam clueCloud-delivered SD-WANand security = SASESSE building blocksFWaaS: cloud firewallSWG: web filteringCASB: SaaS visibility andcontrolZTNA: per-app access,replaces broad VPN accessExam clueSecurity from the cloud,no SD-WAN = SSEIaC: automationConfig written as codePlaybooks, templates,reusable tasksDynamic inventory: devicelist from cloud / CMDBUpgrades: same stepson every deviceExam clueRepeatable, consistentdeployment = IaCDrift and complianceDrift: manual changespile up over timeDry run shows the diffRe-apply to fix itCompliance: prove everydevice matchesExam clueConfig differs from thebaseline = configuration driftSource controlVersion control: historyand rollbackCentral repository: onesource of truthBranching: work safelyConflict identification:flags clashing editsExam clueRoll back a bad change= version controlZero trustNever trust bylocation; verify everyrequest, least privilegeSASE / SSENetworking andsecurity deliveredfrom the cloud edgeInfrastructure as codeAutomate config;track it in sourcecontrolObjective 1.8: summarize evolving use cases for modern network environmentsSDN, SD-WAN and VXLAN were lesson 14; IPv6 is lesson 16If the question says……think“No implicit trust based on network location”Zero trust“Users get only the access their job needs”Least privilege“SD-WAN and security delivered from the cloud”SASE“Cloud security services without SD-WAN”SSE“Per-app access instead of a full VPN”ZTNA“Device config no longer matches the baseline”Configuration drift“Two engineers edited the same line”Merge conflictZero trustNo trust by locationPolicy-based authenticationAuthorization per requestLeast privilegeSASE / SSECloud PoPs, any userSASE = SD-WAN + SSESSE: FWaaS, SWG,CASB, ZTNAIaCPlaybooks, templatesDetect and fix driftDynamic inventoriesGit: versions, branchesTrust is earned per request, and configuration lives in code.

Tip: turn your phone sideways or use full screen for larger labels.

Captions match the narration word for word. Press Space to play or pause and the arrow keys to change scenes.

Learning objective

Explain zero trust architecture (policy-based authentication, authorization and least privilege), compare SASE with SSE, and describe how infrastructure as code uses automation and source control.

Exam mapping

Domain 1.0: Networking Concepts (23%). Objective 1.8 in the official N10-009 exam objectives.

Key takeaways

  • Perimeter security implicitly trusts everything inside, so one stolen login allows lateral movement. Zero trust grants no implicit trust based on network location.
  • In a zero trust architecture every request is checked against policy (policy-based authentication: identity with MFA, device posture, context) at a policy enforcement point, per session and per resource.
  • Authorization decides what an authenticated subject may reach and do; least privilege access gives each role only what its job needs, shrinking the blast radius.
  • SASE (secure access service edge) converges SD-WAN networking and security into one cloud service delivered from points of presence, with the same policy for users anywhere.
  • SSE (security service edge) is the security part without SD-WAN: FWaaS, secure web gateway, CASB and ZTNA (per-app access instead of a network-wide VPN).
  • Infrastructure as code automates configuration with playbooks, templates and reusable tasks, dynamic inventories and repeatable upgrades; it detects configuration drift, and source control adds version history, a central repository, branching and conflict identification.

Exam tips

How the exam asks about this

Questions describe a situation and expect you to recognize the concept behind it.

If the question mentions…Think
No implicit trust because a device is on the internal networkZero trust architecture
Grant only the permissions a role needsLeast privilege access
SD-WAN plus cloud-delivered security for all usersSASE
Cloud security stack (SWG, CASB, ZTNA) without SD-WANSSE
Production switch config differs from the approved baselineConfiguration drift
Track changes, roll back, review before mergingSource control (version control)

Common traps

  • Zero trust doesn't mean trusting nothing ever: access is granted, but only after each request is verified, and only per session and resource.
  • Authentication (who you are) is not authorization (what you may do). Least privilege is about authorization.
  • SASE includes SD-WAN networking; SSE is only the security services. If the question mentions SD-WAN, think SASE.
  • A merge conflict isn't resolved automatically: source control identifies it and a person chooses the correct version.

Practice

Exam-style questions

Answer each one before you open the explanation.

Question 1. After a phishing attack, an attacker used a stolen employee login to move from an office laptop to the payments database. Which approach would have required the database request to be verified even though it came from inside the network?

  1. Perimeter firewall
  2. Zero trust architecture
  3. Infrastructure as code
  4. Dynamic inventory
Show answer

B. Zero trust architecture. Zero trust grants no implicit trust based on network location: every request is checked against policy (identity, device, context) before access. A perimeter firewall trusts traffic once it is inside; IaC and dynamic inventories are about configuration automation.

Question 2. A company wants branch offices and remote workers to receive SD-WAN connectivity and firewall, web filtering and CASB services from a single cloud provider's points of presence. Which solution fits BEST?

  1. SSE
  2. VXLAN
  3. SASE
  4. A site-to-site VPN
Show answer

C. SASE. SASE converges SD-WAN networking with security services delivered from the cloud. SSE is tempting, but it covers only the security services, not the SD-WAN networking; VXLAN is data center Layer 2 encapsulation.

Question 3. Which TWO are typical components of a security service edge (SSE) offering? (Select TWO.)

  1. Secure web gateway
  2. Spanning tree protocol
  3. Zero trust network access
  4. Dynamic routing with BGP
  5. Patch panel
Show answer

A. Secure web gateway and C. Zero trust network access. SSE bundles cloud-delivered security services such as a secure web gateway, CASB, firewall as a service and ZTNA. Spanning tree, BGP and patch panels are switching, routing and cabling, not SSE services.

Question 4. An automated compliance report shows that a core switch has a VLAN that is not in the approved configuration stored in the team's repository. What does this indicate?

  1. A merge conflict
  2. Least privilege access
  3. A dynamic inventory
  4. Configuration drift
Show answer

D. Configuration drift. When a device's running configuration no longer matches the source of truth, usually after a manual change, that is configuration drift. A merge conflict happens inside source control when two branches change the same line; it isn't about live devices.

Question 5. Two network engineers each edit the same ACL line in the router configuration file on separate branches. When the second branch is merged, the merge stops and asks for a decision. Which source control feature is this?

  1. Conflict identification
  2. Zero-touch provisioning
  3. Central policy management
  4. Upgrades
Show answer

A. Conflict identification. Source control identifies conflicting changes to the same part of a file and pauses the merge until someone resolves it. Zero-touch provisioning and central policy management are SD-WAN features; upgrades are an automation task.

Transcript

Lesson transcript

The full narration, scene by scene. The captions file contains the same text with timings.

Scene 1 · 0:00

Lesson 15: Zero trust, SASE and IaC. Welcome to lesson fifteen, the second half of objective 1.8. We'll cover three ideas modern networks are built on. Zero trust architecture, which stops trusting anything just because it's inside the network. SASE and SSE, which deliver networking and security from the cloud to users wherever they are. And infrastructure as code, which turns device configuration into code that is automated and kept in source control.

Scene 2 · 0:29

The old model: trust the inside. First, the problem. The online store's office network was built like a castle: a strong firewall at the edge, and everything inside trusted. Then an employee falls for a phishing email. The attacker now holds a valid login on an inside laptop, and from there can reach the file share, the web server and even the payments database. Moving from system to system like this is called lateral movement.

Scene 3 · 0:59

Zero trust: no implicit trust. Zero trust removes that implicit trust. NIST's zero trust guidance says network location alone does not imply trust: a request from the office is checked like one from a coffee shop. Every request is verified using identity, device health and context. Access is granted per session and per resource, so getting into one application doesn't open another. And trust is re-evaluated during the session. In short: never trust, always verify.

Scene 4 · 1:29

Every request goes through policy. Here's how it works. A support agent's laptop asks for the orders database. A policy enforcement point stands in front of it and asks a policy decision point. The decision is policy-based authentication: who is this, proven with multifactor authentication, is the device managed and patched, and does the time and location make sense? If policy says yes, the enforcement point opens this one session, and it can close it again.

Scene 5 · 2:00

Authorization with least privilege. Authentication proves who you are; authorization decides what you can reach and do. Zero trust pairs it with least privilege access: each role gets only the resources and actions its job needs. The support agent can read orders and shipping, but can't touch payments. Finance reads payments. Only network admins change switch configurations. If one account is stolen, the attacker gets far less, which shrinks the blast radius.

Scene 6 · 2:30

SASE: networking + security as a service. Next, SASE, secure access service edge. CompTIA's objective list prints it as secure access secure edge, but its acronym list and the industry say service edge. SASE converges networking and security into one cloud service, delivered from points of presence around the world. Home workers, branches and headquarters all connect to the nearest one, get SD-WAN path optimization, and pass through the same security policy wherever they are.

Scene 7 · 3:00

SSE: the security services. Security service edge, or SSE, is the security half on its own, without the SD-WAN networking. It typically bundles four services. Firewall as a service filters traffic in the cloud. A secure web gateway filters web browsing. A cloud access security broker controls how staff use SaaS applications and data. And zero trust network access gives users one application at a time, instead of a VPN tunnel into the whole network.

Scene 8 · 3:30

Infrastructure as code: automation. Now infrastructure as code, or IaC. Instead of typing commands into each switch, the store's network team writes the desired configuration as code, such as an Ansible playbook. Playbooks, templates and reusable tasks apply the same settings to every device. A dynamic inventory pulls the device list from a cloud provider or asset database, so new switches are included automatically. Upgrades run the same tested steps everywhere.

Scene 9 · 4:00

Configuration drift and compliance. Code also catches configuration drift. During a late-night fix, someone adds VLAN 30 to switch two by hand. Now the switch no longer matches the code, the source of truth. A dry run, such as Ansible's check mode or Terraform's plan, compares real devices with the code and reports the difference. You either re-apply the code to remove the change, or commit the change to the code. That's also how you prove compliance.

Scene 10 · 4:31

Source control for network config. Because the configuration is code, it lives in source control, such as Git. Version control records who changed what and when, and lets you roll back to any earlier version. A central repository is the single source of truth. Engineers create a branch to work on a change, like adding a guest VLAN, then merge it back. If two branches changed the same line differently, conflict identification stops the merge until a person decides.

Scene 11 · 5:03

How the exam asks about this. On the exam, no implicit trust based on location means zero trust, and only the access a job needs is least privilege. Networking and security delivered together from the cloud is SASE; the security services without SD-WAN are SSE. Per-app access instead of a full VPN is ZTNA. A device that no longer matches its baseline has configuration drift, and two edits to the same line cause a merge conflict.

Scene 12 · 5:34

Recap: zero trust, SASE and IaC. To recap: zero trust grants no trust by location, checks identity, device and context for every request, and authorizes only least-privilege access. SASE delivers SD-WAN and security from cloud points of presence; SSE is the security part: firewall as a service, secure web gateway, CASB and ZTNA. Infrastructure as code automates configuration, catches drift, and lives in source control. Next: IPv6 addressing and transition.

Download captions (WebVTT)

Sources and accuracy

Checked against the official CompTIA N10-009 exam objectives and the standards below on October 24, 2026. Diagrams and addresses in the animation are illustrative.

This free course is independent and isn't affiliated with or endorsed by CompTIA. CompTIA and Network+ are trademarks of CompTIA, Inc.

Preparing a team for Network+?

I run hands-on networking and cloud training for teams, built around your own environment and goals.