Question 36 — AB-650 Practice Exam 1
Defender for Office 365 Safe Attachments is enabled for SharePoint, OneDrive, and Microsoft Teams. Administrators want to prevent users from downloading files that have already been identified as malicious while preserving the ability to delete those files. What should an administrator do after connecting to SharePoint Online PowerShell with an appropriate administrative account? (Select one answer)
Disable the global Defender for Office 365 collaboration setting after malicious files are detected.
Change the Safe Links policy so that flagged collaboration files cannot be downloaded.
Configure a custom anti-malware policy to reject collaboration files instead of quarantining them.
Run
Set-SPOTenant -DisallowInfectedFileDownload $true.
Correct answers
Run
Set-SPOTenant -DisallowInfectedFileDownload $true.
Explanations
Correct:
Run Set-SPOTenant -DisallowInfectedFileDownload $true.
This SharePoint Online PowerShell setting prevents local downloads of files already identified as malicious. The configuration applies across the tenant, while users retain the ability to delete flagged files.
Wrong:
Disable the global Defender for Office 365 collaboration setting after malicious files are detected.
Disabling collaboration protection would remove the scanning capability rather than close the local-download path for files that Defender identifies as malicious.
Change the Safe Links policy so that flagged collaboration files cannot be downloaded.
Safe Links governs link protection and does not provide the tenant control that blocks local downloads of files already marked as malicious.
Configure a custom anti-malware policy to reject collaboration files instead of quarantining them.
Custom anti-malware policies operate on email attachments and mail flow. They do not control local downloads of malicious files stored in SharePoint, OneDrive, or Teams.