AWS Certified Data Engineer – Associate (DEA-C01) — Question 59

A data engineer is configuring Amazon SageMaker Studio to use AWS Glue interactive sessions to prepare data for machine learning (ML) models.
The data engineer receives an access denied error when the data engineer tries to prepare the data by using SageMaker Studio.
Which change should the engineer make to gain access to SageMaker Studio?

Answer options

Correct answer: B

Explanation

The correct answer is B, as it allows the data engineer to assume the necessary roles for both AWS Glue and SageMaker, which is essential for access. Option A only adds permissions for AWS Glue, while option C grants full access to SageMaker but does not address the trust relationship needed. Option D is incorrect as it pertains to a different action that does not resolve the access denied issue.