You have a Bicep file (File1) to deploy a storage account named storage1 into resource group RG1. Which Bicep property should you change so the file deploys storage1 to RG1?
Choose an answer
Tap an option to check your answer.
Correct answer: scope.
Why this is the answer
The scope property in Bicep defines the deployment target for a resource or module. To deploy storage1 to RG1, you would set the scope property of the storage account resource to resourceGroup(RG1). This explicitly directs the deployment to the specified resource group. kind specifies the type of storage account (e.g., StorageV2, BlobStorage) and doesn't control the deployment target. sku defines the performance tier and replication options (e.g., StandardLRS, PremiumZRS), also unrelated to the deployment scope. location specifies the Azure region where the resource will be deployed (e.g., eastus, westus), but it does not define the resource group itself.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed