exam questions

Exam AWS Certified Machine Learning - Specialty All Questions

View all questions & answers for the AWS Certified Machine Learning - Specialty exam

Exam AWS Certified Machine Learning - Specialty topic 1 question 116 discussion

A machine learning (ML) specialist wants to secure calls to the Amazon SageMaker Service API. The specialist has configured Amazon VPC with a VPC interface endpoint for the Amazon SageMaker Service API and is attempting to secure traffic from specific sets of instances and IAM users. The VPC is configured with a single public subnet.
Which combination of steps should the ML specialist take to secure the traffic? (Choose two.)

  • A. Add a VPC endpoint policy to allow access to the IAM users.
  • B. Modify the users' IAM policy to allow access to Amazon SageMaker Service API calls only.
  • C. Modify the security group on the endpoint network interface to restrict access to the instances.
  • D. Modify the ACL on the endpoint network interface to restrict access to the instances.
  • E. Add a SageMaker Runtime VPC endpoint interface to the VPC.
Show Suggested Answer Hide Answer
Suggested Answer: AC 🗳️

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
mona_mansour
Highly Voted 2 years, 6 months ago
A&C...>https://aws.amazon.com/blogs/machine-learning/securing-all-amazon-sagemaker-api-calls-with-aws-privatelink/
upvoted 15 times
...
wisoxe8356
Highly Voted 1 year, 4 months ago
Selected Answer: AC
A - VPC endpoint policy can limit the access to specific group of user/roles Not B - setting iam user policy can limit user access other aws service but not secure the traffic C - “specific” sets of instances - means security rules in instance level Not D - ACL (access control list) allows or denies specific inbound or outbound traffic at the subnet level. Not E - VPC is configured with public subnet, adding interface without limit the traffic means not secure
upvoted 7 times
...
loict
Most Recent 7 months, 2 weeks ago
Selected Answer: AC
A. YES - for users B. NO - the users should access more than just SageMaker C. YES - for instances D. NO - ACL are not supported for SageMaker endpoint (only S3, RDS, EKS, etc.) E. NO - endpoint is already there
upvoted 1 times
...
ccpmad
9 months ago
Selected Answer: AC
A. Add a VPC endpoint policy to allow access to the IAM users: This will specify the permissions for the IAM users to access the Amazon SageMaker Service API through the VPC endpoint. C. Modify the security group on the endpoint network interface to restrict access to the instances: By configuring the security group, the specialist can control which instances are allowed to communicate with the SageMaker Service API through the VPC endpoint.
upvoted 1 times
...
venimus_vidimus_vicimus
1 year, 5 months ago
Should be A & D n0? We want to configure the endpoint - first to allow IAM users, second to control access to instances. Since Security Groups are attached to instances (not VPCs) and only allow allow rules - it should be D.
upvoted 3 times
...
exam_prep
1 year, 11 months ago
Yes, A & D are correct. A> This will limit access to only names IAM users. It is like defining all for given principals as below: { "Statement": [ { "Effect": "Allow", "Principal": "*", "Action": "*", "Resource": "*" } ] } D-> To restrict access to certain instances or IP address you define deny rule at NACL level. Here VPC Interface endpoint is in subnet (the only subnet in VPC). So modify NACL configurations at this subnet level. Security group are only for allowing the traffic not for deny so so C is incorrect.
upvoted 1 times
...
yj123
2 years, 2 months ago
security group cannot restrict access explicitly, C?
upvoted 1 times
yj123
2 years, 2 months ago
i mean A, D
upvoted 1 times
...
...
[Removed]
2 years, 5 months ago
Selected Answer: AC
Security Group controls instance level access. The question requires instance level access. The VPC endpoint is already set up. It needs a policy attachment for particular IAM Users. I would have preferred this to be IAM Roles instead of Users, as a more appropriate question. Nevertheless, answer is A & C.
upvoted 2 times
...
Madwyn
2 years, 6 months ago
A say allow access TO the IAM users? That's wired, why to the IAM users? How do you access them?
upvoted 1 times
...
msamory
2 years, 6 months ago
The VPC endpoint is already available waiting to be configured. No need to add one. A and E are out. Furthermore if an IAM endpoint is not set, a default one will be provided and you can't have more than 1 IAM policy but can modify the one that's available. -Restric access to only calls coming from the VPC, then modify the security group to give access to user group or roles that need access to that notebook. I think the answer is B and C
upvoted 4 times
Madwyn
2 years, 6 months ago
A says add a VPC endpoint policy, not add an endpoint.
upvoted 2 times
...
...
cnethers
2 years, 6 months ago
https://docs.aws.amazon.com/vpc/latest/userguide/vpc-endpoints-access.html https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-interface-endpoint.html#nbi-private-link-policy https://docs.aws.amazon.com/vpc/latest/userguide/integrated-services-vpce-list.html
upvoted 2 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