Securing ML Resources
Unlock the complete study guide + 1,040 practice questions across 16 full exams.
Bundled into the existing AWS Certified Machine Learning Engineer - Associate premium course — no separate purchase.
Included in this chapter:
- Four control families, one mental model
- Access control: execution roles, scoping, and Role Manager
- Network isolation and encryption, layer by layer
- Reading the exam stem: which control does it want
Four control families for securing an ML workload
| Control family | Primary mechanism | What it protects against | Detective or preventive |
|---|---|---|---|
| Access control | IAM execution role + scoped policies, SageMaker Role Manager personas | Over-broad permissions, the wrong principal calling SageMaker AI | Preventive |
| Network isolation | VpcConfig (subnets + security groups), VPC interface/gateway endpoints (PrivateLink), EnableNetworkIsolation | Data exfiltration, internet exposure of training/inference | Preventive |
| Encryption | KMS VolumeKmsKeyId + OutputDataConfig KmsKeyId at rest, EnableInterContainerTrafficEncryption in transit | Unauthorized read of artifacts/data at rest or weights in transit | Preventive |
| Audit & data protection | CloudTrail, IAM Access Analyzer, Amazon Macie | Undetected access, external sharing, PII landing in datasets | Detective |
Decision tree
Cheat sheet
Unlock with Premium — includes all practice exams and the complete study guide.
Also tested in
- AIF-C01 AWS Certified AI Practitioner AIF-C01
- CLF-C02 AWS Certified Cloud Practitioner
- DEA-C01 AWS Certified Data Engineer - Associate
- DEA-C01 AWS Certified Data Engineer - Associate
- DEA-C01 AWS Certified Data Engineer - Associate
- DVA-C02 AWS Certified Developer - Associate
- PCA Professional Cloud Architect
- PDE Professional Data Engineer
References
- https://docs.aws.amazon.com/sagemaker/latest/dg/host-vpc.html
- https://docs.aws.amazon.com/sagemaker/latest/dg/mkt-algo-model-internet-free.html
- https://docs.aws.amazon.com/sagemaker/latest/dg/train-encrypt.html
- https://docs.aws.amazon.com/sagemaker/latest/dg/logging-using-cloudtrail.html
- https://docs.aws.amazon.com/IAM/latest/UserGuide/what-is-access-analyzer.html
- https://docs.aws.amazon.com/macie/latest/user/what-is-macie.html
- https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html
- https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-root-access.html
- https://docs.aws.amazon.com/sagemaker/latest/dg/role-manager.html
- https://docs.aws.amazon.com/sagemaker/latest/dg/encryption-at-rest-nbi.html