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?
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
+1 B
D imho
http://msdn.microsoft.com/en-us/library/azure/jj156091.aspx
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…
what is the correct answer?
D
I’m also confused
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.
D – when we talk about Network we talk about cscfg
The correct answer is D.
Cloud Service configuration file (.csfg) can have networking configuration.
Agreed.
From https://msdn.microsoft.com/en-us/library/azure/jj156091.aspx (NetworkConfiguration Schema)
The NetworkConfiguration element of the service configuration file specifies Virtual Network and DNS values.
VirtualNetworkSite
Optional. Specifies the name of the Virtual Network site in which you want deploy your cloud service.
From:
https://msdn.microsoft.com/en-us/library/azure/ee758710.aspx
<ServiceConfiguration serviceName="” osFamily=”” osVersion=”” schemaVersion=””>
…
…
D:
https://msdn.microsoft.com/en-us/library/azure/jj156091.aspx
The service defination file also keeps the Network schema defination so it should be B
https://msdn.microsoft.com/en-us/library/azure/jj156091.aspx
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????
Answer is D
https://outhereinthefield.wordpress.com/2014/05/23/adding-a-windows-azure-cloud-service-to-virtual-network/
Also see http://www.aiotestking.com/microsoft/you-need-to-be-able-to-deploy-fabweb-into-the-web-subnet/
same type of question and answer is CSCFG file
@ 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
The Definition file(.csdef) defines the network traffic rules (which roles can communicate to which endpoint on another role), see https://msdn.microsoft.com/en-us/library/azure/gg557551.aspx,
The configuration file(.cscfg) defines (existing) Virtualnetworksite(s), subnet(s), dnsserver(s), etc. see https://msdn.microsoft.com/en-us/library/azure/jj156091.aspx
Answer is D.
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.
Answer is D, (the service configuration file (.cscfg) for fabrikamReports) the virtual network is configured using the configuration file, see http://www.jamessturtevant.com/posts/the-differences-between-azure-service-configurationcscfg-and-azure-service-definitioncsdef-files/
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
<VirtualNetworkSite name="”/>
<InstanceAddress roleName="”>
<Subnet name="”/>
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.
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.
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.
Yes its D
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
This article gives a good example of joining a VM to a Virtual Network and points to the answer being D
http://blog.kloud.com.au/2013/06/02/connecting-cloud-services-with-virtual-machines-in-windows-azure/
Agree.
I found something similar here http://exam-test-ms-70-533.azurewebsites.net/
D.
the service configuration file (.cscfg) for fabrikamReports
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
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
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