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:
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
Wouldn’t it be AFC?
“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.”
http://azure.microsoft.com/en-us/documentation/articles/cloud-services-how-to-monitor/
Agree. You need to create a storage account
I agree, the correct answer is A, C and F.
No, the app was running, so A,B,F
(…) you typically have to make a change in web.config or app.config for Windows Azure to collect these logs
https://msdn.microsoft.com/en-us/magazine/ff714589.aspx
The app already spit out an error, so why do we need to configure web.congi file again.
Also, if we are creating a new storage account to store logs, don’t we need to update the configuration files to point to this location?
So what’s your answer please
Which is the right answer?
ACF
https://msdn.microsoft.com/en-us/magazine/ff714589.aspx
The problem is that you’d like to be able to change the switch values at run time, and Windows Azure doesn’t allow you to just replace the web.config or app.config without redeploying the service. The generic ASP.NET solution for this is to use WebConfiguationManager to alter configuration values, but Windows Azure doesn’t currently allow you to do this for cloud-deployed services, either.
The solution is to mirror the values for these switches in *** ServiceConfiguration.cscfg ***. Windows Azure lets you edit that file (or upload a new one) through the development portal while your service is running. You’ll have to write some additional code to make this work, though.
As per https://azure.microsoft.com/en-us/documentation/articles/cloud-services-how-to-monitor/
•Create a storage account to store the monitoring data.
•Enable Azure Diagnostics for your cloud service roles
Ensure that the diagnostics connection string is present in the Role configuration
So answer is B,E,F
Enable-AzureWebsiteApplicationDiagnostic is relevant to Azure websites.
The question is referring to a Cloud Service role.
The correct answer is either ABF, or ACF
ACF
A & F:
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
A,E,F
https://azure.microsoft.com/en-us/documentation/articles/cloud-services-how-to-monitor/
A: “… After you enable verbose monitoring, the aggregated monitoring data is stored in tables in your storage account …”
E, F: “… Before you begin
•Create a storage account to store the monitoring data. You can use different storage accounts for different roles. For more information, see help for Storage Accounts, or see How To Create a Storage Account.
•Enable Azure Diagnostics for your cloud service roles. See Configuring Diagnostics for Cloud Services. …”
another one for E https://msdn.microsoft.com/en-us/library/azure/dn495179.aspx
E. not possible, please read its a cloud service not Azure Website.
None of the answers is correct.
WebRole1 writes error messages to the Windows Event Log.
The question is “You need to access the WebRole1 event log”.
This is done via FTP!
The answer is A,C & E
=================================
The question relates to getting the “Windows Event log” for the Role running in a Cloud Service.
Collecting diagnostics data
XML file – Diagnostics.wadcfg (packaged into the .cspkg file)
Azure Storage Blob (wad-control-container)
• IIS HTTP logs
• IIS failed request logs
• Azure diagnostics infrastructure logs
• Windows event logs <<<<<<<<<<<<<<<<<<<
• Performance counters
• Crash dumps
• Custom error logs
• ETW events
Use a separate storage account for logging diagnostic data – to improve performance
(diagnostic connection strings)
Typo above – I meant A, C and F (sorry!!)
Verbose on
Service config file
Storage account
see page 203 of the official Microsoft 70-533 exam study book (green cover)
I agree.
You can do the complete exam free online and see the solutions
http://exam-test-ms-70-533.azurewebsites.net/
Regards
answer is ACF
step 1 specify the scheduledTransferLogLevelFilter to Verbose in the diagnostics.wadcfg
step 2 Update the cloud service definition file and the service configuration file (.cspkg)
step 3 best practice is to create a separate storage account for logging diagnostics data
Agree ACF. (A) to increase logging info, (C) to make changes without redeploying service and (F) as it lives in a storage account.
Not B – requires redeploying app
Not D – It operates on each VM instance, not the Role
Not E – This is a Cloud Service, not a Web App
Agreed as ACF.
However, a question about C- csdef has the Diagnostics (Import) attribute in Web and Worker Role Schemas. But cscfg has no such setting. Shouldn’t the answer have just csdef mentioned? If the answer were to just say “Update the cloud service definition file.”, isn’t it still sufficient?