Introduction to Azure virtual machines Flashcards

1
Q

What are the requirements for a VM?

A
Start with the network
Name the VM
Decide the location for the VM
Determine the size of the VM
Understanding the pricing model
Storage for the VM
Select an operating system
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

True/False

By default, services outside a VNet can access services inside the VNet.

A

False

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

What are virtual networks?

A

Virtual networks (VNets) are used in Azure to provide private connectivity between Azure Virtual Machines and other Azure services. VMs and services that are part of the same virtual network can access one another. By default, services outside the virtual network cannot connect to services within the virtual network. You can, however, configure the network to allow access to the external service, including your on-premises servers.

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

True/False

Network addresses and subnets can be changed quickly in Azure.

A

False

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

What should you specify when you set up a virtual network?

A

Available address spaces
subnets
security

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

True/False

VNets which connect with one another can have overlapping address ranges.

A

False

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

Which addresses are reserved for Azure to use?

A

First four addresses and the last address in each subnet

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

What does segregating your network mean?

A

You do this to break up your network into more manageable sections. For example, you might assign 10.1.0.0 to VMs, 10.2.0.0 to back-end services, and 10.3.0.0 to SQL Server VMs.

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

True/False

By default, subnets are equipped with standard security.

A

False.

By default, there is no security boundary between subnets, so services in each of these subnets can talk to one another.

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

What are NSGs?

A

Network Security Groups act as software firewalls, applying custom rules to each inbound or outbound request at the network interface and subnet level. This allows you to fully control every network request coming in or out of the VM.

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

What are the aspects you should consider when creating a VM?

A

What does the server communicate with?
Which ports are open?
Which OS is used?
How much disk space is in use?
What kind of data does this use? Are there restrictions (legal or otherwise) with not having it on-premises?
What sort of CPU, memory, and disk I/O load does the server have? Is there burst traffic to account for?

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

Can you change the name of a VM after it’s creation?

A

No, at least it’s not trivial.

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

What are the workload options for VMs in Azure?

A
General purpose
Compute optimized
Memory optimized
Storage optimized
GPU
High performance computers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Can a VM size change while the VM is running?

A

Yes, as long the new size is available in the current hardware cluster the VM is running on. However, to complete the request, the VM will have to reboot.

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

What are the two costs associated with each VM?

A

Compute

Storage

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

How are VM compute costs billed?

A

They are calculated on a per hour basis but billed on a per minute basis

17
Q

What are the two payment options for VM compute?

A

Pay as you go

Reserved Virtual Machine Instances

18
Q

How many hard disks will each VM have?

A

Two

  • OS Disk
  • Temporary storage

It is possible to add additional disks (generally 2 per CPU)

19
Q

In what services are VM VHDs held?

A

In Azure Storage as page blobs

20
Q

What is the difference between Managed and Unmanaged disks for VMs?

A
  • Unmanaged disks
    With unmanaged disks, you are responsible for the storage accounts that are used to hold the VHDs that correspond to your VM disks. You pay the storage account rates for the amount of space you use. A single storage account has a fixed-rate limit of 20,000 I/O operations/sec. This means that a storage account is capable of supporting 40 standard virtual hard disks at full utilization. If you need to scale out with more disks, then you’ll need more storage accounts, which can get complicated.
  • Managed disks
    Managed disks are the newer and recommended disk storage model. They elegantly solve this complexity by putting the burden of managing the storage accounts onto Azure. You specify the size of the disk, up to 4 TB, and Azure creates and manages both the disk and the storage. You don’t have to worry about storage account limits, which makes managed disks easier to scale out.
21
Q

Aside from the Portal, what other ways are there to create and administer resources in Azure?

A
Azure Resource Manager
Azure PowerShell
Azure CLI
Azure REST API
Azure Client SDK
Azure VM Extensions
Azure Automation Services
22
Q

Where can you create a Resource Manager Template?

A
  • From the Settings section for a specific VM by selecting the Export template option.
  • At the very last step in the creation of the VM.
23
Q

Suppose you have created a ARM Template, how can you ensure to be able to use the same template over and over again without changing the resource names in the Template?

A

You can parameterize fields such as the VM name, network name, storage account name, etc., and load the template repeatedly, using different parameters to customize each environment.

24
Q

How can you process ARM Templates aside from the Portal?

A

Azure CLI
PowerShell
REST APIs

25
Q

What is the PowerShell cmdlet to create a new VM?

A

New-AzVM

26
Q

Which PowerShell cmdlet is used to connect to you Azure Account?

A

Connect-AzAccount

27
Q

Which Azure CLI command is used to connect to you Azure Account?

A

az login

28
Q

What are Azure VM extensions?

A

Azure VM extensions are small applications that allow you to configure and automate tasks on Azure VMs after initial deployment.

29
Q

What is Azure Automation Services?

A

Azure Automation allows you to integrate services that allow you to automate frequent, time-consuming, and error-prone management tasks with ease. These services include process automation, configuration management, and update management.

30
Q

How many VM instances should you deploy for an SLA of 99,95%?

A

Microsoft offers a 99.95% external connectivity service level agreement (SLA) for multiple-instance VMs deployed in an availability set. That means that for the SLA to apply, there must be at least two instances of the VM deployed within an availability set.

When you place VMs into an availability set, Azure guarantees to spread them across Fault Domains and Update Domains.

31
Q

What is the function a Azure Site Recovery?

A

Azure Site Recovery replicates workloads from a primary site to a secondary location.
Azure Site Recovery works with Azure resources, or Hyper-V, VMware, and physical servers in your on-premises infrastructure.

32
Q

What is Azure Backup?

A

Azure Backup is a backup as a service offering that protects physical or virtual machines no matter where they reside: on-premises or in the cloud.