Azure VM's Flashcards

1
Q

Is a VM created in a specific location?

A

Yes, it is created only in a single region in a single datacentre.

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

What is used to create a VM?

A

Image

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

What are the families of VM?

A
  • General Purpose
  • Compute optimize
  • Memory-optimized
  • Storage optimized
  • GPU
  • HPC
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What choosing a size of VM, what will the size effect?

A
  • Memory
  • Processing performance
  • Number of disks
  • Number of NICs
  • Storage performance
  • Graphics capabilities
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Can you change the VM size after it is created?

A

Yes, with a reboot

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

If I wnat to create a very large VM and I am getting an error, what may be the cause and how can I fix it?

A

You may be hitting the Azure quota limit imposed by azure, you can request to have your quota increased, this is done in subscriptions under ‘usage and quotas’.

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

What is the difference between managed and unmanaged disks?

A
  • Managed disks: Support HA, you do not need a storage account.
  • Unmanaged disks: Required storage account and it management. Limited support for HA. Limited functionality
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Is it possible to take a snapshot of the disk?

A

Yes, 100%

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

What is the difference between standard and premium storage for disk>

A

Premium is higher IOPS and has burst capabilities.

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

Is standard manage disk HTT or SSD?

A

Standards are HDD and premium is SSD

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

What are the different disk types a VM gets in Azure?

A
  • OS Disk: Contains the image of OS
  • Temp Disk: Local disk, not persistent
  • Data Disk: Attached volume for data
  • Ephemeral Disk: Is a read-only OS disk
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is disk caching?

A

Disk caching is used to improve the read and write performance of a disk. It is host caching and used high-performance storage thet is very fast.

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

Blob caching

A

Uses both Azure blob storage and host SSD and memory ot provide caching.

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

Is read/write caching enabled by default for data disks?

A

No, you have to manually enable

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

Is read/write caching enabled by default for OS disks?

A

Yes

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

What is write-back caching?

A

This is read/write caching

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

What are the types of cache supported by disks>?

A

R/W (write back)
R (read-only)
None (no read or write cache)

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

For virtual disks, I get different performance

A

From performance tiers,

  • Ultra: For extreme workloads, super high IO, DAP, HANA.
  • Premium: High performance like DB
  • Standard light usage apps
  • Standard Non-critical workloads
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

What are the choices thet effect disk performance?

A
  • Disks type ultra, premium SSD, standard SSD standard HDD
  • Cached vs uncashed
  • Local disk
  • VM size and it IOPS limits
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

What types of outages can you have?

A
  • Planed: You will get notified through service health or scheduled events
  • Unplaned
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

Where can I get an update form planned outages?

A

Scheduled events and service health

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

I have an application that would like to react to a scheduled event such as planned outage inside the VM, how can I get access to this information?

A

Just send this from inside the VM, there is a rest services thet will respond. curl -H Metadata:true

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

What are zonal services and zone redundant services?

A

Zonal services pins you resource to the zone, like a VM

Zone redundant services means

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

What are the zonal services and zone redundant services?

A

Zonal services pins you resource to the zone, like a VM

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

When I am creating 3 redundant VM’s how can I ensure these VM’s do not end up been provisioned on the same physical hardware?

A

Create an availability set, set number of faults domains

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

When I am creating 3 redundant VM’s how can I ensure these VM’s do not end up been updated by Azure at the same time?

A

Create an availability set, set number of updates domains

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

When you are creating an availability set are the virtual disk aligned?

A

Yes, by default.

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

How do I get a 99.95% SLA on VM’s?

A

Place one or more VM in an Availability set

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

What logical component is required to scaled VM’s

A

Scale set

30
Q

What creating a scale set, what infor do I need to provide?

A

The scale set requires,

  • Image
  • Networking
  • Disks size
  • VM size
  • Scale limits (min, max num VMs)
  • Connected with LB
31
Q

When you create a scale set, will you see the individual VMs get created in the resource group?

A

No, vms visible in the scale set.

32
Q

What creating a scale set, what must i do to ensure HA for the vm’s?

A

Select to use availability zones and select each zone to use.

33
Q

What creating a scale set, is the scale set in a single region?

A

Yes

34
Q

What creating a scale set, is the scale set in a single AZ?

A

No, you get to select how many AZ in the region you want the scale to function in or cover

35
Q

Has all regions got multiple availability zones?

A

No, some regions may not have AZ’s

36
Q

hen creating a scales set and for networking do the VMs automatically get a public IP?

A

No, you have to enable it in the network section of the scale set configurations.

37
Q

I want to increate the my scale set instance number every weekend due to sales increase on the weekend, how can I do this?

A

In the scale set profile you have,

  • Regular (CPU, etc.)
  • Fixed date
  • Recurrence (every week)
38
Q

What is the instance meta data service?

A

This is a meta data services available to the VM running on Azure.

39
Q

What is the difference between GEN 1 and GEN 2?

A
  • Faster boot time
  • Faster install time
  • Larger then 2 TB OS disk
  • Disk encryption
40
Q

Is there a cost between GEN1 and GEN2 VMs?

A

No, always create GEN2 if you can as disk encryption is available?

41
Q

Can I encrypt the disk in GEN1 VM’s?

A

No, you need to use GEN2

42
Q

When a VM is created in Azure what disks are created?

A
  • OS disk

- Temp disk

43
Q

If I restart my VM will it get a new public IP by default?

A

Yes, but you can make it static also.

44
Q

If you restart the VM will it stay on the same host?

A

No, Azure will restart the VM on a new host.

45
Q

What happens when you stop the VM with its default config?

A
  • VM gets deallocated form the physical datacenter infrastructure
  • Non static IP’s get unallocated to the VM
46
Q

For a VM, do i get a DNS for the static public IP by default?

A

No, you can allocated one, it is optional.

47
Q

Will a restart of the VM cause the public IP to change?

A

Yes , by default, if you make it static then yes it will change.

48
Q

Can you create a secondary network interface for a VM?

A

Yes, create and attach network interface.

49
Q

I want to get high availability should i chose managed or unmanaged disks?

A

Managed dis gives you bets availability compared to unmanaged disks.

50
Q

What is the availability of managed disks

A

5 x 9s (99.999)

51
Q

What is the highest preforming disk you can create?

A

Ultra disk, but not available in every region, then standard (SSD), then premium (SSD) then standard HDD).

52
Q

When you create a VM is the disks by default SSD or HDD?

A

SSD

53
Q

When you create a VM what is the default config for the OS disk, SSD or HDD?

A

SSD

54
Q

When you create a VM what is the default OS disk encrypted?

A

Yes

55
Q

Is there a limitation on the number of disks for a VM size?

A

Yes, smaller VMs have less disks that can be mounted again the VM.

56
Q

I have a VM that is hitting 90% CPU and i want to resize it, is it possible to do?

A

Yes, stop the VM and go to size and resize it and restart the VM.

57
Q

What SLA do I get from a single VM running in Azure?

A

99.9%

58
Q

What SLA do I get from a VM running in an availability set VM running in Azure?

A

99.95%

59
Q

What SLA do I get from a VM running in Azure across zones?

A

99.99%

60
Q

What is an availability set?

A

Ensure the VMs are placed on separate physical server, this is in the same datacenter (zone)

61
Q

What is an availability set?

A

Ensure the VMs are placed on separate physical server, this could be with in the same datacenter and not across zones.

62
Q

Are availability sets with in a single region?

A

Yes

63
Q

Is an availability set spread over zones?

A

Maybe and maybe not, there is no guarantee that availability set will ensure you VM are spread across zones.

64
Q

Explain how availability sets work?

A

You create an availability set and when creating the VM you get to option to select availability zone for zones and availability set. With availability set you get the option to set fault domain and update domain, for example 3 and 3. Azure will ensure your VMs are spread across separate physical servers in one or more datacenters. Also ensure your VMs are updated in zones, one a zone at a time.

65
Q

What is an availability set fault domain?

A

FD ensure the VM are placed on separate physical servers with in one or more data centers. You can think the VMs are spread and not residing on same physical host.

66
Q

What is an availability set update domain?

A

Your VM’s running on physical servers are ensured that when MS is doing a update to the servers they will only preform update one update domain at a time.

67
Q

Can I create a availability set and assign a existing VM?

A

No, only at time of VM creation.

68
Q

When creating a tiered application of say web and app, should you use one availability set for both or separate availability sets?

A

Separate, one AS for each tier.

69
Q

What is a VM scale set?

A

You define most all the config parameters, like zones, network, image, etc. and then you scale based on say performance, like CPU

70
Q

In a VM scale set, what defines scale?

A

Scaling policy

71
Q

What is an availability zones?

A

Each region is a number of data centers with a zone beaning one or more data centers grouped together to form the zone. Each zone is separate from each other.