Microsoft 365 Administrator Expert MS-102 Practice Question
Your company has a single-forest on-premises Active Directory that is synchronized with Microsoft Entra ID. You have deployed the Microsoft Entra Password Protection proxy service on two member servers and installed the DC agent on all domain controllers. Security administrators want to run the solution in a proof-of-concept phase that only logs events each time a password would be rejected, but must not block any user password changes yet. Which PowerShell command should you run to configure the domain controllers for this requirement?
Microsoft Entra Password Protection supports two operating modes for on-premises domain controllers: Audit and Enforce. In Audit mode the DC agent evaluates every password change against the global and custom banned password lists, writes the relevant event IDs to the local Security log and to Azure AD Password Protection reports, but still allows the password to be set. The cmdlet that toggles this behavior per Active Directory domain is Set-AzureADPasswordProtectionDomainMode. Running the cmdlet with the -Mode Audit parameter places the entire domain in audit-only operation, satisfying the requirement. Register-AzureADPasswordProtectionForest is used only for the initial forest registration and has no mode switch. Set-AzureADPasswordProtectionTenantBaselinePolicy applies cloud-only policies and cannot put on-premises DC agents into Audit. Set-ADDefaultDomainPasswordPolicy is an Active Directory cmdlet unrelated to Microsoft Entra Password Protection modes.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is the Microsoft Entra Password Protection proxy service?
Open an interactive chat with Bash
What is the difference between Audit mode and Enforce mode in Microsoft Entra Password Protection?
Open an interactive chat with Bash
Why is the Set-AzureADPasswordProtectionDomainMode cmdlet used in this scenario?
Open an interactive chat with Bash
Microsoft 365 Administrator Expert MS-102
Implement and manage Microsoft Entra identity and access
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .