Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam AWS Certified Data Engineer - Associate DEA-C01 topic 1 question 77 discussion

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?

  • A. Add the AWSGlueServiceRole managed policy to the data engineer's IAM user.
  • B. Add a policy to the data engineer's IAM user that includes the sts:AssumeRole action for the AWS Glue and SageMaker service principals in the trust policy.
  • C. Add the AmazonSageMakerFullAccess managed policy to the data engineer's IAM user.
  • D. Add a policy to the data engineer's IAM user that allows the sts:AddAssociation action for the AWS Glue and SageMaker service principals in the trust policy.
Show Suggested Answer Hide Answer
Suggested Answer: AD 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
tgv
Highly Voted 3 months, 1 week ago
Selected Answer: B
I don't believe you're supposed to assign a FullAccess policy, so I will go with B.
upvoted 6 times
...
GiorgioGss
Highly Voted 5 months, 3 weeks ago
Selected Answer: B
I will go with B since you can get access denied even with the AmazonSageMakerFullAccess. See here: https://stackoverflow.com/questions/64709871/aws-sagemaker-studio-createdomain-access-error
upvoted 5 times
...
junrun3
Most Recent 2 weeks ago
Selected Answer: C
B, this approach involves setting up the trust relationship for roles. It is not a typical requirement for resolving access issues with SageMaker Studio directly.
upvoted 2 times
...
LR2023
1 month, 3 weeks ago
OPtion A https://docs.aws.amazon.com/glue/latest/dg/glue-is-security.html
upvoted 1 times
LR2023
1 month, 3 weeks ago
and You can attach AWSGlueServiceRole to your users, groups, and roles.
upvoted 1 times
...
...
Christina666
4 months, 3 weeks ago
Selected Answer: C
SageMaker Permissions: The AmazonSageMakerFullAccess managed policy provides broad permissions for using Amazon SageMaker features, including SageMaker Studio and the ability to interact with other AWS services like AWS Glue. Least Privilege: While this policy is quite permissive, it's the most direct solution to the immediate access issue. After resolving the error, you can refine permissions for a more granular approach.
upvoted 1 times
...
lucas_rfsb
5 months, 1 week ago
Selected Answer: C
I will go with C
upvoted 3 times
nyaopoko
5 months ago
Option A (AWSGlueServiceRole managed policy) is not relevant, as this policy is intended for the AWS Glue service itself, not for users accessing SageMaker Studio. Option B (adding a policy with sts:AssumeRole action) is not necessary, as SageMaker handles the role assumption process internally. Option D (sts:AddAssociation action) is not a valid action and is not required for accessing SageMaker Studio or using AWS Glue interactive sessions.
upvoted 2 times
...
...
fceb2c1
5 months, 2 weeks ago
https://repost.aws/knowledge-center/sagemaker-featuregroup-troubleshooting
upvoted 1 times
...
damaldon
6 months ago
Ans. C https://docs.aws.amazon.com/aws-managed-policy/latest/reference/AmazonSageMakerFullAccess.html
upvoted 2 times
...
atu1789
6 months, 3 weeks ago
Selected Answer: B
B. Add a policy to the data engineer’s IAM user that includes the sts:AssumeRole action for the AWS Glue and SageMaker service principals in the trust policy. • This is the most appropriate solution. The sts:AssumeRole action allows the data engineer’s IAM user to assume a role that has the necessary permissions for both AWS Glue and SageMaker. This is a common approach for granting cross-service access in AWS.
upvoted 2 times
...
rralucard_
7 months, 1 week ago
Selected Answer: C
Amazon SageMaker requires permissions to perform actions on your behalf. By attaching the AmazonSageMakerFullAccess managed policy to the data engineer’s IAM user, you grant the necessary permissions for SageMaker Studio to access AWS Glue and other related services.
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...