Home
31.
To configure network traffic rules between role instances of a cloud service, which XML element must you use to define the rules in the cloud service definition file?
  • A.
    <ServiceDefinition>
  • B.
    <NetworkTrafficRules>
  • C.
    <InternalEndpoint>
  • D.
    <InputEndpoint>
  • Answer & Explanation
  • Report
Answer : [B]
Explanation :
A. Incorrect: The <ServiceDefinition> element is the root element in the cloud service definition file. However, it is not the XML element that defines network traffic rules.
B. Correct: The <NetworkTrafficRules> element is used to define communication patterns between roles.
C. Incorrect: The <InternalEndpoint> element is used to define an internal endpoint within a <WebRole> or <WorkerRole> element.
D. Incorrect: The <InputEndpoint> element is used to define an external input endpoint within a <WebRole> or <WorkerRole> element.
Report
Name Email  
32.
You need to deploy a new cloud service to Azure using the management portal. Which two files do you need to deploy the cloud service?
  • A.
    Cloud service package (.cspkg)
  • B.
    Cloud service definition (.csdef)
  • C.
    Web.config
  • D.
    Cloud service configuration file (.cscfg)
  • Answer & Explanation
  • Report
Answer : [A, D]
Explanation :
A. Correct: The cloud service package file (.cspkg) contains the roles that make up the cloud service.
B. Incorrect: The cloud service definition file (.csdef) is used during the development of the cloud service to define the roles, virtual machine sizes, endpoints and other settings for the role.
C. Incorrect: The Web.config file is a configuration file used by a web role or worker role. It is included as part of the cloud service package for each role in the cloud service.
D. Correct: The cloud service configuration file (.cscfg) contains the configuration for the cloud service.
Report
Name Email  
33.
You need to create a Service Bus namespace to support queues and topics. Which type of namespace do you need to create? (Choose all that apply).
  • A.
    Notification Hub
  • B.
    Messaging
  • C.
    Relay
  • D.
    Mixed
  • Answer & Explanation
  • Report
Answer : [B, D]
Explanation :
A. Incorrect: The Notification Hub Service Bus namespace supports Notification Hubs.
B. Correct: The Messaging Service Bus support queues, topics, and relays.
C. Incorrect: Relay is not a Service Bus type. However, it is a messaging pattern that is supported by the Messaging and Mixed Service Bus type.
D. Correct: The Mixed Service Bus supports queues, topics, relays, and Notification Hubs.
Report
Name Email  
34.
You need to monitor the queue depth of a Service Bus queue. Which metric can you add to the graph on the Dashboard page for the queue to monitor queue depth?
  • A.
    Incoming Messages
  • B.
    Length
  • C.
    Total Requests
  • D.
    Size
  • Answer & Explanation
  • Report
Answer : [B]
Explanation :
A. Incorrect: The incoming messages metric indicates the rate at which message are being added to the queue.
B. Correct: The length metric indicates how many messages are in the queue.
C. Incorrect: The total requests metric indicates the number of requests to retrieve messages from the queue.
D. Incorrect: The size metric indicates the total size of all the messages in the queue.
Report
Name Email  
35.
You need to collect IIS HTTP logs for a web role. Which file will you use to configure diagnostics data?
  • A.
    Cloud service configuration file
  • B.
    Cloud service definition file
  • C.
    Web.config
  • D.
    Diagnostics.wadcfg
  • Answer & Explanation
  • Report
Answer : [D]
Explanation :
A. Incorrect: The cloud service configuration file does not contain configuration data. It is used to configure things such as the role instance count for roles, osFamily, and osVersion.
B. Incorrect: The cloud service definition file defines the service model for the cloud service.
C. Incorrect: The Web.config file may have some diagnostics settings specific to the application, but it won’t have the configuration needed to collect IIS logs for all the role instances for the role.
D. Correct: The Diagnostics.wadcfg contains the necessary configuration settings to capture IIS logs for all role instances.
Report
Name Email