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
Question
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
Community Discussion
No community discussion yet for this question.