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.
this is so tiny i can hardly see what’s written… i guess dats a minus one for me
<ServiceDefinition name= “contosoapp”
is this correct?
I also don’t know papa!
The first block
The second block
The last block
Try again
The first block
The second block
The last block
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>
Agree
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
InternalEndpoint is correct for contosoimagepurge.
Contosoimagepurge can only be accessed through tcp port 5001 from *contosoweb*
contosoweb is an internal role and hence InternalEndpoint should be used.
“An internal endpoint is available only to other role instances running within the service; it is not available to clients outside the service.”
https://msdn.microsoft.com/en-us/library/azure/gg557552.aspx#InternalEndpoint
I’m for
1:
2:
3:
WhenSource matches=”AnyRule”>
FromRole roleName=”contosoweb”/>
On #2, i guess, is a transfer mistake.
https://azure.microsoft.com/en-us/documentation/articles/cloud-services-enable-communication-role-instances/
http://www.exam-labs.com/static/img/exams/Microsoft-70-533-8.0/Microsoft-70-533-11_2.png
this one might help