A company’s data scientists use Amazon SageMaker notebook instances and currently attach individual IAM roles to each notebook. The company wants to centralize permission management for the team. Which approach satisfies this requirement?
Choose an answer
Tap an option to check your answer.
Correct answer: Define a single IAM role with the required permissions and attach that role to every notebook instance the team uses..
Why this is the answer
Attaching a single, well-defined IAM role to all notebook instances centralizes permission management. This approach ensures all data scientists operating these notebooks inherit the same set of permissions, simplifying auditing and access control. Each notebook instance assumes this role, granting it the necessary AWS service access without requiring individual user credentials. Incorrect options: IAM groups cannot be directly attached to SageMaker notebook instances. Roles are the correct mechanism for granting permissions to AWS resources like notebook instances. Using an IAM user with AdministratorAccess is a security risk, as it grants overly broad permissions and doesn't align with the principle of least privilege. Also, notebook instances assume roles, not users. While creating an IAM group for data scientists is good practice for user management, an IAM group cannot be directly associated with a notebook instance. Furthermore, attaching AdministratorAccess to a role is a security anti-pattern.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed