Syntax Flashcards

1
Q

AZ powershell syntax for creating a resource group

A

New-AzResourceGroup

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

AZ powershell syntax for creating a VM

A

New-AzVm

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

AZ CLI syntax for creating a resource group

A

az group create

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

AZ CLI syntax for creating a VM

A

az vm create

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

AZ CLI syntax for creating an app service plan

A

az appservice plan create

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

AZ CLI syntax for creating a web app

A

az webapp create

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

AZ powershell syntax for creating an app service plan

A

New-AzAppServicePlan

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

AZ powershell syntax for creating a web app

A

New-AzWebApp

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

AZ powershell syntax for creating a function app

A

New-AzFunctionApp

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

AZ CLI syntax for creating a function app

A

az functionapp create

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

AZ powershell syntax for deploying ARM template (resource group level)

A

New-AzResourceGroupDeployment

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

AZ CLI syntax for deploying ARM template (resource group level with template file specified)

A

az deployment group create –template-file

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

AZ powershell syntax for creating container

A

New-AzContainerGroup

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

AZ CLI syntax for creating container

A

az container create

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

AZ powershell syntax for creating container registry

A

New-AzContainerRegistry

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

AZ CLI syntax for creating container registry

A

az acr create

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

AZ CLI syntax for running container registry

A

az acr run

18
Q

AZ powershell syntax for running container registry

A

Connect-AzContainerRegistry -> docker run

19
Q

AZ CLI syntax for streaming logs from web app

A

az webapp log tail

20
Q

AZ powershell syntax for enabling logging (after creation)

A

Set-AzWebApp -DetailedErrorLoggingEnabled $true

21
Q

AZ powershell syntax for setting minimum TLS version (ssl configuration)

A

Set-AzWebApp -MinTlsVersion

22
Q

AZ powershell syntax for configuring app settings

A

Set-AzWebApp -AppSettings

23
Q

AZ powershell syntax for configuring connection strings

A

Set-AzWebApp -ConnectionStrings

24
Q

AZ CLI syntax for configuring logs

A

az webapp log config

25
AZ CLI syntax for configuring ssl
az webapp config ssl
26
AZ CLI syntax for configuring app settings
az webapp config appsettings
27
AZ CLI syntax for configuring connection strings
az webapp config connection-string
28
AZ CLI syntax for configuring a function app
az functionapp config
29
AZ powershell syntax for adding or updating app settings in a function app.
Update-AzFunctionAppSetting
30
AZ CLI syntax for creating a cosmos db container
az cosmosdb container create
31
AZ CLI syntax for creating a cosmos db database
az cosmosdb database create
32
AZ CLI syntax for managing cosmos db keys
az cosmosdb keys
33
AZ CLI syntax for specifying consistency level when creating a cosmos db account
az cosmosdb create ----default-consistency-level
34
AZ powershell syntax for creating storage container (blob)
New-AzureStorageContainer
35
AZ powershell syntax for uploading contents to blob storage
Set-AzureStorageBlobContent
36
AZ CLI syntax for creating a storage blob directory in a storage container
az storage blob directory create
37
AZ CLI syntax for uploading contents to blob storage
az storage blob directory upload
38
AZ CLI syntax for managing storage blob service properties
az storage blob service-properties
39
AZ powershell syntax for managing storage blob service properties
Get-AzureStorageServiceProperty -ServiceType Blob
40
AZ CLI syntax for creating Blob Inventory Policy for storage account
az storage account blob-inventory-policy create
41
AZ powershell syntax for enabling delete retention policy for the Azure Storage Blob service
Enable-AzureStorageDeleteRetentionPolicy -RetentionDays
42
AZ CLI syntax for enabling delete retention policy for the Azure Storage Blob service
az storage account blob-service-properties update --enable-delete-retention true --delete-retention-days