Google News
Microsoft Azure Interview Questions
Azure is a cloud computing platform which was launched by Microsoft in Feb 2010. It is a highly flexible cloud platform that offers development, data storage, service hosting, and service management.
The Azure platform has more than 200 products & services that provide solutions for different problems that companies might face today. Applications can be customized, built, and deployed as per business needs.
* Azure Cloud Service is a classic example of a platform as a service (PaaS). This was designed to support those applications which demand high scalability, reliability, and availability all within the constraints of reduced cost of operations. These are hosted on virtual VMs and Azure provides more control over them by letting the developers install the necessary software and enabling them to control remotely.

* Azure cloud services are used for deploying multi-tier web-based applications in Azure by means of creating an instance of cloud service. It is also possible to define multiple roles such as web roles, worker roles, etc for the purpose of distributed processing. Azure cloud services help in the easier and flexible scalability of the application.

* Each role of the cloud service has its own purpose and thereby its own configuration and application files.
Following are the three cloud deployment models :
Public Cloud : The infrastructure is owned by your cloud provider and the server that you are using could be a multi-tenant system.
Private Cloud : The infrastructure is owned by you or your cloud provider gives you that service exclusively. For eg: Hosting your website on your servers, or hosting your website with the cloud provider on a dedicated server.
Hybrid Cloud : When you use both Public Cloud, Private Cloud together, it is called Hybrid Cloud. For Example: Using your in-house servers for confidential data, and the public cloud for hosting your company’s public facing website. This type of setup would be a hybrid cloud.
A role instance is nothing but a virtual machine where the application code runs with the help of running role configurations. There can also be multiple instances of a role as per the definition in the cloud service configuration files.
Roles are nothing servers in layman terms. These servers are managed, load balanced, Platform as a Service virtual machines that work together to achieve a common goal.
There are 3 types of roles in Microsoft Azure :
* Web Role
* Worker Role
* VM  Role

Let’s discuss each of these roles in detail:
Web Role : A web role is basically used to deploy a website, using languages supported by the IIS platform like, PHP, .NET etc. It is configured and customized to run web applications.

Worker Role : A worker role is more like an help to the Web role, it used to execute background processes unlike the Web Role which is used to deploy the website.

VM Role : The VM role is used by a user to schedule tasks and other windows services. This role can be used to customize the machines on which the web and worker role is running.
This is not supported. You cannot use Azure Resource Manager to deploy a virtual machine into a virtual network that was created using classic deployment.
Virtual machine scale sets are Azure compute resource that you can use to deploy and manage a set of identical VMs. With all the VMs configured the same, scale sets are designed to support true autoscale, and no pre-provisioning of VMs is required. So it’s easier to build large-scale services that target big compute, big data, and containerized workloads.
If the above question appears as the Azure cloud interview questions your most appropriate answer will be scaling is one of the advantages that are of two types;
Vertical scaling, where the configuration yields to increase the existing capacity of the machine. Just like expanding the size of the RAM from 4GB to 32GB.

Horizontal Scaling, an aspect where the physical aspect is increased like putting multiple machines at work instead of replacing the existing machine.
There are several advantages of cloud computing which are as follows : 

* The main advantages of cloud computing systems are reduced operational and IT maintenance costs and faster development, leading to improved time to market products and services.

* There is infinite storage capacity and high availability. 
* Cloud computing systems allow for rapid application development without businesses worrying about their infrastructure, software, and hardware requirements.

* They are highly available which increases its end users to get benefited by every inch.

* The system is capable of tolerating fault of a single part and overcomes it by remaining completely functional.

* The service allows you to pay only when the system is in use. You can easily reallocate the system when you use them and get saved from the charge.

* The system has brought into light the payment for the operation rather than the investment in the machines.

* Cloud systems are cost-efficient, flexible, and secure. The failover and backup processes are straightforward.
Public cloud Private cloud
Not fully customizable Completely customizable
Suitable for content that is not too sensitive Suitable for highly confidential data
Supports multiple customers Supports a cluster of dedicated customers
Virtualized resources are shared publicly  Virtualized resources are shared privately
Connects over the internet Connects over a private network and fiber
Lower cost of operations as services are managed by the provider Higher price because of customizations and control