Which two commands are possible ways to achieve this goal?

You are the administrator for your company’s Azure subscription.Company policy dictates that you must deploy new Azure Resource Manager (ARM) templates using Azure Command-Line Interface (CLI). Parameters are included in a file called azuredeploy.parameters.json and do not contain any password information. All JSON files are located in the root of drive E.You need to ensure that password parameters are passed to the command.Which two commands are possible ways to achieve this goal? Each correct answer presents a complete solution.A: Rather than passing parameters as inline values in your script, you may find it easier to use a JSON file that contains the parameter values.References: https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-template-deploy-cli

Question:

Which two commands are possible ways to achieve this goal?

Options:

Add the appropriate password parameters to the azuredeploy.parameters.json file and then run the following CLI command:azure group create -n “ARMBasic”-l “West US” -f “e:azuredeploy.json” -e “e:azuredeploy.parameters.json”

Run the following CLI command. Do not add additional switches:azure group create -n “ARMBasic” -l “West US” -f “e:azuredeploy.json” -e “e:azuredeploy.parameters.json”

Run the following CLI command. Add a switch to include password parameters:azure group create -n “ARMBasic” -l “West US” -f “e:azuredeploy.json”

Run the following CLI command. Add switches to include all parameters:azure group create -n “ARMBasic” -l “West US” -f “e:azuredeploy.json”

Correct Answer

The Correct Answer for this Question is

Add the appropriate password parameters to the azuredeploy.parameters.json file and then run the following CLI command:azure group create -n “ARMBasic”-l “West US” -f “e:azuredeploy.json” -e “e:azuredeploy.parameters.json”
Run the following CLI command. Add switches to include all parameters:azure group create -n “ARMBasic” -l “West US” -f “e:azuredeploy.json”

Leave a Comment