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
Q

AZ CLI syntax for configuring ssl

A

az webapp config ssl

26
Q

AZ CLI syntax for configuring app settings

A

az webapp config appsettings

27
Q

AZ CLI syntax for configuring connection strings

A

az webapp config connection-string

28
Q

AZ CLI syntax for configuring a function app

A

az functionapp config

29
Q

AZ powershell syntax for adding or updating app settings in a function app.

A

Update-AzFunctionAppSetting

30
Q

AZ CLI syntax for creating a cosmos db container

A

az cosmosdb container create

31
Q

AZ CLI syntax for creating a cosmos db database

A

az cosmosdb database create

32
Q

AZ CLI syntax for managing cosmos db keys

A

az cosmosdb keys

33
Q

AZ CLI syntax for specifying consistency level when creating a cosmos db account

A

az cosmosdb create —-default-consistency-level

34
Q

AZ powershell syntax for creating storage container (blob)

A

New-AzureStorageContainer

35
Q

AZ powershell syntax for uploading contents to blob storage

A

Set-AzureStorageBlobContent

36
Q

AZ CLI syntax for creating a storage blob directory in a storage container

A

az storage blob directory create

37
Q

AZ CLI syntax for uploading contents to blob storage

A

az storage blob directory upload

38
Q

AZ CLI syntax for managing storage blob service properties

A

az storage blob service-properties

39
Q

AZ powershell syntax for managing storage blob service properties

A

Get-AzureStorageServiceProperty -ServiceType Blob

40
Q

AZ CLI syntax for creating Blob Inventory Policy for storage account

A

az storage account blob-inventory-policy create

41
Q

AZ powershell syntax for enabling delete retention policy for the Azure Storage Blob service

A

Enable-AzureStorageDeleteRetentionPolicy -RetentionDays

42
Q

AZ CLI syntax for enabling delete retention policy for the Azure Storage Blob service

A

az storage account blob-service-properties update –enable-delete-retention true –delete-retention-days