D4: Securing Pipelines & Least-Privilege Access
AWS Certified Machine Learning Engineer – Associate exam practice questions · 10 flashcards
Question
Scanning code in CI/CD?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Securing Pipelines & Least-Privilege Access practice questions and answers
- Scanning code in CI/CD?Amazon CodeGuru Security / Q Developer code reviews for vulnerabilities.
- Scanning container images?Amazon Inspector for ECR images (on push and continuous).
- Least privilege for ML artifacts?Scope S3 access to specific buckets/prefixes, model registry permissions by role.
- SageMaker execution role?Role assumed by SageMaker jobs/endpoints to access S3, ECR, CloudWatch, KMS.
- iam:PassRole importance?Users need PassRole to give SageMaker an execution role — restrict to specific roles.
- SageMaker Role Manager?Helps create persona-based least-privilege roles.
- Condition keys for SageMaker?e.g. sagemaker:VpcSubnets, sagemaker:VolumeKmsKey, sagemaker:NetworkIsolation to enforce secure settings.
- Studio domain user profiles?Separate execution roles per user/team.
- Model package cross-account sharing?Resource policies on model package groups.
- Scenario: enforce all training jobs use VPC and KMS. Approach?IAM policy conditions on CreateTrainingJob (deny without VPC/KMS).