Securing Windows Server 2016 — Question 174
You have a server named Server1.
You need to configure Windows Defender to perform a full scan every day at 21:00.
What should you do?
Answer options
- A. From Control Panel, configure the Security and Maintenance settings
- B. Run the Set-ScheduledJob cmdlet
- C. From the Setting app, modify the Windows Defender settings
- D. Run the Set-MpPreference cmdlet
Correct answer: D
Explanation
The correct answer is D because the Set-MpPreference cmdlet is specifically designed to configure Windows Defender settings, including scheduling scans. Options A and C do not provide the necessary command-line capabilities to schedule a scan, and B is incorrect as the Set-ScheduledJob cmdlet is not related to Windows Defender configurations.