PrepAway - Latest Free Exam Questions & Answers

Which file should you modify?

You manage a cloud service named fabrikam Reports that is deployed in an Azure data
center.
You deploy a virtual machine (VM) named fabrikamSQL into a virtual network named
fabrikamVNet.

FabrikamReports must communicate with fabrikamSQL.
You need to add fabrikam Reports to fabrikamVNet.
Which file should you modify?

PrepAway - Latest Free Exam Questions & Answers

A.
the network configuration file for fabrikamVNet

B.
the service definition file (.csdef) for fabnkamReports

C.
the service definition file (.csdef) for fabrikamSQL

D.
the service configuration file (.cscfg) for fabrikamReports

E.
the service configuration file (.cscfg) fabrikamSQL

Explanation:
http://msdn.microsoft.com/en-us/library/azure/ee758711.aspx

34 Comments on “Which file should you modify?

  1. Xander says:

    B – fabrikamReports is a Cloud Service – you can open up an endpoint on Cloud Service and this is done in the csdef.
    D – if you wanted to put the fabrikamReports CS into the same Vnet as sql VM -> fabrikamVNet you have to edit NetworkConfig is in cscfg file.
    Quoting:
    https://convective.wordpress.com/2012/08/26/windows-azure-cloud-services-and-virtual-networks/
    …A PaaS cloud service is added to a virtual network by adding a NetworkConfigurationsection to its Service Configuration file…




    0



    0
  2. an says:

    The question clearly says “You need to add fabrikam Reports to fabrikamVNet.” which can be done only using NetworkConfiguration section of Service Configuration File. So Answer should be D.




    0



    0
  3. fred says:

    there are no cscfg or csdef files for a VNRT. So C and E are not correct

    one does not attach a VM to a VNET via the configuration file of the VNET. This eliminates A

    Attaching a service to a VNET is not something you can change dynamically, only by redeploying the service
    so this eliminate D

    the correct answer is B

    In fact one have just to try, how do you prepare your exam????




    0



    0
  4. Steven Chong says:

    @ David

    We have to use “Azure Service Definition Schema” = (.csdef file) in which to define the configuration of the Network Configuration for Microsoft Azure

    the correct answer is B 1




    0



    0
  5. Ultragc says:

    Answer is D. The .csdef file is part of the package. The .cscfg is where you define all the required objects like storage accounts, reservedIP, etc. and VNet is one of those. I know because I have been doing this for one of our CS apps.




    0



    0
  6. challenge says:

    I believe the answer is D as you need to add the Cloud Service to the VNET – but to do this you need to add the network config to the .csdef file first

    Add:

    <VirtualNetworkSite name="”/>

    <InstanceAddress roleName="”>

    <Subnet name="”/>

    To .csdef




    0



    0
  7. robbierage says:

    B)

    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.

    Not D)
    The service configuration file (.cscfg) specifies the number of role instances to deploy for each role in the service, the values of any configuration settings, and the thumbprints for any certificates associated with a role.




    0



    0
  8. sothec says:

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

    Answer is D:\.

    The service configuration file specifies the number of role instances to deploy for each role in the service, the values of any configuration settings, and the thumbprints for any certificates associated with a role. 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.




    0



    0
  9. cutedevil says:

    Answer is D

    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.




    0



    0
  10. Chris says:

    A few points here..
    From https://azure.microsoft.com/en-us/documentation/articles/cloud-services-model-and-package/
    “Once the cloud service is running in Azure, you can reconfigure it through the ServiceConfig.cscfg file, but you cannot alter the definition.”

    Schema for csdef:
    https://msdn.microsoft.com/library/azure/ee758711.aspx
    -LoadBalancerProbe Schema
    -WebRole Schema
    -WorkerRole Schema
    -NetworkTrafficRules Schema

    Schema for cscfg:
    https://msdn.microsoft.com/library/azure/ee758710.aspx
    -Role Schema
    -NetworkConfiguration Schema




    0



    0
  11. sumit says:

    The service configuration file specifies the number of role instances to deploy for each role in the service, the values of any configuration settings, and the thumbprints for any certificates associated with a role. 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.

    so the ans is D




    0



    0
  12. Taxcup Tony says:

    The service configuration file specifies the number of role instances to deploy for each role
    in the service, the values of any configuration settings, and the thumbprints for any
    certificates associated with a role. 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. http://www.taxcup.com




    0



    0
  13. BentheBuilder says:

    Question states that ‘you deploy a virtual machine named FabrikamSQL into vNet fabrikamVNet’ and that ‘you need to add fabrikamReports to fabrikamVNet’. Given these two pieces of information – the only answer is to edit the Service Config file (.cscfg) for fabrikamReports so that it resides on fabrikamVNet with the SQL Server.

    <ServiceConfiguration serviceName="” osFamily=”” osVersion=”” schemaVersion=””>

    <InstanceAddress roleName="”>

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




    0



    0

Leave a Reply