nerdexam
Amazon

SAP-C02 · Question #830

A company 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…

The correct answer is A. Add the Git repository as a resource for SageMaker by referencing the remote URL. Configure. The best solution is to use AWS Secrets Manager to store the Git credentials and provide access to the private Git repository securely. This can be integrated with SageMaker to authenticate data scientists without exposing the SageMaker instances to the internet. By referencing…

Submitted by certguy· Mar 6, 2026Continuous Improvement for Existing Solutions

Question

A company 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, data scientists require access to a private Git repository to update application packages that they use as part of their workflow. The company must provide access to the Git repository while ensuring that the SageMaker instances remain isolated from the internet. Which solution meets these requirements with the LEAST operational overhead?

Options

  • AAdd the Git repository as a resource for SageMaker by referencing the remote URL. Configure
  • BAdd the Git repository as a resource for SageMaker by referencing the remote URL. Add the
  • CCreate a NAT gateway in the VPC. Configure VPC routes to allow access to the internet.
  • DCreate a NAT gateway in the VPC. Configure VPC routes to allow access to the internet with a

How the community answered

(22 responses)
  • A
    41% (9)
  • B
    18% (4)
  • C
    32% (7)
  • D
    9% (2)

Explanation

The best solution is to use AWS Secrets Manager to store the Git credentials and provide access to the private Git repository securely. This can be integrated with SageMaker to authenticate data scientists without exposing the SageMaker instances to the internet. By referencing the Git repository as a resource and using Secrets Manager for credentials, the solution ensures that SageMaker instances remain isolated from the internet while allowing secure access to the Git

Community Discussion

No community discussion yet for this question.

Full SAP-C02 Practice