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?

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



Leave a Reply 33

Your email address will not be published. Required fields are marked *


Xander

Xander

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…

joni

joni

what is the correct answer?

CastorTray

CastorTray

I’m also confused

an

an

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.

jo

jo

D – when we talk about Network we talk about cscfg

Samji

Samji

The correct answer is D.
Cloud Service configuration file (.csfg) can have networking configuration.

Jane

Jane

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.

fred

fred

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????

Steven Chong

Steven Chong

@ 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

Ultragc

Ultragc

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.

challenge

challenge

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

challenge

challenge

<VirtualNetworkSite name="”/>

<InstanceAddress roleName="”>

<Subnet name="”/>

robbierage

robbierage

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.

sothec

sothec

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.

cutedevil

cutedevil

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.

JsonKiller

JsonKiller

Yes its D

Chris

Chris

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

Kuppu

Kuppu

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

sumit

sumit

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

Taxcup Tony

Taxcup Tony

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

BentheBuilder

BentheBuilder

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