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.
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”
B.
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”
C.
Run the following CLI command. Add a switch to include password parameters:azure group create –n
“ARMBasic” –l “West US” –f “e:\\azuredeploy.json”
D.
Run the following CLI command. Add switches to include all parameters:azure group create –n “ARMBasic”
–l “West US” –f “e:\\azuredeploy.json”
Why not A+C?
I think it should be A and D:
https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-template-deploy-cli
You can add password parameter to the file and also add all parameters in the file and password to the command.
B- No password is included in azuredeploy.parameters.json
C- Password parameter is ok, but you miss the other parameters included in azuredeploy.parameters.json
a+d