nerdexam
Microsoft

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.

Monitor and troubleshoot Windows Server environments

Question

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 in the following table.
NameKindLocation
storage1StorageV2East US
storage2BlockBlobStorageEast US
storage3FileStorageEast US
storage4StorageV2Central 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)
  • B
    4% (1)
  • C
    86% (24)
  • D
    7% (2)
  • E
    4% (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.

Astorage1 only

`storage4` is also a valid `StorageV2` account, and can be used, so `storage1` is not the only option.

Bstorage1 and storage2 only

`storage2` is a `BlockBlobStorage` account, which is a specialized type and typically not supported as a destination for comprehensive VM diagnostic settings.

Cstorage1 and storage4 onlyCorrect

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.

Dstorage1, storage2, and storage3 only

`storage2` (BlockBlobStorage) and `storage3` (FileStorage) are not suitable kinds for VM diagnostic settings.

Estorage1, storage2, storage3, and storage4

`storage2` (BlockBlobStorage) and `storage3` (FileStorage) are not suitable kinds for VM diagnostic settings.

Concept tested: Azure VM diagnostic settings storage requirements

Topics

#Azure Monitor#Diagnostic settings#Storage accounts#VM monitoring

Community Discussion

No community discussion yet for this question.

Full AZ-801 Practice