Question 120


4.4.1 Question

Multiple Choices

You will be deploying your application in Windows Azure. You know that you need to include logging, but you have some concerns. What diagnostic capabilities can Windows Azure support? (Choose all that apply.)

  • A. The capability to turn on and off different aspects of the Windows Azure diagnostics through configuration changes
  • B. The capability to retain logs from your custom logging solution on a Windows Azure storage account
  • C. The capability to retain logs from your custom logging solution when written to a local store
  • D. The capability to send entries to the Windows Azure diagnostics system from within your application

Answer:

ABD
Explanation
A. Correct: You can control the diagnostics setting through configuration within your Windows Azure–hosted application.
B. Correct: Although the Windows Azure VMs get recycled when the role restarts, saving the logs to the Windows Azure storage system outside of your VM would ensure that they are available.
C. Incorrect: Because the Windows Azure VMs are entirely virtual and recycle when­ever a role restarts, there is a significant chance you will lose logging information.
D. Correct: You can treat the Windows Azure diagnostics system like a traditional logging tool by writing messages to the system.