Which two actions should you perform?

You migrate a Windows Server .NET web application to Azure Cloud Services.
You need enable trace logging for the application.
Which two actions should you perform? Each correct answer presents part of the solution.

You migrate a Windows Server .NET web application to Azure Cloud Services.
You need enable trace logging for the application.
Which two actions should you perform? Each correct answer presents part of the solution.

A.
Update the service definition file.

B.
Update the Azure diagnostics configuration.

C.
Update the service configuration file.

D.
Enable verbose monitoring.

E.
Update the application web.config file.

Explanation:
A: Step 1 section:
“diagnostics monitor is imported into a role by specifying an Import element with a module Name of
“Diagnostics” in the Imports section of the service definition file”
B: Step 2 explain how to add the diagnostic file in the solution and step 3 how to configure it.

https://msdn.microsoft.com/en-us/library/azure/Dn482131.aspx#BKMK_step5



Leave a Reply 3

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


Gman

Gman

Isn’t this wrong?

The link’s for enabling diagnostics in a worker role. And if I check at the link below, it seems like the correct answer is
B. Update the Azure diagnostics configuration.
D. Enable verbose monitoring.

What I can see, there’s no need to edit any files.

https://stackify.com/azure-app-service-log-files/

JDH

JDH

Cloud Services aren’t covered on the new objectives so I wouldn’t worry about it. Then again MS like to include a lot of old crap on their exams these days. This is from the MOC, Module 8 so I would say C & D.
“To configure verbose monitoring, you must enable Azure Diagnostics for the cloud service. One way to accomplish this is to set the value of the Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString attribute in the cloud service configuration file (.cscfg) and deploy the updated configuration to the cloud service. You can also modify the value of this configuration setting directly from the Azure portal after you deploy the cloud service.