Courseiva

MLA-C01 Practice Question: ML Solution Monitoring, Maintenance, and Security

A company wants to enable cross-account access to a SageMaker model endpoint. The model is in Account A, and Account B needs to invoke it. Which TWO steps are required? (Select TWO)

⚠ Common exam trap

Many candidates confuse network-level connectivity (VPC peering) with IAM-level authorization, or assume that cross-account access requires duplicating resources, when in fact SageMaker's resource-based policies provide a direct and secure solution.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Attach a resource-based policy to the SageMaker model in Account A allowing access from Account B's IAM role

SageMaker endpoints support resource-based policies that allow cross-account access. By attaching a resource-based policy to the model endpoint in Account A, you can grant the IAM role from Account B explicit permission to invoke the endpoint. This is the standard AWS mechanism for cross-account SageMaker endpoint invocation without needing to duplicate the model.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Attach a resource-based policy to the SageMaker model in Account A allowing access from Account B's IAM role

    Why this is correct

    Resource policies grant cross-account permissions directly on the model.

  • Export the model from Account A and re-deploy in Account B

    Why it's wrong here

    This duplicates the model unnecessarily.

  • Create an IAM role in Account B with permissions to invoke SageMaker endpoints

    Why this is correct

    The IAM role in Account B must have sts:AssumeRole and sagemaker:InvokeEndpoint permissions.

  • Configure VPC peering between the two accounts

    Why it's wrong here

    VPC peering is not required for API access; resource policies suffice.

  • Use a SageMaker notebook instance cross-account sharing

    Why it's wrong here

    Notebook sharing is for development, not inference access.

About these practice questions

This MLA-C01 question is part of Courseiva's 835-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This MLA-C01 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the MLA-C01 exam.