- A
Attach a resource-based policy to the SageMaker model in Account A allowing access from Account B's IAM role
Resource policies grant cross-account permissions directly on the model.
- B
Export the model from Account A and re-deploy in Account B
Why wrong: This duplicates the model unnecessarily.
- C
Create an IAM role in Account B with permissions to invoke SageMaker endpoints
The IAM role in Account B must have sts:AssumeRole and sagemaker:InvokeEndpoint permissions.
- D
Configure VPC peering between the two accounts
Why wrong: VPC peering is not required for API access; resource policies suffice.
- E
Use a SageMaker notebook instance cross-account sharing
Why wrong: Notebook sharing is for development, not inference access.
MLA-C01 Practice Question: ML Solution Monitoring, Maintenance, and Security
This MLA-C01 practice question tests your understanding of ml solution monitoring, maintenance, and security. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
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)
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
Option A is correct because 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.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
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.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
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.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
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.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates often 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.
Detailed technical explanation
How to think about this question
Under the hood, SageMaker endpoints use AWS Identity and Access Management (IAM) to evaluate resource-based policies. When Account B's IAM role invokes the endpoint, AWS combines the resource-based policy on the endpoint with the principal's IAM permissions to determine access. The resource-based policy must specify the ARN of the IAM role in Account B as the principal, and the action must be 'sagemaker:InvokeEndpoint'. This mechanism avoids the need for cross-account IAM roles or STS AssumeRole calls, simplifying the architecture.
KKey Concepts to Remember
- Read the scenario before looking for a memorised answer.
- Find the constraint that changes the correct option.
- Eliminate answers that are true in general but not in this case.
TExam Day Tips
- Watch for words such as best, first, most likely and least administrative effort.
- Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
A company's IT admin needs to give a contractor read-only access to production logs without sharing account credentials. Using role-based access control (RBAC) and temporary scoped permissions — not a permanent shared password — is the correct pattern. Questions like this test whether you can apply least-privilege access across cloud identity services.
What to study next
Got this wrong? Here's your next step.
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
- →
ML Solution Monitoring, Maintenance, and Security — study guide chapter
Learn the concepts, then practise the questions
- →
ML Solution Monitoring, Maintenance, and Security practice questions
Targeted practice on this topic area only
- →
All MLA-C01 questions
1,000 questions across all exam domains
- →
AWS Certified Machine Learning Engineer Associate MLA-C01 study guide
Full concept coverage aligned to exam objectives
- →
MLA-C01 practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related MLA-C01 practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
ML Model Development practice questions
Practise MLA-C01 questions linked to ML Model Development.
Data Preparation for Machine Learning practice questions
Practise MLA-C01 questions linked to Data Preparation for Machine Learning.
Deployment and Orchestration of ML Workflows practice questions
Practise MLA-C01 questions linked to Deployment and Orchestration of ML Workflows.
ML Solution Monitoring, Maintenance, and Security practice questions
Practise MLA-C01 questions linked to ML Solution Monitoring, Maintenance, and Security.
ML Solution Monitoring, Maintenance and Security practice questions
Practise MLA-C01 questions linked to ML Solution Monitoring, Maintenance and Security.
MLA-C01 fundamentals practice questions
Practise MLA-C01 questions linked to MLA-C01 fundamentals.
MLA-C01 scenario practice questions
Practise MLA-C01 questions linked to MLA-C01 scenario.
MLA-C01 troubleshooting practice questions
Practise MLA-C01 questions linked to MLA-C01 troubleshooting.
Practice this exam
Start a free MLA-C01 practice session
Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.
FAQ
Questions learners often ask
What does this MLA-C01 question test?
ML Solution Monitoring, Maintenance, and Security — This question tests ML Solution Monitoring, Maintenance, and Security — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: Attach a resource-based policy to the SageMaker model in Account A allowing access from Account B's IAM role — Option A is correct because 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.
What should I do if I get this MLA-C01 question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Last reviewed: Jul 4, 2026
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.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.