PrepAway - Latest Free Exam Questions & Answers

Which configuration should you use?

DRAG DROP
You plan to deploy a cloud service named contosoapp that has a web role named
contosoweb and a worker role named contosoimagepurge.
You need to ensure the service meets the following requirements:
+ Contosoweb can be accessed over the Internet by using http.
+ Contosoimagepurge can only be accessed through tcp port 5001 from contosoweb.
+ Contosoimagepurge cannot be accessed directly over the Internet.

Which configuration should you use? To answer, drag the appropriate configuration setting
to the correct location in the service configuration file. Each configuration setting may be
used once, more than once, or not at all. You may need to drag the split bar between panes
or scroll to view content.

PrepAway - Latest Free Exam Questions & Answers

Answer:

Explanation:

12 Comments on “Which configuration should you use?

  1. BX says:

    Looks like the comment system does not like left angle bracket

    Try again

    The first block
    InputEndpoint name=”Endpoint1″ protocol=”http” port=”80″ />

    The second block
    InputEndpoint name=”Endpoint1″ protocol=”tcp” port=”5001″ />

    The last block
    NetworkTrafficRules> !– already in the question —
    OnlyAllowTrafficTo> !– already in the question —

    Destinations>
    RoleEndpoint endpointName=”Endpoint1″ roleName=”contosoimagepurge”/>
    /Destinations>
    WhenSource matches=”AnyRule”>
    FromRole roleName=”contosoweb”/>
    /WhenSource>




    0



    0
      1. challenge says:

        However even the ANSWERS given for the question seem wrong to me – how can you have two endpoints with the same name “Endpoint1” that reference different ports?

        I think this: InputEndpoint name=”Endpoint1″ protocol=”tcp” port=”5001″

        actually should be: InternalEndpoint name=”InternalEndpoint1″ protocol=”tcp” port=”5001″

        and.. then

        RoleEndpoint endpointName=”InternalEndpoint1″ roleName=”contosoimagepurge”/>
        /Destinations>
        WhenSource matches=”AnyRule”>
        FromRole roleName=”contosoweb”/>

        see:

        http://www.codeproject.com/Articles/331391/Azure-Role-Endpoints-and-Network-Traffic-Rules




        0



        0

Leave a Reply