You manage a cloud service named fabrikamReports 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?
A.
the network configuration file for fabrikamVNet
B.
the service definition file (.csdef) for fabrikamReports
C.
the service definition file (.csdef) for fabrikamSQL
D.
the service configuration file (.cscfg) for fabrikamReports
E.
the service configuration file (.cscfg) fabrikamSQL
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.
Incorrect:
not D, not E: 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.Azure Service Definition Schema (.csdef File)
http://msdn.microsoft.com/en-us/library/azure/ee758711.aspx
Is D , need to change the Network configuration of Fabrikam Reports , thus use the configuration file xxx.cscfg
Csdef — https://msdn.microsoft.com/en-us/library/azure/ee758711.aspx
Cscfg — https://msdn.microsoft.com/en-us/library/azure/ee758710.aspx
We are adding a new network (fabrikamVNet) into the service (fabrikamReports). The question has it back to front (“You need to add fabrikam Reports to fabrikamVNet”) but in essence it is the Service configuration file that needs to change.
From the link posted by to easy for the Cscfg spec:
” 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 Csdef file only has network rules defined (from the Csdef link):
“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.
…
The service definition also contains the optional NetworkTrafficRules element which restricts which roles can communicate to specified internal endpoints.”
B does seem the most correct answer.
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. http://www.taxcup.com