MS-101 Exam QuestionsBrowse all questions from this exam

MS-101 Exam - Question 272


You have a Microsoft 365 subscription.

You plan to connect to Microsoft Exchange Online PowerShell and run the following cmdlets:

✑ Search-MailboxAuditLog

✑ Test-ClientAccessRule

✑ Set-GroupMailbox

Get-Mailbox -

Exam MS-101 Question 272

Which cmdlet will generate an entry in the Microsoft Office 365 audit log?

Show Answer
Correct Answer: C

Cmdlets that begin with the verbs Get-, Search-, or Test- are typically not logged in the Microsoft Office 365 audit log. In contrast, the Set-GroupMailbox cmdlet, which starts with the verb 'Set-', involves making changes to the configuration and therefore generates an entry in the audit log. This logging helps to track changes made by administrators for compliance and auditing purposes.

Discussion

4 comments
Sign in to comment
Nunununu
Apr 24, 2021

Cmdlets that begin with the verbs Get-, Search-, or Test- are not logged in the audit log. https://docs.microsoft.com/en-us/microsoft-365/compliance/search-the-audit-log-in-security-and-compliance?view=o365-worldwide#exchange-admin-audit-log

Jake1
May 18, 2021

Answer is correct. Only Set- <something> will be logged because it is not a verb as Nunununu stated.

Tonysurge
Jul 22, 2021

Exchange administrator audit logging (which is enabled by default in Office 365) logs an event in the audit log when an administrator (or a user who has been assigned administrative permissions) makes a change in your Exchange Online organization. Changes made by using the Exchange admin center or by running a cmdlet in Exchange Online PowerShell are logged in the Exchange admin audit log. Cmdlets that begin with the verbs Get-, Search-, or Test- are not logged in the audit log. The answer is "C" Set - ...

engrdeji
Apr 23, 2021

Search-mailboxauditlog