Azure Virtual Machine
Introduction to Azure Virtual Machines
Hope you have a good foundational understanding of Azure IaaS and PaaS. If not, you
should through the Azure Essentials and Azure Essentials Continuum courses
before going any further.
In this course, you will learn:
Planning for Azure Virtual Machine (VM)
VM creation using Custom Image, template and PowerShell
Creation of Azure Linux VM
Configuration of IP address, AV set, and VM Scale set
Managing and Monitoring VM
Note: This course has been curated using the materials/resources received through our
partnership with Microsoft. The course content is referred from the official Microsoft site.
On-Premises vs Azure Virtual Machines
In Microsoft Data-centers, Azure Virtual Machines (VMs) are hosted on Windows
Server 2012 R2 Hyper-V servers. But these VMs are different from On-Premises VMs
in the following aspects:
Console access for Azure VMs can be given by enabling monitoring option.
Azure supports Generation 1 VMs only.
Azure VMs do not support VHDX format.
Azure VMs do not support OS upgrade.
Azure VMs depend on the VM size and support more than 1 NICs.
Deployment Scenarios
Typical deployment scenarios of VMs are listed below,
Create Test and Dev Environments
Extending your data center to the cloud
Hosting certain applications in the cloud that can leverage benefits of the
cloud. Example - Seasonal Applications.
Installing Recovery Site using IaaS-based DRS approach that provides
significant costs savings.
High-performance computing to solve complex problems involving millions of
variables or calculations such as an earthquake.
Big data analysis that involves processing and mining massive datasets.
Planning Considerations
While planning for the virtual machine deployment, you have to consider the following,
1. Suitable and Unsuitable Workloads
2. Supported and Unsupported Server Roles
3. Supported and Unsupported Server Features
These topics will be discussed in the next few cards.
1. Suitable Workloads
Azure VMs can be used for the following Workloads.
Highly available service workloads. E.g., Online Stores.
Unpredictable Spikes - E.g., News Channels.
Periodic workloads - E.g., Retail sales spurt during Holiday Season.
Steady workloads - E.g., Extend or offload existing infrastructure to the cloud.
Unsuitable Workloads
When Planning Azure VMs, it is also important to understand that not every application
or service is a suitable fit for the cloud.
Examples
Low volume or limited growth workloads - such services or applications can
be run on commodity hardware on-premise and will be less expensive than in the
cloud.
Regulated environment workloads - Certain data is regulated by an
organization or the local government. Such restricted and confidential data must
be kept on-premises.
2. Unsupported Server Roles
Most of the Windows Roles can be enabled on Azure VMs, but few Roles are not
supported in Azure VM.
Dynamic Host Configuration Protocol Server
Hyper-V (Hyper-V role is supported in Azure Ev3 and Dv3 series VMs only)
Rights Management Services
Windows Deployment Services
3. Unsupported Server Features
The following significant features are not supported.
BitLocker Drive Encryption (on the operating system hard disk, may be used on
data disks)
Internet Storage Name Server
Multipath I/O
Network Load Balancing
Peer Name Resolution Protocol
RRAS
DirectAccess
SNMP Services
Storage Manager for SANs
Windows Internet Name Service
Wireless LAN Service
Azure Cost Optimization Tools
Now you know the consideration, the next major planning factors with any cloud-based
service are:
Availability of resources
Cost optimization.
To help with estimating the potential costs and to achieve the cost
optimization following tools are used:
Pricing Calculator tool enables you to estimate the cost of different workloads
and services in Microsoft Azure.
TCO Calculator estimates the cost savings that can be realized by migrating the
application workloads to Microsoft Azure.
Sizing and Configuration
Pricing Calculator can be used to estimate the costs for Azure VMs.
VM size and Configuration decides the Cost of the VM
VM sizing is based on,
Compute: Capacity required
Storage: Size, location, and configuration
Disk: Size, persistence and caching
VM configuration deals with,
Operating System: Windows Server 2012 R2, Windows Server 2016
IP Address allocation: Static or Dynamic IP addresses
Availability: Uptime requirements, geo-distribution, service level agreements,
and accessibility.
Scale set: Type of scaling and threshold
More on Planning for VMs
This video is the final note on the planning for VMs before we move on to Creation of
Virtual Machines.
Creating VM Using Custom Image
In the course Azure Essentials, you learned how to create VMs using the OS images
available in the Azure Market Place.
Now we will create VMs using a Custom image. Images can be created for Generation
1 VMs that are in the VHD file format.
Steps to create VM using Custom Image:
On-Premise
Prepare the VM. Make sure the VM has all the roles and features installed.
Run sysprep to prepare the machine.
Prepare the VM VHD.
Azure On-Premise
Create the Storage Container.
Upload the VHD.
Create a VM using the uploaded VHD.
Demo: Creating VM Using Custom Image
Watch this video to understand how to create a virtual machine using a custom image.
VM Creation Using Template
Getting Started with VM Creation
Now that you understand how to plan for VMs, next we will learn various ways
of Provisioning VMs.
Tool for deploying VMs:
Azure Portal
o Classic portal: V1 VMs only
o New portal: Both V1 and V2 VMs
Azure PowerShell
Azure CLI
ARM Template
Versions of VM (V1 and V2) are different from Generations of VM such as G1 and
G2.
Azure supports G1 VMs only
OS Image Sources
Azure Marketplace
Contains recent versions for Windows and Linux distributions
VM Depot
Community managed Repository of Linux and FreeBSD VM images
Custom Images
Enterprise OS images with Applications that must be captured from VM in the
Organization and uploaded in Azure to create further VMs
ARM Templates
Resource Manager templates are JSON files that define the resources to be
deployed for an Azure solution.
JSON editor or Visual Studio Code can be used to create templates.
Prerequisites to create a template:
Visual Studio Code.
Azure subscription.
Features and Benefits of ARM Templates
ARM Templates allow you to deploy identical environments to test staging and
production, ensuring high reliability.
Templates can be stored in the Azure Subscription and reused.
An entire Resource group can be exported as a Template.
ARM Templates can create resources in parallel.
ARM Templates can define dependencies among resources.
ARM Templates can create custom policies to control actions or operations that
can be performed on resources.
Importantly, ARM templates help to reduce human error when deploying complex
environments.
Deploying a VM Using ARM Template
ARM template is another way to create one or more Azure VMs quickly.
Steps:
Create the Template: You can create your own template or you can get it from
Azure Quickstarts Templates.
Create the Parameter File: To specify values for the resource parameters that
were defined in the template or parameters files.
Create the Resource Group: All resources, like virtual machines, must be part of
a resource group.
Deploy the Template: Once the template and resource files are ready, use
the New-AzureRmResourceGroupDeployment command to implement the
resource.
The template file can be created with a simple text editor and the file type is JSON.
VM Creation Using PowerShell
Azure Cloud Shell
Another popular way of managing VMs is using PowerShell or CLI interface. For this,
you would need Azure Cloud Shell.
Azure Cloud Shell is an interactive, browser-accessible shell for managing Azure
resources.
Features of Azure Cloud Shell:
It is a free shell that can be run directly on the Azure portal.
It has common Azure tools preinstalled and configured to use with your
account.
Click the Cloud Shell button on the menu in the upper-right of the Azure portal, and
you will able to launch both PowerShell and CLI interface.
It gives you the flexibility of choosing the shell experience that best suits the way you
work.
Knowing Cloud Shell
It runs on a temporary machine provided on a per-session, per-user basis.
It times out after 20 minutes without interactive activity.
It can only be accessed with a file share attached.
It uses the same file share for both Bash and PowerShell.
It is assigned to a one machine per user account basis.
Permissions are set as a regular Linux user (Bash).
Authentication and Pricing
Automatic authentication
Cloud Shell securely and automatically authenticates on each session for instant
access to your resources through the Azure CLI 2.0.
Pricing
The machine hosting Cloud Shell is free, with a prerequisite of a mounted Azure
file share.
Regular storage costs apply.
Use Cloud shell to create and manage the VMs.
Steps to Create VM using PS
1. Create Azure Connection
2. Create resource group
3. Create networking resources such as subnet, Vnet, NIC, Public IP Address.
4. Define a credential object
5. Create a VM configuration
6. Create virtual machine
PowerShell commands for above steps are uploaded in the Azure storage can be
accessed from:
Azure Portal - Storage - frescostepguide - file - Azure VM -
VM_Creation_PS.pdf
VM Creation using PS
Using listed PS commands in the following cards you will be able to create a VM with
configuration as below,
ResourceGroup - myResourceGroup
Location - EastUS
Subnet - mySubnet
AddressPrefix- [Link]/24
vnet - MYvNET
AddressPrefix - [Link]/16
VMSize - Standard_DS2
ComputerName - myVM
OS - Windows Server 2016 datacenter
Linux on Azure
Microsoft Endorsed some versions of Linux in the Azure Marketplace in which,
The Linux Integration Services (LIS) drivers for Hyper-V and Azure are kernel
modules that are contributed directly from MS to the upstream Linux kernel.
The Azure Linux Agent is already pre-installed and the source code can be
found on GitHub.
For Non-Endorsed Versions of Linux
You can bring your own Linux image by Creating and uploading a virtual hard disk
that contains the Linux OS.
Endorsed distributions
Azure SLAs applies only to the Endorsed versions
CentOS 6.3+
CoreOS 494.4.0+
Debian 7.9+, 8.2+
Oracle Linux 6.4+, 7.0+
RHEL 6.7+, 7.1+
SLES 11, SLES 12+, SLES for SAP11.3+
Open SUSE 13.2+
Ubuntu 12.04, 14.04, 16.04
Planning of Linux VM
Planning and Sizing of VM is same as Windows VMs.
Azure Marketplace includes a large number of Linux virtual machines and the ones in
the above illustration are just a few to mention.
Accessing of Linux VMs
Once the Linux VMs are created, it is required to access the VM.
Here are the few ways to access the VMs,
Azure Cloud Shell (CLI)
Bash Shell from Windows 10
Putty software
Next few cards explains how to manage Linux VM from Windows 10 Environment
Managing of Linux using Windows
A common problem encountered is how to easily manage Linux virtual machines from
Windows environments.
Windows 10 now makes it possible to run Linux Bash natively.
Bash on Windows allows you to:
Run common command-line utilities such as grep, sed, and awk.
Use the Linux-compatible filesystem & heirarchy and access fixed Windows
storage mounted under "/mnt/..."
Install additional Linux tools using apt
Invoke Windows applications from within Bash
Invoke Linux applications from within Windows
Run Bash shell scripts and Linux command-line apps, including:
o Tools: vim, emacs, tmux
o Languages: Javascript/[Link], Ruby, Python, C/C++, C# & F#, Rust, Go
o Services: sshd, MySQL, Apache, lighttpd
Installing Bash on Windows10
Installing Bash on Windows 10:
Turn on Developer mode via Settings > Update and Security > For Developers.
Enable Bash in Windows by adding the Windows feature "Windows Subsystem
for Linux (beta)".
Restart the Windows 10 workstation.
It can be enabled using PowerShell as:
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-
Subsystem-Linux
Accessing Bash on Windows 10:
Launch the command line and run the command Bash, to enter the Linux
subsystem. (or)
From the Start Menu select Bash on Ubuntu on Windows.
Managing Azure Virtual Machines
Once the VM is created, the following components must be configured to provide
consistency and high availability.
IP Addresses
Availability Set
Auto Scaling
You will learn the configuration of these components in this topic.
IP Addresses
IP address is assigned to Azure resources to communicate with other Azure resources,
on-premises network, and the Internet. It can be allocated in two ways,
Static Allocation
Dynamic Allocation
Types of IP Addresses
Public IP addresses - Used for communication with the Internet, including Azure
public-facing services.
E.g.: VMs, Internet-facing LB, VPN GW, and Application GW.
Private IP addresses - Used for communication within an Azure virtual network
(VNet), and on-premises network when a VPN is configured.
E.g.: VMs, Internal LB, and Application GW.
Dynamic allocation is the default method for both Private and Public IP
Addresses.
Public IP Allocation
Dynamic allocation method:
The public IP address is allocated when you start/create the associated resource
(like a VM or load balancer).
The IP address is released when you stop/delete the resource.
In this method IP address can change.
Static allocation method:
The IP address must be configured in "NIC" properties for the associated
resource.
It is released only when you delete the resource or change its allocation method
to dynamic.
In this method IP address will not change.
Private IP Addresses
Private IP Addresses
In both (dynamic or static) ways, the IP address is allocated from the address
range of the subnet to which the resource is attached.
In Dynamic allocation method the IP address is automatically allocated from the
resource's subnet (using DHCP). This IP address can change when the resource
is stopped and started.
In Static allocation method, the IP address must be assigned from the allocated
subnet and remains the unchanged till the VM is deleted.
Availability of Virtual Machines
By now, you should know that:
Availability set (AV set) is the Logical Grouping of two or more Azure
VMs and their domains.
AV set protects from planned (updates) and unplanned (hardware)
failures.
Here we will be focusing on Principles, SLAs and Creation of AV set.
Principles of creating Availability sets:
For redundancy, configure multiple VMs in an Availability Set.
Configure each application tier into separate Availability Sets.
Combine a Load Balancer with Availability Sets.
SLAs for Availability Sets
Azure offers the following SLAs if you use Availability set,
For all VMs that have two or more instances deployed in the same Availability
Set, Microsoft guarantees - VM Connectivity to at least one instance almost
99.95% of the time.
For any Single Instance VM using premium storage for all disks, Microsoft
guarantees - VM Connectivity of at least 99.9%.
Azure Scale Set
As you know, Scale set makes it easier to build large-scale services targeting high
compute, big data, and containerized workloads.
Scale sets are used to deploy and manage a set of identical VMs at the time of
requirement.
Azure Resource Explorer
It is particularly useful for viewing Azure scale sets - Individual VMs and their properties.
Azure Resource Explorer is a great tool to view and modify resources that are
created in the subscription.
The tool is web-based and uses the Azure portal login credentials.
The source for the Resource Explorer tool is available on GitHub.
Try out Azure Resource Explorer.
Guidance for Scale Set
Both Linux and Windows VM Scale Sets can be configured from the Azure Portal.
These scale sets are automatically created with load balancer NAT rules to
enable SSH or RDP connections.
Managed disks can have between 0 and 1000 VMs based on platform
images OR 0 to 100 VMs based on custom images.
The maximum, minimum and default number of VMs setting must be based on
resource consumption and actions are triggered automatically.
When the number of VMs is increased or decreased in a scale set, VMs are
balanced across update and fault domains to ensure, maximum availability.
Virtual Machine Disk
Azure VM uses Standard (HDD) or Premium (SSD) storage to create disks,
Size of the VM determines the number of disks
Disks are used to store an OS, applications, and data.
VMs also can have one or more data disks.
Premium storage requires DS or GS-series of VMs.
Disks are stored as .Vhd files in the storage accounts.
All disks are stored as VHDs, and the maximum capacity is 1023 GB.
Disk Types
There are three types of Disks:
1. Operating System Disks
Every VM has one attached OS disk.
It is registered as a SATA drive and labeled as the C: drive by default.
2. Temporary Disk
Every VM has a temporary disk that is automatically created.
On Windows VM, this disk is labeled as the D: drive by default.
It is used for storing [Link].
It is a non-persistent storage.
As it is temporary storage, don’t store data on the temporary disk.
Disk Types
3. Data Disks
Every VM can have data disks to store application data or other required data.
Data disks are registered as SCSI drives and are labeled with a letter that we
can choose.
Data disks are stored in a BLOB in an Azure storage account.
The size of the VM determines how the size of the temporary disk and the maximum
number of disks can be attached.
Managing VM Disk
Management of VM disk includes the following task,
Attaching Operating System or Data disk
Removing the Data disk
Modify the Disk settings, such as,
o Change the Caching behavior
o Increase the size
Storage Space feature of Azure VM must be leveraged to create the disk of more than
1TB.
Managing Virtual Machines
Various options are used to manage Azure VMs, some are available for all platforms,
and others just for Windows or Linux VM.
Remote Desktop Protocol: Only for Windows
Secure Shell: Only for Linux
VM Agents and Extensions: for both Windows and Linux
In this topic, you will able to understand how the above components are useful in
managing VMs.
Remote Desktop Protocol
Remote Desktop Protocol (RDP) enables Windows administrators to establish a
graphical user interface session with an Azure virtual machine.
The portals provide a .rdp file that can be downloaded and saved for initiating an
RDP connection to the specified VM.
Closely associated with the RDP utility is the Remote Desktop Connection
Manager.
This utility provides an interface for grouping and managing multiple VMs through
RDP connections.
Secure Shell
Secure Shell (SSH) is used to connect the Azure Linux VM from Windows Client.
The SSH endpoint is created by default when creating a Linux VM.
When creating a Linux VM, Secure Shell (SSH) must be enabled.
A connection must be established from a Windows client by using the Secure
Shell (SSH) protocol with a terminal. emulator, such as PuTTY to access Linux
VM
From a Linux client, an administrator may use an SSH client such as OpenSSH.
Azure VM Agent
The Microsoft Azure Virtual Machine Agent (AM Agent) is a secured, lightweight process
that manages VM interaction with the Azure Fabric Controller.
The VM Agent has a primary role in enabling and executing Azure VM extensions.
The Azure VM Agent is installed by default on any Windows VM deployed from an
Azure Gallery image.
The Azure VM agent can be downloaded and installed manually.
Azure VM Extensions
Azure VM extensions are small applications that provide post-deployment configuration
and automation tasks on Azure VMs.
Azure VM extensions can be
run by using the Azure CLI, PS, ARM templates, and the Azure portal.
bundled with a new VM deployment or run against an existing system.
An Administrator can install multiple extensions on a VM. They are offered
by Microsoft and third-party vendors.
Third Party VM Agent Extensions
The supported third-party VM agent extensions are:
DSC - Azure PowerShell DSC (Desired State Configuration)
MSEnterpriseApplication - System Center Role Authoring Extension
BGInfo - Background Info extension
VMAccessagent - VM Extension to enable Remote Desktop and password reset
Chefclient - Chef software agent
PuppetEnterpriseAgent - PuppetLabs agent
Symantec Endpoint Protection - Antivirus Supported by Symantec
Trend Micro Deep Security Agent - Trend Micro antivirus
Use Cases of VM Extensions
There are many different Azure VM extensions available, each with a specific use case.
Some example use cases are:
Configure VM monitoring by using the Microsoft Monitoring Agent VM extension.
Configure monitoring of your Azure infrastructure with the Datadog extension.
Apply PowerShell Desired State configurations to a VM by using the DSC
extension for Windows.
Configure an Azure VM by using Chef for Automating Azure VM deployment.
Discover VM Extensions
To see a complete list, run the following command with the ARM PowerShell module.
Get-AzureRmVmImagePublisher -Location WestUS | Get-AzureRmVMExtensionImageType
| Get-AzureRmVMExtensionImage | Select Type, Version
Try out the command in Azure Cloud Shell to get the list of VM Extensions.
Desired State Configuration (DSC)
Deploying and maintaining the desired state of your servers and application resources
can be tedious and error-prone. Azure supports several configuration management
systems.
Desired State Configuration (DSC)
DSC is a VM agent extension and works on both Windows and Linux.
DSC supports ARM templates, Azure PowerShell, and XPLAT-CLI.
Desired State Configuration (DSC) with Azure Automation helps consistently deploy,
reliably monitor, and automatically update the desired state of all IT resources, at scale
from the cloud.
Automation Tools
Chef and Puppet
Chef and Puppet are other configuration management tools used to automate the
entire lifecycle of our Azure infrastructure, from initial provisioning through
application deployment.
Both are popular Linux tools and VM agent extensions.
Ansible
Ansible is an open source, clientless automation tool.
It automates software and OS features provisioning, configuration management,
and application deployment.
Ansible includes a suite of modules for interacting with Azure Resource Manager,
making possible to create and orchestrate infrastructure in Azure.
Monitoring Overview
If you're deploying applications in datacenter, you obviously want to make an investment
in an enterprise-level monitoring system, such as Microsoft EMS or Operations
Manager or any large-scale distributed application monitoring systems.
However, Azure provides that Monitoring capability directly from the portal with no
additional or third-party software installation.
Now, let's have a quick look at how we can monitor a VM.
Monitoring and Diagnostics
The administrator enables and configures VM diagnostics from the Monitoring area of
the new portal VM blade.
Diagnostic logging can be enabled for
Basic metrics
Network and web metrics
.NET metrics
Windows event system logs
Windows event security logs
Windows event application logs
Diagnostic infrastructure logs
Alerts
We can receive an Alert based on monitoring metrics or events.
When the value of an alert rule crosses an assigned threshold, the alert rule
becomes active and sends a notification.
Notification email can be sent to the service administrator and co-administrators
or to another administrator based on the configuration.
Example:
Alert rule can be created which will trigger a mail to an Administrator when the CPU
percentage of guest OS value is greater than 75% in a five minute period.
Getting Started with Hands-On Exercises
You learned about Azure VMs deeply. Now it is time to practice what you learned.
Let's get started with the Hands-On exercises!
Azure Updates
Like many other cloud infrastructure platforms today,
Azure is continuously developing updates to its services and
components.
Every efforts have been taken to update course content where there are major
changes to product capability.
However, there will be occasions where course content does not exactly match
the latest version of the product.
Hence we encourage you to check Azure updates as a starting point for
the latest information about updates in Azure.
What differentiates Azure Resource Manager PowerShell cmdlets from
Service Manager PowerShell cmdlets?
All ARM PowerShell cmdlet names include the string 'RM' - correct
Which of the following option(s) is /are endorsed distributions when deploying
Linux as an Azure Virtual Machine?
All the options
What is the highest number of virtual machines a cloud service can hold?
50 - correct
Which of the following is the file format for the Resource Manager template?
JSON - correct
The smallest prescribed virtual machine for a production environment is
_______________.
A1 - correct
Which Windows Server feature(s) is / are not supported on Azure virtual
machines?
Multipath I/O - correct
An Azure Standard_A4 virtual machines has ____ cores.
8 -correct
You are creating an Azure virtual machine by using an ARM template. Which
of the following conditions must be met?
All elements in the ARM template must be defined
Which of the following helps you to easily identify which SKU is most likely to
satisfy your performance needs?
ACU – correct
You are using the Set-AzureRMVMSourceImage command with the -Version
parameter. You wish to ensure that you get the most current image. Which
value should you use with the -Version parameter?
Latest - correct
What differentiates Azure Resource Manager PowerShell cmdlets from
Service Manager PowerShell cmdlets?
All ARM PowerShell cmdlet names include the string 'RM' - correct
You have to create a custom virtual machine (VM). Also, you have to upload
the VM to Azure. What is the first step to start?
Sysrep
--
What is the highest number of virtual machines a cloud service can hold?
50 - correct
Standard_G1 – Standard_G5 and Standard_GS1 – Standard_GS5 would be
considerd for
VM SIZE FAMILY SIZES
Entry Level Basic_A0 – Basic_A4 and
Standard_A0 – Standard_A4
High Memory Entry Level Standard_A5 – Standard_A7
High Performance Computing Standard_A8 – Standard_A11
General Purpose Production Standard_D1 – Standard_D14 and
Standard_DS1 – Standard_DS14
General Purpose Production v2 Standard_D1_v2 –
Standard_D14v2
High Memory and Dense Local Standard_G1 – Standard_G5 and
Storage
Standard_GS1 – Standard_GS5
An Azure Standard_A4 virtual machines has ____ cores.
8 - correct
Which of the following is supported on Azure virtual machines?
Generation 1 virtual machines -cprrect
You have to create a custom virtual machine (VM). Also, you have to upload
the VM to Azure. What is the first step to start?
sysrep
Which of the following option(s) is /are endorsed distributions when deploying
Linux as an Azure Virtual Machine?
CentOs
==
Public IP addresses are used for communication with Public Facing
What is the largest size for a Resource Manager template 1MB
A _________ role is a virtual machine instance running Microsoft IIS Web server that can
accept and respond to HTTP or HTTPS requests. Web
Which of the following is a valid reason to deploy a virtual machine (VM) on-premises in
Hyper-V instead of in Azure? you need to deploy a VM wrong
Which of the following element allows you to create and manage virtual machines that serve
either in a Web role and a Worker role VM wrong
Which of the following helps Azure maintain high availability and fault tolerance when
deploying and upgrading applications? Availability sets
What is the maximum number of data disks supported by the Standard_A7 virtual machine
16
You can associate a public IP address with all of the following except Internal facing load
balancers
The Virtual Machine C: drive is a SATA drive that contains operating system files
Select the correct statement regarding the operating system upgrades of an Azure virtual
machine? All OS Wrong
Which tool is used to view details, such as IP addresses, about the virtual machines in a scale
set? Azure Resource Explorer
Which Windows Server feature(s) is / are not supported on Azure virtual machines?
MULTIPATH
Which of the following helps you to easily identify which SKU is most likely to satisfy your
performance needs?
ACU
You are creating an Azure virtual machine by using an ARM template. Which of the following
conditions must be met?
ALL RESOURCE MUST BE PART OF
What is the maximum number of virtual machines a cloud service can contain?
50
Which of the following is the file format for the Resource Manager template?
JSON
An Azure Standard_A4 virtual machines has ____ cores.
8
A Standard_A7 virtual machine would be considered for ________.
HM AND DENSE
Use the following command to create a virtual machine with Resource Manager ___________.
New-AzureRMVM
Which of the following is supported on Azure virtual machines?
G1
The smallest recommended virtual machine for a production environments is _____.
A1
You are deploying an Azure VM utilizing a template file from GitHub using the New-
AzureRMResourceGroupDeployment cmdlet. Which of the following parameters are likely to
be used with the cmdlet?
Resoucre Group name and template
Which of the following option(s) is /are endorsed distributions when deploying Linux as an
Azure Virtual Machine?
CENTOS
You are using the Set-AzureRMVMSourceImage command with the -Version parameter. You
wish to ensure that you get the most current image. Which value should you use with the
-Version parameter?
LATEST
You have to create a custom virtual machine (VM). Also, you have to upload the VM to Azure.
What is the first step to start?
PREPARE/SYSREP
What differentiates Azure Resource Manager PowerShell cmdlets from Service Manager
PowerShell cmdlets?
ALL ARM POWERSHELL CMDLET START WITH 'ARM'(NOT SURE)
**************************************
The Virtual Machine C: drive is a SATA drive that contains _______.
OS FILES*c
To use Premium storage, you will need a virtual machine in which of the following three
series?
ALL*c
Microsoft supports OS that is past their End of Support date without a Custom Support
Agreement (CSA).
TRUE*C
You add a data disk to an Azure virtual machine. What drive type is created?
SCSI *C
You need to add data to Azure by using the Azure import service. What should you do?
SHIP*C
Which of the following element allows you to create and manage virtual machines that serve
either in a Web role and a Worker role?
CLOUD SERVICE*C
Which of the following web applications can be deployed with Azure ?
all the options*c
What DNS record type is set when mapping a Custom Domain to be an alias for the default
{sitename}.[Link] domain name assigned to a Web App by Azure?
CNAME-C
Fs and F series of VMs are
COMPUTE*c
Azure virtual machines disks are stored as ______.
VHD files*C
What is the maximum number of data disks supported by the Standard_A7 virtual machine?
16*C
A _________ role is a virtual machine instance running Microsoft IIS Web server that can
accept and respond to HTTP or HTTPS requests.
CLIENT OR WEB
WORKER*WRONG
SERVER*WRONG
Temporary files must be stored on which drive
D:*C
For a virtual machine that acts as a domain controller, you should use a ______.
STATIC IP ADD
Which types of workload would be most suitable for deployment on Azure virtual machines?
ALL
You can associate a public IP address with all of the following except _________.
Internet facing LB (WRONG)
Which of the following is a valid reason to deploy a virtual machine (VM) on-premises in
Hyper-V instead of in Azure?
YOU NEED TO DEPLOY A VM THAT USES THE VHD FILE FORMAT
Which of the following defines a group of virtual machines that share a common set of
hardware, switches, and more than a single point of failure?
FAULT DOMAIN
Cross platform management options include all of the following except ________.
Azure CLI
From the virtual machine blade of the Azure portal, you can do all of the following actions to
your virtual machine, except?
VIEW LOGS (NOT SURE)
What feature does Azure Availability Sets provide?
REDUNDANCY (NOT SURE)
Which of the following would not use a private IP address?
ILB (NOT SURE)
Which tool is used to view details, such as IP addresses, about the virtual machines in a scale
set?
azure resurce explorer
Which components are examples of Infrastructure as a Service (IaaS) services?
all the oprtion
Which situation will prevent a virtual machine (VM) from being migrated from an on-premises
environment to Azure?
THE VM WAS CREATED BY USING HYPER-V (wrong)
THE VM HAS BEEN GENERALIZED BY USING [Link](NOT SURE)
Scales sets are often integrated with which of the following selections?
all the options
Which of the following can provide more capability as your workload increases?
scale sets
You need to deploy a virtual machine on Azure with a low memory entry level requirement.
Which virtual machine sizes should you consider choosing
Basic_A0- Basic_A4
You are designing a distributed application for [Link] application must securely integrate
with on-premises [Link] need to recommend a method of enabling Internet Protocol
security (IPsec)-protected connections between on-premises servers and the distributed
[Link] should you recommend?
Azure site-to-site vpn
Which Azure networking component is the core unit, from which administrators can have full
control over IP address assignments, name resolution, security settings and routing rules
Virtual Networks (VNETs)
[Link]
[Link]#.XBwK4FxKjIU
[Link]
High available applications are ____________.
NOT resilient
Microsoft uses industry standard _______________ dynamic routing protocol to exchange routes
between your on-premises network, your instances in Azure, and Microsoft public addresses.
NOT bgp
To delegate administrative tasks for specific resource groups in Azure which functionality
should be used?
Role based access control
Which of the following is a non-relational storage system for large-scale storage?
Data Lake Store
Which of the following VM configurations qualifies for SLA availability?
Single instance vm
Which of the following are methods Traffic Manager uses to pick endpoints?
ALL OPT
What VPN types are supported by Azure?
All opt
Which of the following web applications can be deployed with Azure?
All opt
There are predefined default rules for inbound and outbound traffic. You cannot delete these
rules, but how can you override them
By creating rules with a higher priority
Azure provides a DNS system to support most name resolution scenarios, with the exception
of
Hybrid connections
Multiple NICs are used to
High Network traffic management
What URL format can Blobs be accessed from
[Link] account name>.[Link].
What Assembly contains classes for working with Tables, Blobs and Queues
[Link]
Which emulators are installed with the Azure SDK
Compute & Storage Emulator
What is the fourth step of the basic steps for deploying a virtual machine in Azure?
Mandatory info
Scale Out in Azure
Increase instances
Microsoft supports OS that is past their End of Support date without a Custom Support
Agreement (CSA).
False
A company has 10 on-premises SQL databases.
The company plans to move the databases to SQL Server 2012 that runs in Azure
Infrastructure-as-a-Service (IaaS).
After migration, the databases will support a limited number of Azure websites in the same
Azure Virtual Network.
You have the following requirements:
You must restore copies of existing on-premises SQL databases to the SQL servers that run in
Azure IaaS.
You must be able to manage the SQL databases remotely.
You must not open a direct connection from all of the machines on the on- premises network
to Azure.
Connections to the databases must originate from only five Windows computers.
You need to configure remote connectivity to the databases.
Which technology solution should you implement?
Respuesta: Azure Virtual Network point-to-site VPN
You need to deploy a virtual machine on Azure with a low memory entry level requirement.
Which virtual machine sizes should you consider choosing?
Basic A0 - A4
Which types of workload would be most suitable for deployment on Azure virtual machines?
All options
You need to transfer several TBs of data to Azure Datacenter, but uploading over the network
is not feasible due to limited bandwidth, then how will you upload the data?
Use import and export service
Maximum number of VMs based on a custom VM image in a scale set is
1000
Network configuration files are defined in what format?
.XML
Which storage type should you use for streaming audio and video files?
Blob storage
Add-AzureRmVMNetworkInterface PowerShell command is used to
create ARM
GitHub is a web-based Git repository that is free to use for public and open source projects.
True
Storage Optimized VM series is ideal for
All
VPN Gate way must used to provide the connection between the Vnets of
Diferent subscription
You are using the Set-AzureRMVMSourceImage command with the -Version parameter. You
want to ensure you get the most current image. Which value should you use with the
-Version parameter?
Latest
In addition to the Production deployment slot, how many additional deployment slots can you
create?
4
WebJobs can be scheduled to be run
All
Azure data, by default, is replicated ________ times for data protection and writes are checked
for consistency.
3
What kind of NoSQL store are Azure Table Storage?
Document
Microsoft uses industry standard _______________ dynamic routing protocol to exchange routes
between your on-premises network, your instances in Azure, and Microsoft public addresses.
BGP
Fs and F series of VMs are
Compute optimized
Which service gives Microsoft Azure users access to the open source framework Hadoop?
HDInsight
ExpressRoute connections enable access to the,
All
Which statement regarding operating system upgrades of an Azure virtual machine is
supported?
NO support
Scale Out in Azure
Scale instances
You are creating an Azure storage account. You have decided on a general purpose storage
account. Which performance tier is available for general purpose storage accounts?
Standart
Azure data, by default, is replicated ________ times for data protection and writes are checked
for consistency.
3
An Azure Standard_A4 virtual machines has this many cores
8
Which Azure networking component is the core unit, from which administrators can have full
control over IP address assignments, name resolution, security settings and routing rules?
Vnets
Which of the following is a valid reason to deploy a virtual machine (VM) on-premises in
Hyper-V instead of in Azure?
Which of the following web applications can be deployed with Azure
All of the mentioned
A _________ role is a virtual machine instance running Microsoft IIS Web server that can
accept and respond to HTTP or HTTPS requests.
Web
You create a new Azure Web App with the URL prefix of "my-amazing-app". What
is the domain/url where the application is accessible from?
[Link]
Which of the following element allows you to create and manage virtual machines that serve
either in a Web role and a Worker role
Compute
What DNS record type is set when mapping a Custom Domain to be an alias for the default
{sitename}.[Link] domain name assigned to a Web App by Azure
CNAME
Answer - Azure Virtual Machine, Answer in green are all correct \u2013
Azure Virtual Machines
A Standard_A7 virtual machine would be considered for High Memory Entry Level
Which of the following is supported on Azure virtual machines Generation 1 virtual machines
Which Windows Server feature(s) is / are not supported on Azure virtual machines Multipath
I/O and Network Load Balancing
An Azure Standard_A4 virtual machines has ____ cores 8
You have to create a custom virtual machine (VM). Also, you have to upload the VM to Azure.
What is the first step to start Create a VHD file wrong
Use the following command to create a virtual machine with Resource Manager New-
AzureRMVM
Which of the following is the file format for the Resource Manager template JSON
You are using the Set-AzureRMVMSourceImage command with the -Version parameter. You
wish to ensure that you get the most current image. Which value should you use with the
-Version parameter? Latest
You need to add data to Azure by using the Azure import service. What should you do? Copy
the VHD to container Wrong
Which of the following web applications can be deployed with Azure All
Microsoft supports OS that is past their End of Support date without a Custom Support
Agreement (CSA). TRUE
Temporary files should be stored on which drive? D
Azure virtual machines disks are stored as VHD files
From the virtual machine blade of the Azure portal, you can do all of the following actions to
your virtual machine, except? View Logs
Which components are examples of Infrastructure as a Service (IaaS) services All
What is the maximum number of virtual machines a cloud service can contain 50
Scales sets are often integrated with which of the following selections? All
--