The answer is that using a single IAM role for both training and monitoring violates least privilege in SageMaker Model Monitoring. This is a security issue because the training role typically has broad permissions—like full SageMaker access and read-write to training datasets—while the monitoring role only needs read-only access to the endpoint and write access to the monitoring output location. Sharing the same role creates an unnecessary blast radius; if the monitoring job is compromised, an attacker could leverage the elevated training permissions to modify or exfiltrate data. On the AWS Certified AI Practitioner AIF-C01 exam, this tests your understanding of IAM role separation as a core security best practice, often appearing as a trap where candidates focus on data quality metrics instead of permissions. A common memory tip: “Train broad, monitor narrow—never share the role that carries the load.”
AIF-C01 Practice Question: Security, Compliance and Governance for AI Solutions
This AIF-C01 practice question tests your understanding of security, compliance and governance for ai solutions. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. 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.
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
The monitoring job uses a single role for both training and monitoring, violating least privilege
Option A is correct because using a single AWS Identity and Access Management (IAM) role for both the training job and the monitoring job violates the principle of least privilege. The training role typically requires broader permissions (e.g., access to training datasets, SageMaker full access), while the monitoring role only needs read-only access to the endpoint and write access to the monitoring output location. Sharing a single role increases the blast radius if the monitoring job is compromised, as an attacker could leverage the elevated training permissions to modify or exfiltrate data.
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.
✓
The monitoring job uses a single role for both training and monitoring, violating least privilege
Why this is correct
Best practice is to have separate roles for different tasks to limit permissions.
Related concept
Read the scenario before looking for a memorised answer.
✗
The schedule runs every hour, which may generate too many logs
Why it's wrong here
Frequency is not a security issue.
✗
The monitoring job uses the same endpoint as the production model
Why it's wrong here
This is normal; it does not pose a security issue.
✗
The output is stored in an S3 bucket with no encryption
Why it's wrong here
Encryption is not mentioned but can be added; not explicitly a security issue here.
Common exam traps
Common exam trap: answer the scenario, not the keyword
AWS often tests the principle of least privilege by presenting a seemingly harmless configuration (like a shared role) and distracting candidates with operational or encryption concerns that are less directly tied to the security of the monitoring schedule itself.
Detailed technical explanation
How to think about this question
In Amazon SageMaker Model Monitoring, the monitoring schedule runs as a SageMaker Processing job that assumes an IAM role. If that role is the same as the training role, it may include permissions like `sagemaker:CreateTrainingJob` or `s3:PutObject` on training data buckets, which are unnecessary for monitoring. The principle of least privilege dictates that each component should have only the permissions required for its function. A real-world scenario is a compromised monitoring job that uses the training role to launch a malicious training job or access sensitive training data, leading to data exfiltration.
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 media company stores terabytes of video archives that are accessed once a year for audit purposes. Moving these objects to a cold storage tier (Azure Archive, S3 Glacier, or Google Nearline) costs a fraction of hot storage. Questions like this test whether you understand storage tiers, access frequency tradeoffs, and retrieval latency requirements.
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.
Security, Compliance and Governance for AI Solutions — This question tests Security, Compliance and Governance for AI Solutions — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: The monitoring job uses a single role for both training and monitoring, violating least privilege — Option A is correct because using a single AWS Identity and Access Management (IAM) role for both the training job and the monitoring job violates the principle of least privilege. The training role typically requires broader permissions (e.g., access to training datasets, SageMaker full access), while the monitoring role only needs read-only access to the endpoint and write access to the monitoring output location. Sharing a single role increases the blast radius if the monitoring job is compromised, as an attacker could leverage the elevated training permissions to modify or exfiltrate data.
What should I do if I get this AIF-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 →
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.
This AIF-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 AIF-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.