You manage a cloud service that has a web role named fabWeb. You create a virtual
network named fabVNet that has two subnets defined as Web and Apps.
You need to be able to deploy fabWeb into the Web subnet.
What should you do?
A.
Modify the service definition (csdef) for the cloud service.
B.
Run the Set-AzureSubnet PowerShell cmdlet.
C.
Run the Set-AzureVNetConfig PowerShell cmdlet.
D.
Modify the network configuration file.
E.
Modify the service configuration (cscfg) for the fabWeb web role.
Answer is: B
http://msdn.microsoft.com/en-us/library/azure/dn495213.aspx
That is for a VM, not for webrole.
No it should be D. Refer to NetworkConfiguration Schema of the cscfg file
http://msdn.microsoft.com/en-us/library/azure/jj156091.aspx
changing subnet of a Web role is to be done by cscfg file
http://msdn.microsoft.com/en-us/library/azure/dn643636.aspx
I think it is correct (E)
My apologies. Answer is: E. Thanks !
Answer id E
http://blog.vbmagic.net/2014/03/31/connecting-an-azure-web-role-to-an-existing-virtual-network-connected-to-company-wan/
“E”
ServiceConfiguration.cscfg file. (you add VirtualNetworkSite + SubNets sections)
https://outhereinthefield.wordpress.com/2014/05/23/adding-a-windows-azure-cloud-service-to-virtual-network/
Answer is E
https://outhereinthefield.wordpress.com/2014/05/23/adding-a-windows-azure-cloud-service-to-virtual-network/
Refer Pg 186 of MS Exam Ref 70-533
To deploy a cloud service into the Apps subnet in the virtual network, you need to add a
element to the cloud service configuration file with settings identify-
ing the Apps subnet in the virtual network
When the cloud service with this configuration is deployed, Azure will identify the network
configuration and provision the virtual machine instances in the Apps subnet.
To move a role to a subnet:
https://azure.microsoft.com/en-in/documentation/articles/virtual-networks-move-vm-role-to-subnet/
So correct answer is E
However, the link from Antonello states, “Because the role instance was already deployed, you’ll just change the Subnet name = Subnet-2.”
I don’t think it changes the solution, but something to ponder about.