PrepAway - Latest Free Exam Questions & Answers

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.)

PrepAway - Latest Free Exam Questions & Answers

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

5 Comments on “Which command should you run?

    1. rma says:

      Actually, according to your link the “rejectMessageEnhancedStatusCode” will delete the message and NOT send and NDR. The question states that an NDR must be sent. The given answer appears to be correct.




      0



      0
    2. Steven says:

      No, RejectMessageEnhancedStatusCode is incorrect, because Technet has written it black and white that:

      https://technet.microsoft.com/en-us/library/bb123534%28v=exchg.150%29.aspx

      The RejectMessageEnhancedStatusCode parameter specifies an enhanced status code to provide when rejecting messages. Valid values are 5.7.1 or between 5.7.10 and 5.7.999.

      5.7.3 does NOT equate to 5.7.1.
      5.7.3 does NOT fall between 5.7.10 and 5.7.999

      Unless Technet’s information itself is incorrect or Microsoft wants to slap their own face.




      0



      0
  1. Hammer says:

    Correct answer is:
    New-TransportRule -RejectMessageEnhancedStatusCode

    https://technet.microsoft.com/en-us/library/Bb125138(v=EXCHG.150).aspx
    This is the only example:
    The following action will be applied to any messages that match the “Between distribution list and distribution list” condition, but doesn’t match the “with text patterns in the subject” or “from people” exceptions:

    New-TransportRule “BlockMessagesBetweenSalesAndBrokerage” -BetweenMemberOf1 “Sales-Group” -BetweenMemberOf2 “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.”

    Now Steven is correct in that the value of the error code doesn’t fall into the acceptable value range, but I think this is a typo.




    0



    0

Leave a Reply