nerdexam
Microsoft

AZ-400 · Question #397

Hotspot Question You have an Azure subscription. You need to create a storage account by using a Bicep file. How should you complete the file? To answer, select the appropriate options in the answer a

A Bicep file for creating an Azure Storage Account requires the 'resource' keyword followed by a symbolic name, then the resource type string 'Microsoft.Storage/storageAccounts@<api-version>', and the resource declaration body must include required properties such as 'name', 'loc

Submitted by ashley.k· Mar 6, 2026Deploy and manage Azure compute resources / Implement and manage storage / Use Infrastructure as Code tools (Bicep/ARM) to automate resource deployment - typically mapped to AZ-104 or AZ-305 certification objectives under 'Deploy resources by using Azure Resource Manager templates or Bicep files'.

Question

Hotspot Question You have an Azure subscription. You need to create a storage account by using a Bicep file. How should you complete the file? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point. Answer:

Explanation

A Bicep file for creating an Azure Storage Account requires the 'resource' keyword followed by a symbolic name, then the resource type string 'Microsoft.Storage/storageAccounts@<api-version>', and the resource declaration body must include required properties such as 'name', 'location', 'sku' (with 'name' like 'Standard_LRS'), and 'kind' (like 'StorageV2'). The '@api-version' suffix in the resource type declaration is mandatory in Bicep to specify which version of the Azure REST API to use. Bicep simplifies ARM template syntax by removing redundant fields and using a declarative, strongly-typed domain-specific language.

Topics

#Azure Bicep#Infrastructure as Code#Azure Storage Accounts#ARM Templates

Community Discussion

No community discussion yet for this question.

Full AZ-400 Practice