PrepAway - Latest Free Exam Questions & Answers

Which three commands should you use?

You need to configure the virtual directories for the Exchange Server organization.
Which three commands should you use? Each correct answer presents part of the solution.

PrepAway - Latest Free Exam Questions & Answers

A.
Set-MapiVirtualDirectory-ExtemalUrl “https://offlce- online.contoso.com/hosting/discovery”

B.
Set-ActiveSyncVirtualDirectory -ExternalUrl “htlps://mail.contoso.com/Microsoft-Server- ActiveSync”

C.
Set-WebServicesVirtualDirectory -ExternalUrl “https://mail.contoso.com/ews/exchange.asmx”

D.
Set-AutodiscoverVirtualDirectory -ExternalUrl “https://autodiscover.contoso.com/autodiscover/
autodiscover.xmrE. Set-OwaVirtualDirectory -ExternalUrl “https://mail.contoso.com/owa”

4 Comments on “Which three commands should you use?

  1. Mariyan says:

    That’s wrong. The correct answer is A,B,C:

    On Exchange 2016 there is no parameter -ExternalURL for Set-AutoDiscoverVirtualDirectory
    https://technet.microsoft.com/en-us/library/aa998601(v=exchg.160).aspx

    For Exchange 2016 you configure AutoDiscoverURL only for Internal via:
    Set-ClientAccessService -AutoDiscoverServiceInternalUri
    (there is not External Uri as it will use other method for discovery)

    Yet the Mapi URL is a bit wrong as the url should look like https://office-online.contoso.com/mapi, but I guess it can be changed




    0



    0
    1. dskyo says:

      I believe the correct answer is B, C, and E. Set-OwaVirtualDirectory -ExternalUrl “https://mail.contoso.com/owa”

      A is not correct, you would normally want to configure the mapi virtual directory as well, but in our case, the namespace is wrong, not only it has a different namespace than what is alredy configured, but it also missing the /mapi at the end. It should be https://mail.contoso.com/mapi

      D is not correct because you don’t configure autodiscover like that. The values you set with Set-AutodiscoverVirtualDirectory are IGNORED by Exchange. You configure Autodiscover by using Set-ClientAccessService -AutodiscoverInternalURI https://autodiscover.contoso.com/Autodiscover/Autodiscover.xml




      2



      0
      1. Mariyan says:

        dksyo is actually correct! The question is written with a mistake. There is option E (stuck next to D) which is correct – Set-OwaVirtualDirectory -ExternalUrl “https://mail.contoso.com/owa”

        So with the wrong configuration of A gets us to the correct answers: B, C & E

        (if they were marked as 5 and not 4 the answer would have been marked correctly, it just marks 2 answers as 1)




        0



        0

Leave a Reply