Secure AI Infrastructure
ISC2 AI Security · Lesson 19 of 34 · 2:35:40
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
Lesson 19 of the free ISC2 AI security series (pilot exam, domain 4, secure AI architecture, engineering, and identity and access management (IAM)). In this lesson: hardening AI deployments, isolation and sandboxing, availability against exhaustion, isolated accelerator capacity, physical and environmental security, and who runs these controls. With three quick checks and a recap, and Ravenmoor Payments, a fictional payment provider, as the running example.
Study notes
The text of this lesson, to read at your own pace. Information as of November 2026.
Three places to run AI
Ravenmoor runs its fraud model in its own data center, trains new models on rented cloud GPUs, and calls hosted models for its assistants. One weak spot in any of these places can expose the models and the data. This lesson covers the infrastructure underneath AI.
Hardening AI deployments
Harden every place where AI runs. In the cloud, apply secure baselines: private networking for training and inference, no public storage, encryption, logging, and least-privilege roles for services. On premises, patch hosts, drivers, and the AI frameworks themselves, remove unused services, and keep the AI network apart from the office network. Hybrid deployments add the links between the two, so secure those connections, and keep one identity system and one policy across environments. Check configurations continuously, since drift from the baseline is how exposures appear.
Isolation and sandboxing
Isolation limits what a compromised workload can reach. Keep training apart from inference: training needs broad data access, while inference faces the internet, so they belong in different accounts or networks. Run workloads in containers or virtual machines with minimal privileges, and give each tenant or team its own environment. Sandbox anything that executes untrusted content, such as code generated by a model, a tool that an agent calls, or a model file from outside. A sandbox has no network access by default, a file system it cannot change, strict time and memory limits, and nothing worth stealing.
Availability against exhaustion
AI workloads are expensive, so attackers and runaway jobs can exhaust them. Rate limiting caps requests per user, per key, and per application, at the gateway in front of the model. Compute throttling caps the processing that each request or job may consume, such as tokens, run time, or GPU time. Queues and priorities keep critical work, like payment scoring, ahead of batch jobs when capacity runs short. Budgets and usage alerts catch denial of wallet, where abuse runs up the bill instead of taking the service down.
Isolated accelerator capacity
Accelerators, such as GPUs, are shared and valuable, and their memory can hold data from a previous job. For sensitive models, choose dedicated capacity: accelerators reserved for your workloads, and not shared with other tenants. When hardware is shared, rely on strong partitioning, and make sure memory is cleared between jobs. Keep accelerator drivers and firmware patched, since they run with high privileges.
Physical and environmental security
Physical and environmental security protects the hardware itself. AI racks draw far more power than ordinary servers, so data centers need redundant power, with backup supplies and generators. They also produce intense heat, so cooling, often liquid cooling, needs redundancy and monitoring, since overheating stops training and damages hardware. Rack security means locked cabinets, access control, cameras, and logs of who touched which server. Fire suppression should protect the equipment, for example with clean agent systems instead of water near electronics.
Who runs these controls?
With cloud and hosted AI, the provider runs these controls, so review its audit reports instead of visiting. On premises or in a colocation site, they are yours, or shared with the site operator. Either way, include the data center in business continuity plans: a power or cooling failure can stop AI services as surely as an attack. And protect retired hardware too, with the sanitization methods of lesson fifteen.
Recap
Let's recap. Harden cloud, on-premises, and hybrid deployments with baselines, patching, segmentation, and continuous checks. Isolate training from inference, and sandbox anything that runs untrusted code or content. Rate limiting and compute throttling protect against resource exhaustion and denial of wallet. Dedicated accelerators keep sensitive workloads off shared hardware, with memory cleared between jobs. And physical security covers redundant power, cooling, rack security, and fire suppression.
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.
Ravenmoor’s assistant can write and run Python code to analyze a merchant’s payments. Where should that code run?
- On the assistant’s own server
- On the analyst’s laptop
- In an isolated sandbox, with strict limits
- Inside the production database
Show the answer
In an isolated sandbox, with strict limits
Code that a model generates is untrusted, so it runs in an isolated sandbox, with no network and strict limits. “On the assistant’s own server” is wrong, since code on the assistant's server could use its access and its secrets. “On the analyst’s laptop” is wrong, because a laptop is neither isolated nor controlled. And “Inside the production database” is wrong, since running untrusted code next to production data is the worst place of all.
Ravenmoor fine-tunes a model on cardholder data, and the cloud offers cheaper GPUs shared with other customers. What fits best?
- Shared GPUs, since data is encrypted at rest
- Dedicated accelerator capacity
- Training on CPUs only
- A larger shared GPU cluster
Show the answer
Dedicated accelerator capacity
Dedicated capacity keeps sensitive workloads off hardware shared with other tenants. “Shared GPUs, since data is encrypted at rest” is wrong, since encryption at rest does not protect data while the GPU processes it. “Training on CPUs only” is wrong, because the risk is sharing, not the type of processor. And “A larger shared GPU cluster” is wrong, since a larger shared cluster is still shared.
Ravenmoor’s new on-premises AI cluster needs about three times the power and heat removal of its old servers. What must the facility plan for first?
- A new firewall for the cluster
- More storage for training data
- Stronger administrator passwords
- Power and cooling, with redundancy
Show the answer
Power and cooling, with redundancy
Dense AI hardware needs enough power and cooling, with redundancy, or it fails, or damages itself. “A new firewall for the cluster” is wrong, since a firewall protects the network, not the facility's capacity. “More storage for training data” is wrong, because storage is not the constraint that this case describes. And “Stronger administrator passwords” is wrong, since passwords protect access, not power or heat.