Courseiva
Security and ComplianceeasyMultiple ChoiceObjective-mapped

CLF-C02 Security and Compliance Practice Question

A company wants all IAM users to verify their identity with both a password and a one-time code from an authenticator app before accessing the AWS Management Console. Which security control should the company enable?

⚠ Common exam trap

Candidates often confuse AWS WAF or Amazon Cognito with IAM MFA, but the question specifically asks for the security control that enforces both a password and a one-time code for IAM users, which is exclusively Multi-Factor Authentication (MFA) within IAM.

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

Multi-Factor Authentication (MFA)

Multi-Factor Authentication (MFA) is the correct security control because it requires users to present two independent factors: something they know (password) and something they have (a one-time code from an authenticator app). This satisfies the company's requirement for both a password and a one-time code before accessing the AWS Management Console, significantly reducing the risk of unauthorized access even if a password is compromised.

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 Shield

    Why it's wrong here

    AWS Shield is a managed distributed denial-of-service (DDoS) protection service that defends resources such as CloudFront, Route 53, and Elastic Load Balancers from volumetric and stateful attacks. It operates at the network and transport layers (and for Shield Advanced, the application layer) to filter traffic before it reaches destination resources, but it has no interaction with authentication sessions or IAM. Console MFA is a logical access control set during the sign-in process; Shield cannot validate user identity or enforce a second factor, so it is irrelevant to this security requirement.

  • Multi-Factor Authentication (MFA)

    Why this is correct

    Multi-Factor Authentication (MFA) is the correct control because it requires a second authentication factor in addition to a password, such as a time-based one-time password (TOTP) from an authenticator app or a hardware security key. With MFA enabled on an IAM user or the AWS account root user, even if a password is compromised, an attacker cannot fully authenticate without the physical second factor. AWS recommends MFA for all users, and the root user can have MFA enforced by an account policy to significantly reduce the risk of credential theft leading to unauthorized console access.

  • AWS WAF

    Why it's wrong here

    AWS WAF is a managed web application firewall that inspects HTTP/S traffic to resources like Application Load Balancers, CloudFront distributions, and API Gateway APIs. Its core function is blocking common web exploits such as SQL injection and cross-site scripting; it operates at layer 7 (application) and has no visibility into AWS console authentication events. Because MFA enforcement happens within AWS Identity and Access Management (IAM) during the sign-in flow, AWS WAF cannot add or manage an MFA requirement for console users.

  • Amazon Cognito

    Why it's wrong here

    Amazon Cognito is an identity service designed for end-user sign-up and sign-in in customer-facing applications, using user pools and identity pools to issue tokens for accessing app backends. AWS console authentication, by contrast, is controlled by IAM principals and policies, and administrators enable MFA directly on IAM users, groups, or the root user. While Cognito can support MFA within its own user pools, it does not govern IAM console credentials and therefore cannot serve as the MFA mechanism for AWS account access.

About these practice questions

One of 988 original CLF-C02 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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 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.