Skip to content
Lesson 7 of 14 · CompTIA Security+ (SY0-801)

Secure architecture and zero trust

Compare cloud, hybrid, on-premises and operational technology models, and apply segmentation, secure design and zero trust.

17 min

Architecture is about where things are and how they are connected. Each model changes who is responsible for what.

  • On-premises: you own everything: hardware, patching, physical security. Most control, most work.
  • Cloud (IaaS, PaaS, SaaS): the provider secures the underlying infrastructure under the shared responsibility model. You always keep responsibility for your data, identities and configuration. Know public, private, community and hybrid clouds, and that a cloud access security broker (CASB) sits between users and cloud services to enforce policy.
  • Hybrid and multi-cloud: more flexibility and more complexity: consistent identity, logging and policy across all of it.
  • Virtualization and containers: many workloads on shared hosts. Risks: VM escape, VM sprawl, vulnerable container images. Use trusted images and isolate containers.
  • Infrastructure as code (IaC): define systems in code so they are repeatable, reviewable and scannable.
  • Serverless and microservices: small pieces with APIs between them. Secure each API, secrets and permissions.
  • ICS/SCADA and operational technology (OT): devices that run factories and utilities. They prioritize availability and safety, run old software and are hard to patch. Protect with segmentation and air gaps.
  • IoT and embedded systems: constrained devices with weak defaults. Change default credentials, patch if possible, isolate them.

Secure infrastructure uses segmentation (split the network so a breach cannot spread), a screened subnet (formerly DMZ) for public-facing servers, firewalls, IDS/IPS, VPNs, jump hosts, load balancers, network access control (NAC) and port security. Zero trust applies everywhere: verify identity and device, give least privilege, and assume breach.

A segmented design: public servers sit in a screened subnet, databases and OT are separated.

IDS versus IPS versus firewall.

Firewall

Position
On the boundary or between segments
Action
Allows or blocks by rules
Remember
Enforces policy

IDS (intrusion detection)

Position
Out of band, watching a copy of traffic
Action
Alerts only
Remember
Detective

IPS (intrusion prevention)

Position
Inline, in the path of traffic
Action
Alerts and blocks
Remember
Preventive, can cause an outage if it fails closed
Decide

A factory's production line controllers are on the same flat network as office laptops. The controllers run unsupported software that cannot be patched.

What is the BEST first improvement?

Common misconception

“Moving to the cloud means the provider is now responsible for our security.”

Providers have large security teams.

What is actually true

Under shared responsibility, the provider secures the cloud itself. You secure what you put in it: data, identities, configuration and access.

  • Cloud and on-premises differ in who owns which layer. Data and identity are always yours.
  • Segment networks, use a screened subnet for public servers, and isolate OT and IoT.
  • IDS alerts and sits out of band. IPS blocks and sits inline.
  • Zero trust: verify explicitly, least privilege, assume breach.
Check yourself

Design questions.

1Multiple choice

Which design BEST limits the spread of a breach from an internet-facing web server to a database?

  • AUse the same VLAN for easier management
  • BShare one administrator account
  • CPlace them in separate network segments with a firewall between
  • DDisable logging
2Multiple choice

Which device is placed inline and can block malicious traffic automatically?

  • ASyslog server
  • BIPS
  • CIDS
  • DNetwork tap
3Multiple choice

What is the BEST way to protect legacy OT devices that cannot be patched?

  • AIsolate them with segmentation and restrict access
  • BAllow remote desktop from everywhere
  • CConnect them directly to the internet
  • DRemove all logging
4Multiple choice

A tool sits between users and cloud applications to enforce security policy. What is it?

  • AHSM
  • BNAC
  • CCASB
  • DSIEM
5Fill the blanks

A subnet hosts public-facing servers in a network area separated from the internal network.

Capitalisation, spacing and punctuation are ignored when grading.

Practise this lesson, not just read it

In BiliMind the questions above are marked when you answer, the flashcards come back on a schedule, and the rest of CompTIA Security+ (SY0-801) is planned around your week. Free.