Home » Microsoft » 70-532 v.2 » Does the solution meet the goal?
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You need to enable monitoring and diagnostic logging for the VMs.
Solution: Run the Azure PowerShell command Set-AzureRmDiagnosticsSetting and include the resource identifier for the storage account and VM.
Does the solution meet the goal?
A. Yes
B. No
Correct Answer: B
Explanation/Reference:
Explanation:
When creating a new Cloud Service deployment you can enable the diagnostics extension by passing in the ExtensionConfiguration parameter to the New-AzureDeployment cmdlet. The ExtensionConfiguration parameter takes an array of diagnostics configurations that can be created using the New-AzureServiceDiagnosticsExtensionConfig cmdlet.
Scenario: All VMs should include monitoring and diagnostics to be enabled by using the Azure Diagnostics extension. All diagnostics and monitoring of VMs should be captured and stored by using a storage account.
References: https://docs.microsoft.com/en-us/azure/cloud-services/cloud-services-diagnostics-powershell