Skip to Content

Microsoft AZ-104: What Containers and File Shares Can Be Used to Organize Azure Storage Account Content?

Learn which Azure storage account containers and file shares can be used to organize content based on the planned changes in this Microsoft AZ-104 certification exam case study question. Discover the correct answer and understand the reasoning behind it.

Table of Contents

Question

Case study

This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However, there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions included on this exam in the time provided.

To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is independent of the other questions in this case study.

At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to the next section of the exam. After you begin a new section, you cannot return to this section.

To start the case study

To display the first question in this case study, click the Next button. Use the buttons in the left pane to explore the content of the case study before you answer the questions. Clicking these buttons displays information such as business requirements, existing environment, and problem statements. If the case study has an All Information tab, note that the information displayed is identical to the information displayed on the subsequent tabs. When you are ready to answer a question, click the Question button to return to the question.

Overview

ADatum Corporation is consulting firm that has a main office in Montreal and branch offices in Seattle and New York.

Existing Environment

Azure Environment

ADatum has an Azure subscription that contains three resource groups named RG1, RG2, and RG3.

The subscription contains the storage accounts shown in the following table.

Name Kind Location Hierarchical namespace Container File share
storage1 StorageV2 West US Yes cont1 share1
storage2 StorageV2 West US No cont2 share2

The subscription contains the virtual machines shown in the following table.

Name Size Operating system Description
VM1 A Red Hat Enterprise Linux (RHEL) Uses ephemeral OS disks
VM2 D Windows Server 2022 Has a basic volume
VM3 B Red Hat Enterprise Linux (RHEL) Uses a standard SSDs
VM4 M Windows Server 2022 Uses Write Accelerator disks
VM5 E Windows Server 2022 Has a dynamic volume

The subscription has an Azure container registry that contains the images shown in the following table.

Name Operating system
Image1 Windows Server
Image2 Linux

The subscription contains the resources shown in the following table.

Name Description In resource group
Workspace1 Log Analytics workspace RG1
WebApp1 Azure App Service web app RG1
VNet1 Virtual network RG2
zone1.com Azure Private DNS zone RG3

Azure Key Vault

The subscription contains an Azure key vault named Vault1.

Vault1 contains the certificates shown in the following table.

Name Content type Key type Key size
Cert1 PKCS#12 RSA 2048
Cert2 PKCS#12 RSA 4096
Cert3 PEM RSA 2048
Cert4 PEM RSA 4096

Vault1 contains the keys shown in the following table.

Name Type Description
Key1 RSA Has a key size of 4096
Key2 EC Has Elliptic curve name set to P-256

Microsoft Entra Environment

ADatum has a Microsoft Entra tenant named adatum.com that is linked to the Azure subscription and contains the users shown in the following table.

Name Microsoft Entra role Azure role
Admin1 Global Administrator None
Admin2 Attribute Definition Administrator None
Admin3 Attribute Assignment Administrator None
User1 None Reader for RG2 and RG3

The tenant contains the groups shown in the following table.

Name Type
Group1 Security group
Group2 Microsoft 365 group

The adatum.com tenant has a custom security attribute named Attribute1.

Planned Changes

ADatum plans to implement the following changes:

  • Configure a data collection rule (DCR) named DCR1 to collect only system events that have an event ID of 4648 from VM2 and VM4.
  • In storage1, create a new container named cont2 that has the following access policies:
    • Three stored access policies named Stored1, Stored2, and Stored3
    • A legal hold for immutable blob storage
  • Whenever possible, use directories to organize storage account content.
  • Grant User1 the permissions required to link Zone1 to VNet1.
  • Assign Attribute1 to supported adatum.com resources.
  • In storage2, create an encryption scope named Scope1.
  • Deploy new containers by using Image1 or Image2.

Technical Requirements

ADatum must meet the following technical requirements:

  • Use TLS for WebApp1.
  • Follow the principle of least privilege.
  • Grant permissions at the required scope only.
  • Ensure that Scope1 is used to encrypt storage services.
  • Use Azure Backup to back up cont1 and share1 as frequently as possible.
  • Whenever possible, use Azure Disk Encryption and a key encryption key (KEK) to encrypt the virtual machines.

You need to implement the planned changes for the storage account content.

Which containers and file shares can you use to organize the content?

A. share1 only
B. cont1 and share1 only
C. share1 and share2 only
D. cont1, share1, and share2 only
E. cont1, cont2, share1, and share2

Answer

B. cont1 and share1 only

Explanation

According to the case study, ADatum plans to implement the following change related to storage account content organization: “Whenever possible, use directories to organize storage account content.”

To determine which containers and file shares can be used to organize content, we need to look at the existing storage accounts and their properties:

storage1:

  • Kind: StorageV2
  • Hierarchical namespace: Yes
  • Container: cont1
  • File share: share1

storage2:

  • Kind: StorageV2
  • Hierarchical namespace: No
  • Container: cont2
  • File share: share2

The key factor here is the “Hierarchical namespace” property. Only storage accounts with hierarchical namespace enabled (set to “Yes”) support using directories to organize content within containers and file shares.

In this case, only storage1 has hierarchical namespace enabled. Therefore, cont1 and share1 in storage1 can be used to organize content using directories.

storage2 does not have hierarchical namespace enabled, so cont2 and share2 cannot use directories for content organization.

In conclusion, based on the planned changes and the existing storage account properties, only cont1 and share1 in storage1 can be used to organize content using directories.

Microsoft AZ-104 certification exam assessment practice question and answer (Q&A) dump including multiple choice questions (MCQ) and objective type questions, with detail explanation and reference available free, helpful to pass the Microsoft AZ-104 exam and earn Microsoft AZ-104 certification.