AZ-801 · Question #178
You have an Azure subscription. The subscription contains a virtual machine named VM1 that runs Windows Server and is in the East US Azure region. The subscription contains the storage accounts shown
The correct answer is C. storage1 and storage4 only. For configuring diagnostic settings for VM1, only general-purpose V2 storage accounts are suitable. Both storage1 (in the same region) and storage4 (in a different region) are StorageV2 accounts, indicating that for VM diagnostics, a StorageV2 account can be cross-regional.
Question
| Name | Kind | Location |
|---|---|---|
| storage1 | StorageV2 | East US |
| storage2 | BlockBlobStorage | East US |
| storage3 | FileStorage | East US |
| storage4 | StorageV2 | Central US |
| You plan to configure the Diagnostic settings for VM1. Which storage accounts should you specify for the settings? |
Options
- Astorage1 only
- Bstorage1 and storage2 only
- Cstorage1 and storage4 only
- Dstorage1, storage2, and storage3 only
- Estorage1, storage2, storage3, and storage4
How the community answered
(28 responses)- B4% (1)
- C86% (24)
- D7% (2)
- E4% (1)
Why each option
For configuring diagnostic settings for VM1, only general-purpose V2 storage accounts are suitable. Both `storage1` (in the same region) and `storage4` (in a different region) are `StorageV2` accounts, indicating that for VM diagnostics, a `StorageV2` account can be cross-regional.
`storage4` is also a valid `StorageV2` account, and can be used, so `storage1` is not the only option.
`storage2` is a `BlockBlobStorage` account, which is a specialized type and typically not supported as a destination for comprehensive VM diagnostic settings.
VM diagnostic settings primarily support general-purpose v2 (StorageV2) storage accounts for collecting logs and metrics. Both `storage1` and `storage4` are `StorageV2` kind. While commonly storage accounts must be in the same region, some VM diagnostic configurations may allow targeting a `StorageV2` account in a different, but still accessible, Azure region.
`storage2` (BlockBlobStorage) and `storage3` (FileStorage) are not suitable kinds for VM diagnostic settings.
`storage2` (BlockBlobStorage) and `storage3` (FileStorage) are not suitable kinds for VM diagnostic settings.
Concept tested: Azure VM diagnostic settings storage requirements
Topics
Community Discussion
No community discussion yet for this question.