Implement IaaS Solutions Flashcards
What Docker command should you use to generate a container image?
1) az acr generate
2) az acr build
3) az acr import
4) az acr run
az acr build
What command should you use to create an ARM template based off the resource group myRG?
1) az group export –name myRG
2) az group deployment –name myRG
3) az group deployment export –name myRG
az group export –name myRG
What’s the command for deploying a template using the Azure CLI?
1) az deployment group create
2) az deployment create
3) az group deployment create
az deployment group create –name {templateName} –resource-group {groupName} –template-file $templateFile
What’s the commandlet for deploying a resource group template using PowerShell?
New-AzResourceGroupDeployment
New-AzResourceGroupDeployment -Name blanktemplate -ResourceGroupName myResourceGroup -TemplateFile $templateFile
How would you run a single test by using the test toolkit?
Use the parameter -Test and specify the test name with double quotation marks: “Template Should Not Contain Blanks”.
What’s the Azure CLI command for deploying an ARM template?
az deployment group create
What’s the benefit of using Azure Container Instance over a WebApp using Docker?
Doesn’t require IaaS provisioning
Azure Disk Encryption is supported for Generation 1 and 2. True or false?
True
When uploading a Disk Image to Azure they must be in what format?
VHD
When uploading a dynamic disk does it have to be converted to a fixed-size disk?
Yes
Which command should you use to generate a docker container image?
- az acr import
- az acr update
- az acr create
- az acr build
az acr build
What’s the format for tagging a Docker image in Registery registery1, called app1?
registry1.azurecr.io/app1
What’s the difference between az group export and az group deployment export?
az group export creates an ARM resource template for the resource group.
az group deployment export exports the template used for deployment
When creating a webapp with no exisiting plans what order should the commands be?
az group create
az appservice plan create
az webapp create
What’s the command to create a resource group using AzureCLI?
az group create –name myResourceGroup –location eastus