CLF-C02 Security and Compliance Practice Question
A company has multiple IAM users. The security policy requires that every user must have an MFA device assigned and must use it for console sign-in. The security team wants to automatically detect any IAM user that does not have MFA enabled and receive an email alert. Which combination of AWS services should the team use to meet these requirements?
⚠ Common exam trap
Many candidates confuse AWS Trusted Advisor's root account MFA check with IAM user MFA enforcement, or assume CloudTrail can detect configuration state rather than just API events.
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
✓
AWS Config and Amazon Simple Notification Service (Amazon SNS)
AWS Config can continuously monitor IAM users for compliance with the security policy by using a managed rule such as IAM_USER_MFA_ENABLED. When a non-compliant user is detected, AWS Config can trigger an Amazon SNS topic to send an email alert, meeting the requirement for automatic detection and notification.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
AWS CloudTrail and Amazon CloudWatch Logs
Why it's wrong here
AWS CloudTrail records API activity and user sign-in events, but it does not evaluate whether IAM users have MFA enabled against a desired compliance state. Amazon CloudWatch Logs simply ingests and stores log data, providing no built-in logic to assess IAM user MFA configuration. While you could build custom queries in CloudWatch Logs Insights to search for Login events lacking MFA, that requires manual infrastructure and does not provide continuous, automated compliance assessment. AWS Config, by contrast, natively evaluates IAM users against managed rules such as iam-user-mfa-enabled and can trigger an SNS notification automatically.
When this WOULD be correct
If the requirement were to detect unauthorized API calls (e.g., failed MFA sign-in attempts) and alert via email, CloudTrail could send logs to CloudWatch Logs, which triggers a metric filter and alarm to notify via SNS.
- ✗
AWS Trusted Advisor and Amazon Simple Email Service (Amazon SES)
Why it's wrong here
AWS Trusted Advisor checks for MFA on the root account only, not on all IAM users. Amazon SES is an email sending service but would require custom logic to detect non-compliance; it is not integrated with Trusted Advisor for automated remediation workflows.
When this WOULD be correct
A question where the requirement is to detect and alert on AWS account-level security best practices, such as root account MFA, security groups with open ports, or S3 bucket permissions, and the email alert is sent via Amazon SES.
- ✓
AWS Config and Amazon Simple Notification Service (Amazon SNS)
Why this is correct
AWS Config can evaluate IAM users against the managed rule 'iam-user-mfa-enabled'. When a user is non-compliant, Config can publish a compliance change notification to an Amazon SNS topic. Subscribers (e.g., email endpoints) receive alerts automatically.
- ✗
AWS IAM Access Analyzer and Amazon Inspector
Why it's wrong here
AWS IAM Access Analyzer analyzes resource-based policies to identify unintended public or cross-account access, but it does not check IAM user MFA status. Amazon Inspector is a vulnerability assessment service for EC2 instances and container images, not for IAM user compliance.
When this WOULD be correct
A question requiring detection of unintended external access to IAM roles or S3 buckets, with automated email alerts when findings are generated. For example: 'A security team needs to be notified when an IAM role policy allows access from an external AWS account. Which services should they use?'
Option-by-option analysis
Why each answer is right or wrong
Understanding why wrong answers are wrong — and when they would be correct — is what separates a 750 score from a 900. The CLF-C02 exam frequently reuses these exact scenarios with slightly different constraints.
✓AWS Config and Amazon Simple Notification Service (Amazon SNS)Correct answer▾
Why this is correct
AWS Config can evaluate IAM users against the managed rule 'iam-user-mfa-enabled'. When a user is non-compliant, Config can publish a compliance change notification to an Amazon SNS topic. Subscribers (e.g., email endpoints) receive alerts automatically.
✗AWS CloudTrail and Amazon CloudWatch LogsWrong answer — click to see why▾
Why this is wrong here
CloudTrail logs API activity but does not evaluate IAM user MFA status, and CloudWatch Logs alone cannot trigger email alerts based on custom compliance checks without additional services like Lambda or Config rules.
★ When this WOULD be the correct answer
If the requirement were to detect unauthorized API calls (e.g., failed MFA sign-in attempts) and alert via email, CloudTrail could send logs to CloudWatch Logs, which triggers a metric filter and alarm to notify via SNS.
Why candidates choose this
Candidates may think CloudTrail can monitor user configurations and CloudWatch Logs can send alerts, but they overlook that CloudTrail tracks actions, not resource compliance, and CloudWatch Logs requires custom metric filters for alerting.
✗AWS Trusted Advisor and Amazon Simple Email Service (Amazon SES)Wrong answer — click to see why▾
Why this is wrong here
AWS Trusted Advisor can check for MFA on root accounts but not on individual IAM users, and Amazon SES is for sending emails but not integrated with Trusted Advisor for automated alerts based on IAM user MFA status.
★ When this WOULD be the correct answer
A question where the requirement is to detect and alert on AWS account-level security best practices, such as root account MFA, security groups with open ports, or S3 bucket permissions, and the email alert is sent via Amazon SES.
Why candidates choose this
Candidates may think Trusted Advisor covers all MFA checks and SES is a common email service, overlooking that Trusted Advisor does not evaluate IAM user MFA and SES requires custom integration for automated alerts.
✗AWS IAM Access Analyzer and Amazon InspectorWrong answer — click to see why▾
Why this is wrong here
AWS IAM Access Analyzer analyzes resource policies for external access, and Amazon Inspector assesses workload vulnerabilities; neither service monitors IAM user MFA status or sends alerts for non-compliance.
★ When this WOULD be the correct answer
A question requiring detection of unintended external access to IAM roles or S3 buckets, with automated email alerts when findings are generated. For example: 'A security team needs to be notified when an IAM role policy allows access from an external AWS account. Which services should they use?'
Why candidates choose this
Candidates may associate 'Access Analyzer' with IAM security and 'Inspector' with compliance scanning, incorrectly assuming they can detect MFA status, or they may confuse 'analyzer' with 'auditing' capabilities.
Analysis generated from the official CLF-C02blueprint and verified against question context. The “when correct” sections are what AI assistants cite when candidates ask “what’s the difference between these options?”
Go deeper
Related to this question
About these practice questions
This CLF-C02 question is part of Courseiva's 988-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 CLF-C02 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 CLF-C02 exam.