Compute and networking services Flashcards

1
Q

What is the purpose of VMs?

A

VMs provide infrastructure as a service (IaaS) in the form of a virtualized server and can be used in many ways. Just like a physical computer, you can customize all of the software running on your VM.

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

When would you choose to use a VM?

A
  • Total control over the operating system (OS).
  • The ability to run custom software.
  • To use custom hosting configurations.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

why choose a VM over physical hardware?

A

An Azure VM gives you the flexibility of virtualization without having to buy and maintain the physical hardware that runs the VM. However, as an IaaS offering, you still need to configure, update, and maintain the software that runs on the VM.

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

What is an image and why is it useful?

A

An image is a template used to create a VM and may already include an OS and other software, like development tools or web hosting environments.

You can even create or use an already created image to rapidly provision VMs. You can create and provision a VM in minutes when you select a preconfigured VM image.

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

Scale VMs in Azure

A

You can run single VMs for testing, development, or minor tasks. Or you can group VMs together to provide high availability, scalability, and redundancy. Azure can also manage the grouping of VMs for you with features such as scale sets and availability sets.

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

what is the purpose of virtual machine scale sets?

A

Virtual machine scale sets let you create and manage a group of identical, load-balanced VMs.

With virtual machine scale sets, you can build large-scale services for areas such as compute, big data, and container workloads.

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

virtual machine scale sets vs multiple vms

A

If you simply created multiple VMs with the same purpose, you’d need to ensure they were all configured identically and then set up network routing parameters to ensure efficiency. You’d also have to monitor the utilization to determine if you need to increase or decrease the number of VMs.

with virtual machine scale sets, Azure automates most of that work. Scale sets allow you to centrally manage, configure, and update a large number of VMs in minutes. The number of VM instances can automatically increase or decrease in response to demand, or you can set it to scale based on a defined schedule. Virtual machine scale sets also automatically deploy a load balancer to make sure that your resources are being used efficiently.

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

what are virtual machine availability sets?

A

Virtual machine availability sets are another tool to help you build a more resilient, highly available environment. Availability sets are designed to ensure that VMs stagger updates and have varied power and network connectivity, preventing you from losing all your VMs with a single network or power failure.

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

Virtual machine availability sets accomplish these objectives by grouping VMs in two ways:

A

update domain and fault domain.

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

Virtual machine availability sets accomplish these objectives by grouping VMs in two ways:

update domain

A

The update domain groups VMs that can be rebooted at the same time. This setup allows you to apply updates while knowing that only one update domain grouping is offline at a time. All of the machines in one update domain update. An update group going through the update process is given a 30-minute time to recover before maintenance on the next update domain starts.

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

Virtual machine availability sets accomplish these objectives by grouping VMs in two ways:
fault domain.

A

The fault domain groups your VMs by a common power source and network switch. By default, an availability set splits your VMs across up to three fault domains. This helps protect against a physical power or networking failure by having VMs in different fault domains (thus being connected to different power and networking resources).

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

Examples of when to use VMs

A

During testing and development. VMs provide a quick and easy way to create different OS and application configurations. Test and development personnel can then easily delete the VMs when they no longer need them.

When running applications in the cloud. The ability to run certain applications in the public cloud as opposed to creating a traditional infrastructure to run them can provide substantial economic benefits. For example, an application might need to handle fluctuations in demand. Shutting down VMs when you don’t need them or quickly starting them up to meet a sudden increase in demand means you pay only for the resources you use.

When extending your data center to the cloud: An organization can extend the capabilities of its own on-premises network by creating a virtual network in Azure and adding VMs to that virtual network. Applications like SharePoint can then run on an Azure VM instead of running locally. This arrangement makes it easier or less expensive to deploy than in an on-premises environment.

During disaster recovery: As with running certain types of applications in the cloud and extending an on-premises network to the cloud, you can get significant cost savings by using an IaaS-based approach to disaster recovery. If a primary data centre fails, you can create VMs running on Azure to run your critical applications and then shut them down when the primary data centre becomes operational again.

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

When you provision a VM, you’ll also have the chance to pick the resources that are associated with that VM, including:

A

Size (purpose, number of processor cores, and amount of RAM)
Storage disks (hard disk drives, solid state drives, etc.)
Networking (virtual network, public IP address, and port configuration)

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