AWS ML Specialty ML Security and Compliance Quiz

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Thames
T
Thames
Community Contributor
Quizzes Created: 11982 | Total Attempts: 187,298
| Questions: 20 | Updated: Aug 14, 2026
Please wait...
Question 1 / 21
🏆 Rank #-- ▾
0 %
0/100
Score 0/100

1. Which compliance standard applies to healthcare data in ML models?

Explanation

HIPAA (Health Insurance Portability and Accountability Act) applies to protected health information handled by healthcare organizations and their business associates in the United States. When ML models use or process this data, HIPAA’s privacy and security requirements may apply. PCI-DSS concerns payment card data, while FedRAMP covers cloud services for U.S. federal agencies.

Submit
Please wait...
About This Quiz
AWS Ml Specialty Ml Security and Compliance Quiz - Quiz

This quiz evaluates your understanding of security and compliance in AWS machine learning workflows. It covers encryption, data protection, access controls, regulatory frameworks, and best practices for securing ML models and data in production environments. Essential for professionals preparing for the AWS ML Specialty certification.

2.

What first name or nickname would you like us to use?

You may optionally provide this to label your report, leaderboard, or certificate.

2. Which encryption method protects model artifacts during SageMaker training job execution?

Explanation

During SageMaker training, communications between the service, training containers, and AWS resources are protected with TLS while data moves. Training data and resulting model artifacts stored on supported volumes or in Amazon S3 can be encrypted at rest using AWS KMS keys. This safeguards both transfer and storage, unlike application-only encryption or signing alone.

Submit

3. What is the purpose of data validation in ML pipelines regarding compliance?

Explanation

Data validation checks that input data is accurate, consistent, and suitable for use in an ML pipeline. It can also identify sensitive or improperly handled information, helping teams meet privacy and regulatory requirements before data is used for training or inference.

Submit

4. How does enabling MFA Delete on S3 buckets enhance security?

Explanation

MFA Delete adds an extra verification step before an S3 bucket’s versioned objects can be permanently deleted or versioning can be suspended. This helps prevent accidental or unauthorized deletions, even if an attacker gains access to valid credentials.

Submit

5. Which policy type restricts actions on S3 buckets containing training data?

Explanation

Access to training data in S3 can be restricted at multiple layers. Identity-based policies limit what users and roles may do, bucket policies enforce rules on the bucket itself, and VPC endpoint policies constrain S3 requests made through a specific endpoint. Any of these policies can deny actions, so all three may be used to control access.

Submit

6. What does S3 bucket versioning provide for ML model artifacts?

Explanation

S3 bucket versioning keeps multiple versions of an ML model artifact when it is overwritten or deleted. This lets you restore an earlier version if a change is accidental, helping protect model files from unintended loss.

Submit

7. How can you ensure data privacy when sharing ML models across accounts?

Explanation

Combining customer-managed KMS encryption with cross-account IAM access protects models at rest while ensuring only authorized users or services in another account can retrieve them. Grant access through least-privilege roles and carefully scoped key permissions, so sharing remains controlled without exposing the model to unauthorized accounts.

Submit

8. Which service monitors compliance with AWS security best practices?

Explanation

AWS Config tracks resource configurations and evaluates them against compliance rules. AWS Security Hub aggregates findings and checks workloads against security standards, while AWS Trusted Advisor identifies opportunities to follow AWS best practices, including security recommendations. Together, these services monitor different aspects of security and compliance, so each can help maintain secure AWS environments.

Submit

9. What is the primary benefit of using AWS CloudTrail for ML auditing?

Explanation

AWS CloudTrail records API calls and user actions across an AWS environment, creating an audit trail of who did what and when. This helps teams monitor activity, investigate incidents, and support compliance for machine learning resources.

Submit

10. How does SageMaker Network Isolation enhance security?

Explanation

SageMaker Network Isolation restricts training containers from accessing the internet or other network resources while training. This limits exposure to external threats and helps prevent data from being sent outside the training environment. It does not encrypt model weights, enable cross-account access, or increase GPU availability.

Submit

11. Which AWS service encrypts data in transit and at rest for SageMaker notebooks by default?

Explanation

SageMaker protects notebook data at rest using AWS KMS-managed encryption keys, with an AWS-owned key used by default. Data sent between the notebook and AWS services is protected in transit using TLS. KMS manages the encryption keys that support this protection.

Submit

12. What does AWS Secrets Manager help protect in ML pipelines?

Explanation

AWS Secrets Manager helps protect sensitive authentication information used by ML pipelines, such as API keys and database credentials. It stores these secrets securely, encrypts them at rest, and can rotate them automatically while allowing controlled access to authorized services. This reduces exposure from hardcoded values in code or configuration files and supports safer connections to data sources and APIs.

Submit

13. How can you implement least privilege access for ML model endpoints?

Explanation

Combining IAM identity policies with resource-based policies provides layered, least-privilege control. Identity policies limit which endpoints a user or service can invoke, while resource policies define which principals may access a specific endpoint and under what conditions. Together, they restrict access from both the caller and resource sides; VPC security groups alone do not authorize endpoint actions.

Submit

14. Which encryption option protects data in SageMaker EBS volumes?

Explanation

EBS encryption with AWS KMS protects data stored on SageMaker’s attached EBS volumes by encrypting it at rest. KMS keys control access to the encryption and decryption process, while TLS protects data in transit rather than data stored on the volumes.

Submit

15. What is the role of IAM roles in SageMaker execution?

Explanation

IAM roles define the permissions SageMaker assumes when carrying out tasks. They provide temporary credentials that let training jobs, hosted models, and other SageMaker services access authorized AWS resources—such as Amazon S3 or Amazon ECR—without storing long-term credentials in code. Those permissions can be scoped to limit access to only what each task needs.

Submit

16. Which service provides centralized logging and monitoring for ML pipeline activities?

Explanation

CloudWatch collects and centralizes logs and metrics, helping monitor pipeline execution and performance. CloudTrail records API calls and other account activity, providing an audit trail of actions performed on ML resources. Together, they offer monitoring and activity logging for ML pipelines.

Submit

17. What does AWS KMS customer master key (CMK) enable for ML workloads?

Explanation

AWS KMS customer master keys let users control encryption key policies and permissions, helping protect data used in machine learning workloads. They can manage key access and usage rather than relying solely on AWS-managed encryption keys.

Submit

18. How can you restrict access to SageMaker notebooks to specific IP addresses?

Explanation

SageMaker notebook access can be restricted through multiple layers. IAM policies can use source-IP conditions to control who may call notebook APIs; security groups and network ACLs can allow or deny traffic from specified IP ranges; and VPC and subnet settings can place notebooks in a network with controlled connectivity. Combining these controls strengthens access restrictions.

Submit

19. Which compliance framework requires encryption of personal data and restricts data transfers?

Explanation

GDPR requires organizations to protect personal data using appropriate security measures, with encryption specifically identified as one possible safeguard under Article 32. It also limits transfers of personal data outside the European Economic Area, allowing them only when specified conditions—such as an adequacy decision or approved safeguards—are met.

Submit

20. What is the primary purpose of VPC endpoints in ML security?

Explanation

VPC endpoints provide a private connection between a VPC and supported AWS services, such as SageMaker, without routing traffic through the public internet. This helps reduce exposure to external networks and supports secure communication with ML services.

Submit
×
Saved
Thank you for your feedback!
View My Results
Cancel
  • All
    All (20)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
Which compliance standard applies to healthcare data in ML models?
Which encryption method protects model artifacts during SageMaker...
What is the purpose of data validation in ML pipelines regarding...
How does enabling MFA Delete on S3 buckets enhance security?
Which policy type restricts actions on S3 buckets containing training...
What does S3 bucket versioning provide for ML model artifacts?
How can you ensure data privacy when sharing ML models across...
Which service monitors compliance with AWS security best practices?
What is the primary benefit of using AWS CloudTrail for ML auditing?
How does SageMaker Network Isolation enhance security?
Which AWS service encrypts data in transit and at rest for SageMaker...
What does AWS Secrets Manager help protect in ML pipelines?
How can you implement least privilege access for ML model endpoints?
Which encryption option protects data in SageMaker EBS volumes?
What is the role of IAM roles in SageMaker execution?
Which service provides centralized logging and monitoring for ML...
What does AWS KMS customer master key (CMK) enable for ML workloads?
How can you restrict access to SageMaker notebooks to specific IP...
Which compliance framework requires encryption of personal data and...
What is the primary purpose of VPC endpoints in ML security?
play-Mute sad happy unanswered_answer up-hover down-hover success oval cancel Check box square blue
Alert!