Skip to content
Ameen Abozaid
ARC-018

Network security

  • 6 Lessons
  • 3 h practice (estimate)
On this page 9 topics

Overview

Topics

  • Firewalls
  • WAF
  • segmentation
  • private connectivity

Learn first

3 h of practice (estimate)

Learning outcomes

  1. Layer network controls: security groups/NSGs, firewalls, WAF, DDoS protection.
  2. Segment networks by sensitivity and environment.
  3. Design private connectivity to SaaS and partners.
  4. Explain where network controls complement, not replace, identity-based controls.

Lessons

  1. 01Defense in depth for networks
  2. 02Security groups, firewalls, and WAF
  3. 03Segmentation
  4. 04DDoS and edge protection
  5. 05Private connectivity to SaaS and partners
  6. 06Demo: protecting Larkspur's storefront and payment paths

Lab and exercises

Lab

ARC-018-LAB1 · Larkspur network security

Outcomes: 1–4 · Time: ~3 h

  1. Inventory public endpoints and external connections.
  2. Design the layered controls: edge, WAF, security groups, firewalls.
  3. Write the segmentation plan and flow matrix with the payment segment isolated.
  4. Define WAF rules and DDoS posture for every public endpoint.
  5. Define controls around the payment flow and the private connectivity to the payment provider and partners.
  6. Add a note on which risks are covered by identity controls instead.

Acceptance: payment-related components isolated; every public endpoint protected.

Exercises (case-based; six exercises)

IDOutcomeTask
ARC-018-EX011List the layers a request passes from a customer to the order database and the control at each.
ARC-018-EX021Write security group rules for the order service (inbound, outbound).
ARC-018-EX032Draw a flow matrix for web, app, data, payment, and management segments.
ARC-018-EX042A flat network is audited for card-payment scope and the whole platform is in scope. Propose a fix.
ARC-018-EX053Design how Larkspur connects to a logistics partner that offers only an internet API.
ARC-018-EX064An attacker with a stolen staff token reaches the back office from an allowed network. Explain which controls still matter and what network controls cannot stop.
Show solutions
  • EX01 CDN/DDoS, WAF, load balancer, service security group, service authorization, database security group, database authentication and encryption.
  • EX02 Inbound: only from the load balancer's group on the service port. Outbound: only the database group, ERP adapter, and approved endpoints; deny the rest.
  • EX03 Web to app allowed on the service port; app to data on database ports; app to payment segment on specific ports only; management from a bastion/SSO path; everything else denied.
  • EX04 Isolate payment components in a dedicated segment, tokenize card data via the provider so the rest of the platform never holds it, and re-scope the audit to the small segment.
  • EX05 TLS with mutual authentication or strong API credentials, IP allow-list both ways, rate limits, logging, signed payloads; revisit private connectivity if volume or sensitivity grows.
  • EX06 Identity controls: MFA, conditional access, short token life, least-privilege roles, anomaly detection, audit logs. Network controls cannot judge a valid token from an allowed network.

Workplace evidence: a network security design you implemented or reviewed.

Outcome coverage: all outcomes covered by exercises and the lab.

Quiz

Outcomes: O1 layered controls · O2 segmentation · O3 private connectivity · O4 network and identity controls.

A self-check for you: nothing is graded, saved or sent anywhere. Choose an answer, then check it. You can try again as often as you like.

  1. 1Defense in depth means:O1
  2. 2A WAF is used to:O1
  3. 3Restricting the origin to accept traffic only from the CDN:O1
  4. 4A flat network is risky because:O2
  5. 5Segmenting payment components also:O2
  6. 6A good default for security group rules is:O2
  7. 7For a sensitive partner flow, prefer:O3
  8. 8If only the internet path exists to a partner, use:O3
  9. 9Network controls do not stop:O4
  10. 10The right relationship between network and identity controls is:O4

Practical part

Security design review of the ARC-018-LAB1 plan plus exercises ARC-018-EX01 to EX06. Pass: quiz at least 8/10, at least five of six exercises correct, payment components isolated, and every public endpoint protected.

Common mistakes

Flat networks; relying on the network perimeter alone.

Assessment

Security design review.

Workplace evidence

A network security design you implemented or reviewed.

Career relevance

Security architecture (ARC-028).

Type to search levels, phases, modules and lessons.