Prerequisites for Azure administrators Flashcards

1
Q

What is the purpose of the Azure Resource Manager?

A

To work with the resources in your solution as a group; Deploy, update, or delete all the resources for your solution in a single, coordinated operation.

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

How does azure resource manager perform deployment?

A

By configuring a template that can work for different environments such as testing, staging, and production.

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

How can tasks through the Azure Resource Manager be performed?

A

Azure PowerShell, Azure CLI, Azure portal, REST API, and client SDKs.

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

How is Azure Resource Manager secured?

A

Integrated with Role-Based Access Control (RBAC) to apply access controls to services in a resource group.

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

What is best practice for arranging resources either by group or by tag?

A

Arrange resources with the same lifecycle in a resource group. Use tags for all other organizing of resources.

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

What is best practice for deployment of resrouces?

A

Define and deploy your infrastructure through the declarative syntax in Azure Resource Manager templates, rather than through imperative commands; You should have no manual steps for setting up your solution.

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

What is the most efficient way to manage resrouces?

A

By running imperative commands.

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

Define a ‘resource provider’

A

A service that offers a set of resources and operations for working with an Azure service.

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

List common resource providers

A

Microsoft.Compute
Microsoft.Storage
Microsoft.Web

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

Define the function of the Microsoft.Compute service provider

A

Supplies virtual machine resources.

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

Define the function of the Microsoft.Storage service provider

A

Supplies storage account resources.

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

Define the function of the Microsoft.Web service provider

A

Supplies resources related to web apps.

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

Define a ‘template’

A

A JavaScript Object Notation (JSON) file that defines one or more resources to deploy to a resource group; Defines the dependencies between the deployed resources.

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

Define ‘declarative syntax’

A

Programming concept that focuses on describing what the coder wants to achieve, rather than how they will achieve it.

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

How does Azure leverage declarative syntax?

A

Resource Manager template is an example of declarative syntax; In the file, you define the properties for the infrastructure to deploy to Azure.

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

What is the purpose of the Microsoft.KeyVault resource provider?

A

To store keys and secrets in a resource type called vaults.

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

Can a resource exist in multiple resource groups?

A

No, resources can only exist in one resource group.

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

Can resource groups be renamed?

A

No, resource Groups cannot be renamed.

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

What is best practice for structure of resource groups?

A

All the resources in your group should share the same lifecycle; If one resource, such as a database server, needs to exist on a different deployment cycle it should be in another resource group.

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

What is the best way to control access to a set of like resources?

A

Group resources based on scope or level of access.

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

Can a resource group contain resources from different regions?

A

Yes.

22
Q

Can a resource interact with a resource in a different resource group?

A

Yes.

23
Q

What must be specified when creating a resource group?

A

Location of the resource group.

24
Q

Why must a resource group have a specified location?

A

The resource group stores metadata about the resources; When you specify a location for the resource group, you’re specifying where that metadata is stored.

25
Q

Define a ‘Read-Only’ resource lock

A

Prevents any changes to the resource.

26
Q

Define a ‘Delete’ resource lock

A

Prevents deletion - but other changes are allowed.

27
Q

Can resources be moved between azure subscriptions?

A

Yes.

28
Q

What occurs to the source and target resource group when moving a resource between the two?

A

Both groups are locked during the operation; Write and delete operations are blocked on the resource groups until the move completes.

29
Q

How is a resource group moved?

A

By selecting the resource group containing the resource, and then select the move button.

30
Q

What is the outcome of deleting a resource group?

A

Deleting a resource group deletes all the resources contained within it.

31
Q

What is the PowerShell command to remove a resource group?

A

Remove-AzResourceGroup

32
Q

Do azure resources have a limit?

A

Yes - there is a max usage limit on resources.

33
Q

How can Azure cloud shell help better secure a shell interface?

A

Azure Cloud Shell also provides cloud store files such as SSH keys.

34
Q

When using Azure Cloud Shell, what feature can be used to save scripts and other files for later use?

A

Azure CloudDrive.

35
Q

Can file directories be mounted to the Cloud shell?

A

Yes - Cloud Shell also lets you map an Azure Storage File Share; Lets you work with the contents of that share through Cloud Shell.

36
Q

Considering best practice, what is the max time a cloud shell session should be left open for?

A

No more than 20 minutes; The session is disconnected without warning, and the current state is lost.

37
Q

Does the Azure Cloud Shell allow for a user to elevate privledge?

A

No.

38
Q

Can additional tools and modules be installed to the cloud shell?

A

No.

39
Q

Can a user open multiple sessions at the same time?

A

No; Azure Cloud Shell allows only one instance at time and isn’t suitable for concurrent work across multiple subscriptions or tenants.

40
Q

You have a script stored on the Cloud Shell storage. You constantly use this script for resource management, but you need to perform small changes to it. Which of these solutions is the best way to handle the situation?

A

Use the Cloud Shell editor to make the necessary changes and save it directly on the CloudDrive.

41
Q

What is the naming convention for PowerShell cmdlets?

A

Named according to a verb-noun naming standard.

42
Q

What is the PowerShell command to list all approved verbs?

A

Get-Verb

43
Q

What is the PowerShell command to list all of the available cmdlets?

A

Get-Command

44
Q

Using the Get-Command cmdlet, what does the filter “-Noun ___*” achieve?

A

Targets the part of the command name that’s related to the noun; Searches for all cmdlets whose noun part starts with string before the *.

45
Q

Using the Get-Command cmdlet, what does the filter “-Verb” achieve?

A

Targets the part of the command name that’s related to the verb; Searches for all cmdlets whose verb part starts with the supplied verb.

46
Q

What is the maximum number of parameters in an Azure Resource Manager Template?

A

You’re limited to 256 parameters in a template.

47
Q

Define Azure Bicep in comparison to Azure Resource Manager Templates

A

Domain-specific language (DSL) that uses declarative syntax to deploy Azure resources instead of using JSON template.

48
Q

How does Azure Bicep Deploy a configuration?

A

Bicep template is converted into a JSON template through transpilation.

49
Q

Define ‘transpilation’

A

The process of converting source code written in one language into another language.

50
Q

What happens if the same template is run a second time?

A

Azure Resource Manager doesn’t change the deployed resources.

51
Q

What parameter is an element in the template schema?

A

Outputs; Used to return values from the deployed resources.