Controls in a secure architecture
SecurityX CAS-005 · Lesson 8 of 24 · 56:11
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 CompTIA SecurityX (CAS-005) exam. In this lesson: attack surface management and reduction, logging, monitoring, and sensor placement, classification, labeling, tagging, and DLP, and hybrid infrastructures, third-party integrations, and control effectiveness. Includes three original practice questions, with Thornbury Biotech, a fictional biotech company whose security architect designs and runs its security, as the example.
Study notes
The text of this lesson, to read at your own pace. Information as of November 2026.
Do the controls work?
Thornbury Biotech just connected a newly acquired lab to its network and its cloud, and a research partner wants to plug into its trial data. The auditors' question is simple: do your controls really work, and would you see an attacker inside? Answering it means designing controls into the architecture, not bolting them on.
Reducing the attack surface
Attack surface management starts by discovering everything exposed: servers, cloud services, APIs, and forgotten test sites, often with external scans that see the organization the way an attacker does. Then you reduce it: remove what is not needed, and harden what stays, with secure baselines, closed ports, no default accounts, and unused services turned off. Vulnerability management keeps the remaining surface patched: scan, prioritize by risk, fix, and verify. Defense in depth layers controls, so that one failure does not expose everything: segmentation, endpoint protection, strong authentication, and encryption, together. And legacy components that cannot be patched or hardened get extra layers around them, like their own segment, a proxy in front of them, and tighter monitoring.
Enabling detection
You cannot hunt what you cannot see, so the architecture must enable detection from the start. Centralized logging sends the logs of every system to one place, like a SIEM, with synchronized clocks, so events can be correlated. Continuous monitoring watches systems and controls all the time, not only during an audit, and alerting turns important events into notifications, tuned to avoid alert fatigue. Sensor placement decides what you see: network sensors at choke points and between zones, including east-west traffic between servers, and agents on endpoints and servers. Encrypted traffic needs a plan too, like inspection at a proxy, or endpoint agents that see the data before it is encrypted.
Protecting data
Protecting data starts with a classification model: a few levels, like public, internal, confidential, and restricted, each with its own handling rules. Data labeling attaches the classification to the data itself, visibly in a header or a watermark, and in metadata that tools can use. Tagging strategies add attributes, like the owner, the project, or the regulation, to data and cloud resources, so that policies, costs, and access can follow them automatically. Labels and tags only help when they are applied consistently, so set defaults, and label automatically where you can. At Thornbury, trial data is labeled restricted, and tagged with its trial and the regulation that applies.
Data loss prevention, or DLP, enforces those labels. DLP for data at rest scans file shares, databases, and cloud storage, to find sensitive data stored where it should not be. DLP for data in transit inspects email, web uploads, and network traffic, and can block, quarantine, or encrypt a message that carries restricted data. On endpoints, DLP also controls data in use, like copying to USB drives, printing, or pasting into other apps. And data discovery comes first, because you cannot protect what you have not found: scan for sensitive data, then label what you find.
Hybrid systems and third parties
Hybrid infrastructures mix on-premises systems and cloud services, so controls must work in both: one identity provider, consistent policies, and logs from both sides in the same SIEM. The connection itself, like a VPN or a private link, becomes critical, and needs redundancy and monitoring. Third-party integrations, like a partner calling your API, or a SaaS tool connected to your data, extend your attack surface into someone else's security. So review vendors before connecting them, grant only the permissions each integration needs, give each one its own credentials, and review those connections regularly. And plan how to cut an integration quickly, if the third party is breached.
Control effectiveness
A control that exists on paper is not proof that it works. Assessments, like audits, penetration tests, and control self-assessments, check whether controls are well designed, and operating as intended. Scanning checks continuously, for vulnerabilities, misconfigurations, and drift from secure baselines. Metrics show trends, like the time to patch critical vulnerabilities, the share of systems with endpoint protection, the mean time to detect, and the share of alerts that are false positives. Good metrics are tied to a goal, measured the same way each time, and reported to the people who decide.
Recap
Let's recap. Discover and reduce the attack surface, harden what stays, patch it, layer controls, and wrap legacy components in extra layers. Centralized logging, continuous monitoring, tuned alerts, and well-placed sensors make detection and hunting possible. Classification, labels, and tags describe the data, and DLP protects it at rest, in transit, and in use, starting with discovery. Hybrid systems need consistent controls on both sides, and third-party integrations need reviews, least privilege, and a way out. And assessments, scanning, and metrics prove that controls work.
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.
Thornbury’s network sensors sit only at the internet edge. An attacker moving from one lab server to another went unseen for weeks. What should the architect change?
- Raise the alert threshold at the edge
- Keep logs locally on each server
- Add sensors between internal zones
- Add a second edge firewall
Show the answer
Add sensors between internal zones
Sensors between internal zones see east-west traffic, like an attacker moving from server to server. “Raise the alert threshold at the edge” would only produce fewer alerts at the edge. “Keep logs locally on each server” is the opposite of centralized logging, so events could not be correlated. And “Add a second edge firewall” still only sees traffic entering and leaving the network.
Thornbury suspects that copies of trial data sit on old file shares that nobody has reviewed in years. What should the team do first?
- Run DLP data discovery on the file shares
- Block every email attachment
- Put a WAF in front of the file servers
- Tag every new cloud bucket
Show the answer
Run DLP data discovery on the file shares
Data discovery scans the file shares, and finds the sensitive data before anything else can protect it. “Block every email attachment” only covers data in transit, and would stop far more than trial data. “Put a WAF in front of the file servers” is about web attacks on an application, not files sitting on a share. And “Tag every new cloud bucket” only covers new cloud resources, not the old shares.
The board asks whether Thornbury’s patching program is getting better over time. What answers this question best?
- A list of every patch installed
- A one-time penetration test
- A new patching policy
- Time to patch critical flaws, month by month
Show the answer
Time to patch critical flaws, month by month
A metric measured the same way each month shows the trend the board is asking about. “A list of every patch installed” only lists what was done, without showing any trend. “A one-time penetration test” only shows the state at one point in time. And “A new patching policy” is a document, which does not prove anything about results.