Microsoft Exam Questions

Which command should you run?

HOTSPOT
You have an Exchange Server 2013 organization that contains two distribution groups named Groupl
and Group2.
You need to prevent the members of Groupl and Group2 from communicating with each other by
using email, unless the email messages contain the string Press Release in the subject. Users whose
email messages are rejected must receive a non-delivery report (NDR) that contains a status code of
5.7.3.
Which command should you run? (To answer, configure the appropriate options in the answer area.)

Answer:

Explanation:

Box 1: New-TransportRule
Box 2: SmtpRejectMessageRejectStatusCode
Note:
*Box 1
/ Use the New-TransportRule cmdlet to create a transport rule in your organization.
/ Example:
New-TransportRule “BlockMessagesBetweenSalesAndBrokerage” -BetweenMemberOf1 “SalesGroup” -BetweenMemeberOf2 “Brokerage-Group” -ExceptIfFrom “Tony Smith”,”Pilar Ackerman” –
ExceptIfSubjectContainsWords “Press Release”,”Corporate Communication” –
RejectMessageEnhancedStatusCode “5.7.1” -RejectMessageReasonText “Email messages sent
between the Sales department and the Brokerage department are prohibited.”
* Box 2:
The SmtpRejectMessageRejectText parameter specifies a text string to add to the rejection message.
You must use this parameter with the SmtpRejectMessageRejectStatusCodeparameter.
Incorrect:
* Use the New-DlpPolicy cmdlet to create data loss prevention (DLP) policies in your Exchange
organization.
* No parameter -ClassificationID