AZ-104 - Compute

0.0(0)
studied byStudied by 1 person
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/82

flashcard set

Earn XP

Description and Tags

https://learn.microsoft.com/en-us/training/paths/az-104-manage-compute-resources/

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

83 Terms

1
New cards

What is an Azure virtual machine? Name five things Azure provides tools to assist with when managing VMs

An IaaS compute resource where you have complete control over it’s configuration. Azure also provides tools for scaling, backup, monitoring, securing and patching OS

2
New cards

Name six components that are created when creating a virtual machine

Virtual Machine, Disks, Virtual Network, Network Interface Card (NIC), Network Security Group (NSG), IP addresses (pubilc and/or private)

3
New cards

When creating a VM if a VNet is not provided what happens?

Azure automatically creates the VNet for the VM

4
New cards

Which disks are automatically created when creating a VM?

The Operating System (OS) and Temp disks

5
New cards

When configuring a VM what four properties do you need to provide?

VM name, Location, VM Size + OS Image

6
New cards

What is the maximum possible length for a VM name

64 characters long on Linux and 15 characters on Windows

7
New cards

Is it possible to change a VM name while it is running?

No. The VM needs to be redeployed to change it’s name

8
New cards

Name the six VM size families

General Purpose, Compute Optimized, Memory Optimized, Storage Optimized, GPU, High Performance Compute

9
New cards

What is the resource profile of compute and memory optimized VMs?

Compute optimized VMs have a high CPU to memory ratio and memory optimized VMs have a high memory to CPU ratio

10
New cards

What is the resource profile and use case for storage optimized VMs?

Storage optimized VMs have high disk throughput and I/O. These are good for hosting databases

11
New cards

Which VM size has optional high throughput network interfaces?

High Performance Computing

12
New cards

What are the use cases for GPU VMs?

Graphics or model training

13
New cards

Name three use cases for memory optimized VMs

Relational DBs, caches, in memory analytics

14
New cards

Which VM size is best for medium traffic web servers, batch processing and app servers

Compute optimized

15
New cards

Which VM family is best for test/dev environment

General Purpose

16
New cards

What two parts are there to VM costs?

Compute costs and storage costs

17
New cards

How are compute costs calculated?

Compute costs are billed per minute of use (not if the resource is stopped or deallocated) and depend VM size, location and Operating System

18
New cards

For a VM what cost is still charged even if the VM is stopped or deallocated?

Storage costs

19
New cards

What are VM reserved instances?

By reserving a VM for one or three years you can save money on the cost of the VM. If you cancel early you may inccur an early cancellation fee.

20
New cards

What time options are there for reserving a VM?

One year or three year reservation

21
New cards

Name the five disk types for Virtual Hard Disks (VHD)

Standard HDD, Standard SSD, Premium SSD, Premium SSD v2, Ultra Disk

22
New cards

Which VHD types can be used as the OS disk for a VM?

Standard HDD, Standard SSD, Premium SSD (not Premium SSD v2 or Ultra Disks)

23
New cards

What is the max disk size for the five VHD types?

Standard HDD: 32TB, Standard SSD: 32TB, Premium SSD: 32TB, Premium SSD v2: 65TB, Ultra: 65TB (Disks that can host OS are 32TB, Disks that cannot are 65TB)

24
New cards

What is the max throughput (MB/s) of the five VHD types

Standard HDD: 500, Standard SSD: 750, Premium SSD: 900, Premium SSD v2: 1200, Ultra: 4000

25
New cards

What is the max IOPS of the five VHD types

Standard HDD: 2,000, Standard SSD: 6,000, Premium SSD: 20,000, Premium SSD v2: 80,000, Ultra: 160,000

26
New cards

Name the use cases for Standard HDD VHDs

Backup, non-critical or infrequently accessed VMs

27
New cards

Name the use cases for Standard SSD VHDs

web servers, light use enterprise systems, dev/test environments

28
New cards

Name the use cases for Premium SSD VHDs

Production and performance sensitive workloads

29
New cards

Name the use cases for Premium SSD v2 VHDs

Production and performance sensitive workloads with low latency and high IOPS

30
New cards

Name the use cases for Ultra VHDs

IO intensive workloads such as SAP HANA, DBs and transaction heavy workloads

31
New cards

Name the seven methods for creating a VM

ARM templates, Terraform, Azure CLI, PowerShell, REST API, Client SDK and Azure Automation Services

32
New cards

What command is used to create a VM from Azure CLI?

az vm create

33
New cards

What command is used to create a VM from PowerShell?

New-AzVm

34
New cards

What is Azure automation services? Name the three components that make this up

Automation services consists of three tools that help with management of VMs. This includes process automation, configuration management and update management.

35
New cards

What is Azure process automation?

A tool in Azure Automation Services that lets you automate repeatable tasks to help manage VMs. This reduces human error and improves response times

36
New cards

What is Azure configuration management?

An Azure Automation Services tool that automatically manages Operating System (OS) updates for VMs

37
New cards

What is Azure update management?

An Azure Automation Services tool that automatically manages VM updates

38
New cards

What is Azure auto shutdown?

This allows you to configure a schedule for automatically scaling down and turning on VMs to save costs when not needed

39
New cards

What is Azure backup for VMs?

A service that allows you to backup VMs running in the cloud or on prem to the cloud

40
New cards

What are availability sets?

This is a logical grouping of VMs spread across fault and update domains to reduce the chance a correlated failure or update takes all the VMs offline at the same time. All VMs in an availability set should be identical.

41
New cards

What are update domains?

Update domains are a feature of availability sets where VMs in the same update domain can be updated at the same time without taking the entire availability set offline. When an update is performed it is done on one update domain at a time. By default there are five update domains in an availability set but up to twenty can be configured.

42
New cards

What are the default and maximum numbers of update domains in an availability set?

By default there are five and the maximum is twenty

43
New cards

What are fault domains?

Fault domains define a group of VMs that share the same power source and network switch. These are used in availability sets so if a hardware failure occurs (switch or power failure) the entire availability set isn’t taken offline. By default there are two fault domains but three can be configured.

44
New cards

What are virtual machine scale sets?

VMSSs allow you to deploy, manage and autoscale a set of identical VMs

45
New cards

How many VMs can be in a virtual machine scale set?

VMSS can hold up to 1,000 VMs if using an off the shelf image and 600 if using a custom image

46
New cards

What five options do you need to configure when setting up a virtual machine scale set?

Orchestration mode (uniform or flex), VM architecture, VM size/SKU, VM image, spreading algorithm (advanced option)

47
New cards

What types of autoscaling rules can be used with virtual machine scale sets?

When a CPU threshold is hit or on a schedule

48
New cards

Why might you want to setup schedule autoscaling rules?

To scale up in antcipation of demand at specific times (e.g. black friday)

49
New cards

What is an app service plan

Defines the compute resources (VMs) app services are run on

50
New cards

Name the nine app service plan pricing tiers

Free, Shard, Basic, Standard, Prev1/v2/v3, Isolated v1/v2

51
New cards

What are the three app service plan isolation tiers? What are the differences?

Shared where VMs are shared between customers, Dedicated where a VM is dedicated to each app service plan and Isolated where a VM and VNet are dedicated to each app service plan.

52
New cards

What app service plan tiers have the shared isolation tier

Free and Shared

53
New cards

What app service plan tiers have the dedicated isolation tier

Basic, Standard, Premium v1/v2/v3

54
New cards

What app service plan tiers have the isolated isolation tier

Isolated v1/v2

55
New cards

What autoscaling options are available for app service plans?

Autoscaling rules can be setup on any Azure metric or a schedule

56
New cards

What app service plan tiers can have autoscaling?

All except free and shared (Basic, Standard, Premium v1/v2/v3, Isolated v1/v2

57
New cards

What is an app service

A Platform as a Service (PaaS) offering that allows deployment and scaling of applications without needing to manage the underlying infrastructure

58
New cards

What six configuration setting are required when creating a VM (not post creation settings)

Name, Publish (Code or Docker image), Runtime stack, Operating System, Region, Pricing plan (for App Service Plan)

59
New cards

What three post creation app setting may you need to set for an app service?

Always on (needed for CRON jobs), HTTPS only and session affinity

60
New cards

What type of job do you need to enable ‘always on’ in app setting to run on an app service?

To allow CRON jobs to execute

61
New cards

What is CI/CD?

Continuous Integration/Continuous Deployment

62
New cards

What five out of the box CI/CD options are there for app services

Azure DevOps, Github, bitbucket, FTP and local git repo

63
New cards

What manual deployment options are available for app services

remote git, one drive or dropbox

64
New cards

What are deployment slots? What are two advantages of using deployment slots?

These are secondary web apps that new versions of an app can be deployed into, warmed up and tested before being swapped into the main slot. This means there is no downtime and it is easy to swap back to the old version if there is an issue

65
New cards

What app service plan tiers are deployment slots available for?

Standard, Premium (v1/v2/v3) and Isolated (v1/v2)

66
New cards

Describe app service security

App services have built in authentication and authorization. The module runs in the same environment but separately and is configured using app setting. When enabled every incoming HTTP request goes through the module

67
New cards

How do you setup custom domains for an app service?

  1. Reserve the domain name either in Azure or through a third party

  2. Create DNS records to map the domain. This can either be an A or CNAME record

  3. Enable the custom domain by adding it to the web app

68
New cards

Describe app service backups

App service backups make a backup of an app service to a storage account container in the same subscription. Backups can be max 10GB and partial backups are possible to exclude static or large files. Backups consist of a zip file and xml manifest which contains a list of the contents of the zip file. Backups are only available standard, premium and isolated app service plans.

69
New cards

What is the maximum size possible for an app service backup?

10GB

70
New cards

What app service plans are app service backups available to?

Standard, Premium (v1/v2/v3), Isolated (v1/v2)

71
New cards

What restrictions on containers are there for app service backups?

They must be in the same subscription

72
New cards

What files make up an app service backup?

A zip file and an xml manifest containing a list of the contents

73
New cards

What is an Azure Container Instance?

Allows you to run docker images in Azure. This is a Container as a Service offering that means you don’t have to worry about underlying infrastructure (as with IaaS VMs) but have control over the environment (unlike with PaaS app services)

74
New cards

What is the difference in security between Azure Container Instances and Virtual Machines?

Azure Container Instances have weak security boundaries (which is more lightweight) and Virtual Machines have strong security boundaries

75
New cards

What is the difference in the OS run on Container Instances and Virtual Machines?

Containers only run the user mode portion of the OS (more lightweight) and the VM runs the whole OS

76
New cards

What tools are used to deploy both single and multiple containers?

Single containers are deployed by Docker via command line. Multiple containers can be deployed by an orchestrator such as Azure Kubernetes Service

77
New cards

What tools are used to deploy both single and multiple VMs?

Single VMs can be deployed using Hyper-V or Windows Admin Center. Multiple VMs can be deployed by PowerShell or a VM manager

78
New cards

What persistent storage does Azure Container Instances use?

Disks for local and Files SMB for shared

79
New cards

What persistent storage do Azure Virtual Machines use?

Disks for local and Files SMB for shared

80
New cards

What are Azure container groups?

A collection of containers that run on the same host machine. This means they share a lifecycle, resources, local network and storage. This can be useful for services that are separate (different language or managed by different team) but need to be on the same resources.

81
New cards

What are some use cases for Azure container groups?

This can be useful for services that are separate (different language or managed by different team) but need to be on the same resources. This includes logging services, configuration services or extending legacy applications

82
New cards

What are Azure Container Apps?

A serverless platform that allows you to run containerized applications without worrying about server config, deployment or container orchestration

83
New cards

What is Azure Kubernetes Service?

A managed Kubernetes service that allows you to deploy and manage containerized applications