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:
You can use Azure logging right out of the box—it’s part of Azure SDK.
A: 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.
B: Take Control of Logging and Tracing in Microsoft Azure
The Microsoft.WindowsAzure.Diagnostics namespace, which inherits from and extends standard
System.Diagnostics classes, enables the use of System.Diagnostics as a logging framework in Azure
environment.
URLs:
http://msdn.microsoft.com/en-us/library/azure/ee758711.aspx
http://msdn.microsoft.com/en-us/magazine/ff714589.aspx
I think it should be BE
https://docs.microsoft.com/en-us/azure/cloud-services/cloud-services-dotnet-diagnostics-trace-flow
Agree
As per the URL given
Use the configuration file app.config for worker roles and the web.config for web roles
I believe its B & C
I would go for B,C because question is about enabling, not implementing trace.
https://docs.microsoft.com/en-us/azure/cloud-services/cloud-services-dotnet-diagnostics