AWS Certified Machine Learning – Specialty — Question 170

A data scientist is using an Amazon SageMaker notebook instance and needs to securely access data stored in a specific Amazon S3 bucket.
How should the data scientist accomplish this?

Answer options

Correct answer: C

Explanation

The correct answer is C because attaching a policy to the IAM role associated with the notebook instance grants the necessary permissions for accessing the S3 bucket securely. Option A is incorrect as it involves modifying the bucket policy instead of the IAM role, which may not be the best practice. Option B focuses on encryption but does not address the access permissions needed. Option D uses access keys, which are less secure than using IAM roles for authentication.