exam questions

Exam AWS Certified Solutions Architect - Professional SAP-C02 All Questions

View all questions & answers for the AWS Certified Solutions Architect - Professional SAP-C02 exam

Exam AWS Certified Solutions Architect - Professional SAP-C02 topic 1 question 349 discussion

A team of data scientists is using Amazon SageMaker instances and SageMaker APIs to train machine learning (ML) models. The SageMaker instances are deployed in a VPC that does not have access to or from the internet. Datasets for ML model training are stored in an Amazon S3 bucket. Interface VPC endpoints provide access to Amazon S3 and the SageMaker APIs.

Occasionally, the data scientists require access to the Python Package Index (PyPI) repository to update Python packages that they use as part of their workflow. A solutions architect must provide access to the PyPI repository while ensuring that the SageMaker instances remain isolated from the internet.

Which solution will meet these requirements?

  • A. Create an AWS CodeCommit repository for each package that the data scientists need to access. Configure code synchronization between the PyPI repository and the CodeCommit repository. Create a VPC endpoint for CodeCommit.
  • B. Create a NAT gateway in the VPC. Configure VPC routes to allow access to the internet with a network ACL that allows access to only the PyPI repository endpoint.
  • C. Create a NAT instance in the VPConfigure VPC routes to allow access to the internet. Configure SageMaker notebook instance firewall rules that allow access to only the PyPI repository endpoint.
  • D. Create an AWS CodeArtifact domain and repository. Add an external connection for public:pypi to the CodeArtifact repository. Configure the Python client to use the CodeArtifact repository. Create a VPC endpoint for CodeArtifact.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
salazar35
Highly Voted 1 year, 5 months ago
Selected Answer: D
CodeArtifact allows you to store artifacts using popular package managers and build tools like Maven, Gradle, npm, Yarn, Twine, pip, NuGet, and SwiftPM
upvoted 8 times
...
svenkata18
Most Recent 1 year ago
Why not C , can use NAT gateway and Sagemaker instance notebook rules as there were not asking for cost-effective
upvoted 1 times
Daniel76
8 months, 3 weeks ago
Requirement is to isolate Sagemaker instances from the Internet
upvoted 1 times
...
...
career360guru
1 year, 4 months ago
Selected Answer: D
Option D
upvoted 1 times
...
vibzr2023
1 year, 4 months ago
Answer : D Not option C By using CodeArtifact, you can effectively meet the requirements of providing access to PyPI while maintaining isolation, security, and cost-efficiency for the SageMaker instances. NAT are additional costs... which you can avoid
upvoted 2 times
...
carpa_jo
1 year, 4 months ago
Selected Answer: D
https://aws.amazon.com/blogs/machine-learning/private-package-installation-in-amazon-sagemaker-running-in-internet-free-mode/
upvoted 3 times
...
heatblur
1 year, 5 months ago
Selected Answer: D
D is the answer. It can't be A -- CodeCommit is primarily a source control service and does not directly synchronize with external repositories like PyPI. This option requires significant overhead in maintaining the sync.
upvoted 2 times
...
devalenzuela86
1 year, 5 months ago
Selected Answer: D
D for sure
upvoted 2 times
...
cypkir
1 year, 5 months ago
Selected Answer: D
Answer: D
upvoted 1 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