Microsoft Azure Interview Questions | Eklavya Online

Microsoft Azure Interview Questions

It is not supported by the Azure portal. We cannot use Azure Resource Manager to deploy a Virtual machine into a virtual network which was created using classic deployment.

Availability Set is a grouping of Azure Virtual Machines. The availability set allows the Azure cloud to build and understand how the application for a user is constructed to provide availability and redundancy.

The Azure Cloud service offers multiple web applications in Azure; it categorizes the services and allows us the flexible scaling for our use. The Azure cloud service was launched in the year 2010. It is a dynamic cloud platform that offers development, data storage, service hosting, and service management.

No, if we want our VM to be part of an availability set, then we need to create the VM within the set.

Azure provides the scaling of the services automatically when needed. It depends upon the use, time, and traffic that comes to our application. For example – The traffic will be higher during the examination on any exam-related application or website. Then Azure will automatically modify the setting and provide the resources as required.

Options for storing data includes:

  • Azure files
  • OS drive
  • Scale set
  • Temp drive
  • Azure data service
  • External data service

In case of a drive failure, we should follow these steps:

  • Unmount the drive, which allows the Azure storage object to function without fault.
  • In the case of replacement, we will format and remount the drive.

Azure Resource Manager is used to manage resources in Microsoft Azure. It is used to deploy, manage, and delete all the resources together using a simple JSON script.

In Azure, each data disk can be up to 1 TB. The number of disks we can use depends upon the size of the virtual machine. Azure Managed Disks are the recommended disk storage offering to use with Azure Virtual Machines for persistent storage of data. We can use multiple Managed Disks with each Virtual Machine.

A storage key is an authentication method that can be used to validate access for the storage service account to control data based on our prerequisites. We have an alternative to give a primary access key and a secondary access key. The main reason for using a secondary access key is to avoid downtime to the application or website.

Redis cache is an open-source, in-memory data structure store, which is used as a database, cache, and message broker. Azure Redis Cache resembles the famous open-source Redis cache. It provides access to a secure and dedicated Redis cache that is managed by Microsoft and accessible from any application inside Azure.

We can represent our network within the cloud using VNet. VNet logically isolates our instances launched in the cloud, from the rest of our resources. The various power state of a Virtual Machine is: Running, Starting, Stopping, Deallocating, etc.

Microsoft released SDKs for both Java and Ruby to allow applications written in those languages to place calls to the Azure Service Platform API to the AppFabric Service.

It is a cloud search-as-a-service solution that delegates server and infrastructure management to Microsoft, leaving us with a ready-to-use service that we can populate with our data and then use to add search to our web or mobile application. Azure search allows us to easily add a robust search experience to our applications using a simple REST API or .NET SDK without managing search infrastructure or becoming an expert in search.

Microsoft Azure SQL database is a way to get associated with cloud services where we can store our database into the cloud. It has a similar component of SQL Server, i.e., high accessibility, versatility, and security in the core.

A cmdlet is a lightweight command that can be used as a part of the Microsoft Azure PowerShell environment. The cmdlets are summoned by the Azure PowerShell that automates the script, which is in the command line. Azure PowerShell runtime additionally invokes them automatically through Azure PowerShell APIs.

It is a fully managed, open-source, compatible in-memory data store to power fast and scalable applications.

A network security group allows us to manage the network traffic to NIC or subnets etc. The network load will be distributed as needed if it is connected wisely.

Roles are nothing, but the servers are layman terms. Servers are managed, load-balanced, platform as a Service virtual machines that work together to achieve a common goal.

These roles are divided into three parts

Web Role: It is used to deploy a website, using the languages supported by the IIS platform (like PHP, .NET, etc.). It was configured and customized to run web applications.
Worker Role: It helps the web role to execute background processes, unlike the web Role, which is used to deploy the website.
VM Role: It can be used by a user to schedule tasks and other windows services. We can use the VM role to customize the machine on which the web and worker role is running.

az vm create `
–resource-group myResourceGroup `
–name myVM –image win2016datacenter `
–admin-username Azureuser `
–admin-password myPassword12

The migration assistant tool examines our IIS installation and recognizes the sites that can be migrated to the cloud, featuring any components which can’t be relocated or not supported by the platform. This tool similarly creates websites and databases provided under the given Azure membership.

# Define a credential object
$cred = Get-Credential
# Create a virtual machine configuration
$vmConfig = New-AzureRmVMConfig -VMName myVM -VMSize Standard_DS2 |
` Set-AzureRmVMOperatingSystem -Windows -ComputerName myVM -Credential $cred |
` Set-AzureRmVMSourceImage -PublisherName MicrosoftWindowsServer -Offer WindowsServer `
-Skus 2016-Datacenter -Version latest | Add-AzureRmVMNetworkInterface -Id $nic.Id

Cspack is a command-line tool, which is used to generate a service package file. It helps us to prepare an application for deployment, either in compute emulator or Microsoft Windows Azure.

It is an Azure compute resource that we can use to deploy and manage a set of identical VMs. It is easy to build large-scale services that target big compute, big data, and containerized workloads if all the VMs configured the same.

Service Fabric enables us to build applications that consist of microservices. Stateless micro-service doesn’t maintain a mutable state outside a request. Azure Cloud Service’s worker role is an example of a stateless service. Stateful microservice maintains a mutable, authoritative state beyond the request and its response.

The SLA ensures that when we send two or more role instances for each role. Access to our cloud service will be maintained with an accuracy of 99.95 % of the time. The identification and re-correction activities will be started 99.9 % of the time whenever a role instance’s procedure is not running.

It is a platform where we can store and access our data over the internet. We can store and access our data from anywhere in the world.

The two types of blobs in Azure are:

  • Block Blob
  • Page Blob

Windows Azure has the following three principal segments:

  • Windows Azure Compute: It gives a code that can be managed by the hosting environment. It provides the benefit of
  • calculation through parts. It consists of three types of roles – Web Role, Worker Role, and VM Role.
  • Windows Azure Storage: It gives four types of Storage services – Queue, Tables, Blobs, and Windows Azure Drives (VHD)
  • Windows Azure AppFabric: AppFabric provides five services – Service bus, Access, Caching, Integration, and Composite.

A web role in Azure is a virtual machine instance running Microsoft IIS Web server that can accept and respond to HTTP or HTTPS requests.