PrepAway - Latest Free Exam Questions & Answers

You need to be able to deploy fabWeb into the Web subnet

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?

PrepAway - Latest Free Exam Questions & Answers

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.

Explanation:
Azure Service Definition Schema (.csdef File)
The service definition file defines the service model for an application. The file contains the definitions for the
roles that are available to a cloud service, specifies the service endpoints, and establishes configuration
settings for the service.
https://blog.vbmagic.net/2014/03/31/connecting-an-azure-web-role-to-an-existing-virtual-networkconnected-to-company-wan/

6 Comments on “You need to be able to deploy fabWeb into the Web subnet

  1. Starlin says:

    The answer is E:

    ” If the service is part of a Virtual Network, configuration information for the network must be provided in the service configuration file, as well as in the virtual networking configuration file. The default extension for the service configuration file is .cscfg.”

    https://msdn.microsoft.com/en-us/library/azure/ee758710.aspx
    https://msdn.microsoft.com/en-us/library/azure/jj156091.aspx

    VirtualNetworkSite

    Optional. Specifies the name of the Virtual Network site in which you want deploy your cloud service. This setting does not create a Virtual Network Site. It references a site that has been previously defined in the network file for your Virtual Network. A cloud service can only be a member of one Virtual Network. If you do not specify this setting, the cloud service will not be deployed to a Virtual Network. The name of the Virtual Network site is defined by a string for the name attribute.




    0



    0
  2. ExamsRfun says:

    Don’t agree.. The Answer is correct.

    https://msdn.microsoft.com/en-us/library/azure/ee758710.aspx

    **If the service is part of a Virtual Network, configuration information for the network must be provided in the service configuration file, as well as in the virtual networking configuration file. The default extension for the service configuration file is .cscfg. **

    The CSCFG file handles the following schema:
    Role Schema
    NetworkConfiguration Schema <– Configure vNet/Subnets here

    The CSDEF file only handles the following schema:
    LoadBalancerProbe Schema
    WebRole Schema
    WorkerRole Schema
    NetworkTrafficRules Schema




    0



    0

Leave a Reply