Cloud / Microsoft Azure Interview Questions
Azure is a cloud computing platform from Microsoft and an online portal that allows you to access and manage cloud services/resources provided by Microsoft. These services and resources include storing your data and transforming it, depending on your requirements.
Cloud computing is the use of servers on the internet to store, manage and process data. The difference is, instead of using your own servers, you are using someone else's (providers) servers to do your task and pay them for the amount of time you use it for.
- IaaS, Infrastructure as a service, you get hardware from your cloud provider which you will configure to use it.
- PaaS, Platform as a service, provides a platform to setup/publish without giving accsss to the underlying software or OS.
- Saas, Software as a service, provides software to use such as Mongo DB, Messaging services.
There are 3 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 it to you as a service exclusively.
Hybrid Cloud: When you use public cloud, and private cloud together, it is called Hybrid Cloud. For example, use your own servers for authentication/confidential data while using the public cloud for hosting the company's public website.
- Application insights,
- Azure Resource Manager,
- Azure Portal,
- and Log Analytics.
A role definition is a collection of permissions that can be performed, such as read, write, and delete. It's typically just called a role. Azure role-based access control (Azure RBAC) has over 120 built-in roles or you can create your own custom roles.
There are 3 types of roles in Microsoft Azure:
The Web Role in a cloud application is a role supported by IIS7 and ASP.NET. It is used to provide a web-based front-end for your hosted service. This can contain websites or other code supported by IIS.
The Worker Role is used for generalized operations of the service. These are like worker bee. Worker roles may also perform background tasks for the web role. The worker role is ideal for long-running or intermittent tasks. Examples of tasks performed include: CPU intensive computations.
The VM or Virtual Machine Role is a special role that job is to define the configuration and updating of the operating system for the virtual machine. Both the web role and worker role run inside the VM role. It gives full control of operations.
Cloud Elasticity is the property of a cloud to grow or shrink capacity for CPU, memory, and storage resources to adapt to the changing demands of an organization.
Containers contain everything the app (code) needs to run in a "container image". Containers make it fast and easy to deploy the apps.
Azure Container Instance (ACI) is a single instance and deploys a container image.
Azure Kubernetes Service(AKS) runs on a cluster of servers, suitable for enterprise applications..
Azure Virtual Desktop is the desktop version of windows that runs in the cloud. You install software, and access files anywhere from web browsers or mobile phone. Azure Virtual Desktop runs on Azure.