Which three actions should you perform?

You manage a cloud service that has a web application named WebRole1. WebRole1 writes error
messages to the Windows Event Log.
Users report receiving an error page with the following message: “Event 26 has occurred. Contact your
system administrator.”
You need to access the WebRole1 event log.
Which three actions should you perform? Each correct answer presents part of the solution.

You manage a cloud service that has a web application named WebRole1. WebRole1 writes error
messages to the Windows Event Log.
Users report receiving an error page with the following message: “Event 26 has occurred. Contact your
system administrator.”
You need to access the WebRole1 event log.
Which three actions should you perform? Each correct answer presents part of the solution.

A.
Enable verbose monitoring.

B.
Update the WebRole1 web.config file.

C.
Update the cloud service definition file and the service configuration file.

D.
Run the Set-AzureVMDiagnosticsExtension PowerShell cmdlet.

E.
Run the Enable-AzureWebsiteApplicationDiagnostic PowerShell cmdlet.

F.
Create a storage account.

Explanation:
AF: You can monitor key performance metrics for your cloud services in the Azure Management Portal.
You can set the level of monitoring to minimal and verbose for each service role, and can customize the
monitoring displays. Verbose monitoring data is stored in a storage account, which you can access outside
the portal.
C:
* 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.
* 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.
URLs:
http://azure.microsoft.com/en-us/documentation/articles/cloud-services-how-to-monitor/
http://msdn.microsoft.com/en-us/library/azure/ee758710.aspx
http://msdn.microsoft.com/en-us/library/azure/ee758711.aspx



Leave a Reply 7

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


greg

greg

@To easy: It is a web application, not a VM (The Set-AzureVMDiagnosticsExtension cmdlet configures the Microsoft Azure Diagnostics extension on a virtual machine). So D isn’t correct

Xiaobin

Xiaobin

BCF

A – nothing to do with logs, it’s about monitoring and metrics
D – it’s for VM monitoring
E – it’s for website

Xiaobin

Xiaobin

the question is about Cloud Service

Iain

Iain

AEF
F because you need somewhere to store the logs
E and A because the command:
Enable-AzureWebsiteApplicationDiagnostic -Name MyWebsite -File -LogLevel Verbose
“enables application logging on file system with verbose level.” – from rubenm’s link.
A is a bit of an afterthought to append to E in this case.

B does not give any settings relating to the logs
C does not give any settings relating to the logs
D is a VM command so is not relevant