Microsoft Azure Administrator Associate AZ-104 Practice Question
You have an Azure Resource Manager (ARM) template named 'myTemplate.json' stored locally on your computer. You need to deploy this template to an existing resource group called 'myResourceGroup' using the Azure CLI. Which command should you use?
az deployment group create --resource-group myResourceGroup --template-file myTemplate.json
az group deployment create --resource-group myResourceGroup --template-uri https://templates.azure.com/myTemplate.json
az resource deploy --template-file myTemplate.json
az deployment create --location eastus --template-file myTemplate.json