WAF, DAM, API Gateway, Sandboxing, Containers, Federation, SSO, MFA, CASB
CCSP · Lesson 13 of 19 · 1:45:31
YouTube loads only after you press play. This chapter opens at its timestamp in the full course. Watch on YouTube ↗
Learning with these videos? Subscribe for new courses and exam-style questions.
Subscribe on YouTube (opens in a new tab)In this lesson
Prepare for the ISC2 CCSP exam, on the current exam outline. In this lesson: web application firewalls, database activity monitoring, XML firewalls and API gateways, sandboxing, containers and orchestration, federated identity, single sign-on, multi-factor authentication, CASB, and secrets management. Includes three original practice questions, with Moonvale Learning, a fictional online learning platform moving to the cloud, as the example.
Study notes
The text of this lesson, to read at your own pace. Information as of November 2026.
Microservices and partner schools
Moonvale is splitting its learning platform into microservices that run in containers. At the same time, partner schools want their teachers to sign in with their own school accounts. Two design questions follow: what protects the application around its code, and who may get in.
Supplemental security components
A web application firewall, or WAF, filters web traffic against attacks like injection and cross-site scripting, and some use machine learning against low and slow attacks. Database activity monitoring, or DAM, watches activity on the database, and raises alerts on unusual access, even by administrators. XML firewalls inspect XML messages for services that still use them, while an API gateway authenticates, throttles, and logs API calls. And a load balancer spreads traffic across servers, can terminate TLS connections, and absorbs some denial of service traffic.
Cryptography and sandboxing
Applications encrypt data in transit with TLS, and at rest with keys from a key management service, never with home-made algorithms. Sensitive fields can also be encrypted inside the application, so that even database administrators see only ciphertext. Sandboxing runs untrusted code in an isolated environment, with no access to the rest of the system. Moonvale can sandbox the code that learners submit in programming courses, and the files they upload, before trusting them.
Microservices and containers
Microservices split an application into small services, each with its own code, data, and API. Containers package a service with everything it needs, and share the operating system kernel of their host. So a kernel flaw can affect every container on that host, which is why containers isolate less than virtual machines. Images must come from trusted registries, be scanned for vulnerabilities, and run without root privileges.
Orchestration with Kubernetes
Kubernetes orchestrates containers at scale: it places them, restarts them, and scales them. Its control plane is a prime target, like the cloud management plane, so access to it needs strong authentication and role-based access control. Network policies limit which services may talk to each other, and secrets come from a secrets manager, not from plain configuration files. And AI training workloads on Kubernetes need the same isolation, with micro-segmentation between them.
Federation, IdP, and SSO
An identity provider, or IdP, authenticates users, and issues assertions or tokens that applications trust. Federated identity lets users from one organization sign in to another organization's service with their own accounts, through standards like SAML and OpenID Connect. Single sign-on, or SSO, lets a user sign in once, and reach many applications without signing in again. So partner school teachers sign in with their school accounts, and Moonvale never stores their passwords.
MFA, CASB, and secrets
Multi-factor authentication, or MFA, combines something you know, something you have, and something you are, so a stolen password is not enough. A cloud access security broker, or CASB, sits between users and cloud services, to find unapproved services, apply policies, and stop data leaks. Secrets, keys, and certificates are kept in managed vaults, rotated, and never written into code or images. And every identity, human or workload, gets only the access it needs.
Recap
Let's recap. A WAF, DAM, XML firewalls, an API gateway, and load balancers protect the application around its code. Applications encrypt with managed keys, and sandbox untrusted code. Containers share their host's kernel, so images are trusted, scanned, and run without root, while Kubernetes needs a protected control plane and network policies. Federation, an IdP, and SSO let partners sign in with their own accounts, and MFA blocks stolen passwords. And a CASB governs cloud use, while secrets, keys, and certificates are kept in managed vaults.
Quick checks for this lesson
The 3 questions of this lesson, as plain text. The button above runs them with shuffled choices and the reason behind every choice.
Database administrators have full access, and auditors want an alert whenever anyone pulls learner data in bulk. Which component fits BEST?
- A web application firewall
- Database activity monitoring
- A load balancer
- An XML firewall
Show the answer
Database activity monitoring
Database activity monitoring watches activity on the database, and alerts on unusual access, even by administrators. “A web application firewall” is wrong, because a web application firewall filters web traffic, and does not see what administrators do in the database. “A load balancer” is wrong, since a load balancer spreads traffic, and does not watch data access. And “An XML firewall” is wrong, because an XML firewall inspects XML messages, not database activity.
A flaw in a host’s operating system kernel lets an attacker reach every container on that host. Why is this possible?
- Containers have network access
- Each container runs its own kernel
- Containers share the host’s kernel
- Kubernetes removes isolation
Show the answer
Containers share the host’s kernel
Containers share the kernel of their host, so a kernel flaw affects them all. “Containers have network access” is wrong, because containers do have network access, which is unrelated to the kernel flaw. “Each container runs its own kernel” is wrong, since containers do not each run their own kernel, unlike virtual machines. And “Kubernetes removes isolation” is wrong, because Kubernetes adds controls, and does not remove isolation.
Moonvale wants to discover which unapproved cloud services its staff use, and apply data policies to them. Which tool fits BEST?
- An identity provider
- A web application firewall
- Single sign-on
- A cloud access security broker
Show the answer
A cloud access security broker
A cloud access security broker finds unapproved cloud services, and applies policies to their use. “An identity provider” is wrong, because an identity provider authenticates users, but does not discover cloud services. “A web application firewall” is wrong, since a web application firewall protects Moonvale's own web apps. And “Single sign-on” is wrong, because single sign-on simplifies sign-in, and cannot see services that staff adopt on their own.