nerdexam
MicrosoftMicrosoft

AZ-104 · Question #703

AZ-104 Question #703: Real Exam Question with Answer & Explanation

This question tests your knowledge of configuring Azure Blob Inventory rules using ARM templates, specifically how to filter blobs by prefix and set the output format and schedule.

Submitted by anjalisingh· Mar 4, 2026Implement and manage storage

Question

Hotspot Question You have an Azure Storage account named storage1 that contains a container named container1. The container1 container stores thousands of image files. You plan to use an Azure Resource Manager (ARM) template to create a blob inventory rule named rule1. You need to ensure that only blobs whose names start with the word finance are stored daily as a CSV file in container1. How should you complete rule1? To answer, select the options in the answer area. NOTE: Each correct answer is worth one point. Answer:

Options

  • __typehotspot
  • variantdropdown

Explanation

This question tests your knowledge of configuring Azure Blob Inventory rules using ARM templates, specifically how to filter blobs by prefix and set the output format and schedule.

Approach. For rule1, the correct configuration requires setting 'enabled' to true, 'format' to 'Csv', 'schedule' to 'Daily', 'objectType' to 'Blob', and adding a 'prefixMatch' filter with the value 'finance'. The prefixMatch array filters the inventory to only include blobs whose names begin with 'finance'. Setting format to 'Csv' ensures output is a CSV file, and schedule to 'Daily' ensures the inventory runs every day. The destination should be set to 'container1' so the CSV inventory file is stored in that same container.

Concept tested. Azure Blob Inventory rules in ARM templates - specifically the properties: format (Csv/Parquet), schedule (Daily/Weekly), objectType (Blob/Container), prefixMatch for filtering blob names by prefix, and the destination container setting.

Reference. https://learn.microsoft.com/en-us/azure/storage/blobs/blob-inventory#inventory-policy

Topics

#Blob Inventory#ARM templates#Storage account configuration#Blob filtering

Community Discussion

No community discussion yet for this question.

Full AZ-104 PracticeBrowse All AZ-104 Questions