easyMultiple ChoiceObjective-mapped
AIF-C01 Practice Question: A data scientist sets up a Model Monitoring…
Exhibit
Refer to the exhibit.
[Amazon SageMaker Model Monitor Schedule]
{
"MonitoringScheduleName": "fraud-detection-monitor",
"MonitoringType": "DataQuality",
"MonitoringScheduleConfig": {
"ScheduleExpression": "cron(0 * * * ? *)",
"MonitoringJobDefinition": {
"MonitoringInputs": [
{
"EndpointInput": {
"EndpointName": "fraud-detection-endpoint",
"LocalPath": "/opt/ml/processing/input/endpoint"
}
}
],
"MonitoringOutputConfig": {
"MonitoringOutputs": [
{
"S3Output": {
"S3Uri": "s3://monitoring-bucket/output",
"LocalPath": "/opt/ml/processing/output"
}
}
]
},
"MonitoringResources": {
"ClusterConfig": {
"InstanceCount": 1,
"InstanceType": "ml.m5.xlarge",
"VolumeSizeInGB": 20
}
},
"RoleArn": "arn:aws:iam::123456789012:role/SageMakerMonitoringRole"
}
}
}A data scientist sets up a Model Monitoring schedule for data quality. What is a potential security issue with this configuration?
⚠ Common exam trap
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.
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
✓
The monitoring job uses a single role for both training and monitoring, violating least privilege
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.
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.
- ✗
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.
Quick reference
AAA Protocol Comparison
| Protocol | Port(s) | Encryption | Transport | Primary Use |
|---|---|---|---|---|
| RADIUS | 1812 / 1813 | Password only | UDP | Network access control |
| TACACS+ | 49 | Full packet | TCP | Device administration |
| Diameter | 3868 | Full session | TCP / SCTP | Carrier / mobile networks |
| 802.1X | — | EAP-based | Layer 2 | Port-based access control |
TACACS+ encrypts the entire packet; RADIUS only encrypts the password field — a key exam distinction.
Go deeper
Related to this question
About these practice questions
This AIF-C01 question is part of Courseiva's 619-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 →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
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.