exam questions

Exam AWS Certified Data Engineer - Associate DEA-C01 All Questions

View all questions & answers for the AWS Certified Data Engineer - Associate DEA-C01 exam

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: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
tgv
Highly Voted 11 months 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 1 year, 1 month 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
...
mohamedTR
Most Recent 6 months, 3 weeks ago
Selected Answer: B
B. the engineer needs to assume specific roles to allow interaction between these services. The sts:AssumeRole action is necessary for this purpose
upvoted 1 times
...
junrun3
8 months, 1 week 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
9 months, 2 weeks ago
OPtion A https://docs.aws.amazon.com/glue/latest/dg/glue-is-security.html
upvoted 1 times
LR2023
9 months, 2 weeks ago
and You can attach AWSGlueServiceRole to your users, groups, and roles.
upvoted 1 times
LR2023
7 months ago
Sorry changed my mind option B makes most sense
upvoted 1 times
...
...
...
Christina666
1 year 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
1 year ago
Selected Answer: C
I will go with C
upvoted 3 times
nyaopoko
1 year 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
1 year, 1 month ago
https://repost.aws/knowledge-center/sagemaker-featuregroup-troubleshooting
upvoted 1 times
...
damaldon
1 year, 1 month ago
Ans. C https://docs.aws.amazon.com/aws-managed-policy/latest/reference/AmazonSageMakerFullAccess.html
upvoted 2 times
...
atu1789
1 year, 2 months 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_
1 year, 2 months 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago