Microsoft Azure Interview Questions and Answers
Here is a list of 40 Tricky and Simple Azure Interview Questions AnswersQ1). How are cloud service models different from each other?
There are three Cloud services models – These are IaaS, PaaS, SaaS.
Let us check further – IaaS vs. SaaS vs. PaaS.
IaaS :- The raw hardware is given as a service that can be configured as per your will.
PaaS :- Platform is given as a service without giving access to the underlying OS.
SaaS :- You will get Software as a service, neither platform nor infrastructure.
Q2). How can you define cloud computing?
Here, servers are used on the internet to store, process, or manage the data. Instead of using your own server, you can hire servers on the internet to complete a particular task and you can pay for the services whatever you have used recently.
Q3). What are the different models for the cloud deployments?
Public Cloud: Here, the infrastructure is owned by the cloud provider and it can be used by multiple tenants ahead.
Private Cloud: The infrastructure is owned by the tenants and it is not shared by users ahead.
Hybrid Cloud: When the concept of public cloud and private cloud are combined together, it is called the hybrid cloud.
Q4). I have two private servers and distributed some of the workloads on the public cloud then which type of cloud deployment is this?
This is an example of a Hybrid Cloud Deployment Model.
Q5). What do you mean by the Azure Cloud services and its significance too?
Companies which are providing the cloud services are named as the cloud providers. One of the best cloud service Providers is Azure and it is used to access Microsoft’s infrastructure for Cloud.
Q6). What service can be used to manage resources in Azure?
It is the Microsoft Resource Manager that is used to manage resources in Azure.
Q7). Which web apps can be deployed with Azure?
These Asp.Net, WCF, and PHP.
Q8). What are the different roles in Azure?
There are three types of roles in Azure – Web Role, Worker Role, and VM.
The Web role is basically dedicated to the website deployments.
The Worker role is used to manage background processes in Azure.
VM role is required to manage or schedule tasks. He is responsible for customizing machines and managing other Azure roles too.
Q9). Can you create a virtual machine by using Microsoft Azure Resource Manager in a Virtual Network?
No, this is not possible creating a virtual machine using Azure Resource Manager.
Q10). How will you define the virtual machine scale sets in Azure?
The virtual machine scale sets in Azure are used to manage or deploy identical virtual machines (VMs) in Azure. This is easy to design large-scale services that are especially targeted for the big compute and containerized workloads.
Q11). Is it possible to support disks within scale sets?
Yes, disks are supported within scale sets in Azure. The other options that can be used for data storage include – Data File, OS drive, Temp drive, Azure Data Drive, and External data services.
Q12). How will you define an availability set in Azure?
An availability set in Azure is a logical set of VMs that will help you in understanding how the application is designed or built to handle redundancy more effectively.
Q13). How will you define the Fault Domains?
This a logical group of underlying hardware sharing common network, power source, and on-premises data centers. Within an availability set, VMs are distributed automatically across fault domains. With this approach, the chances of network failures, network outages, and power interruptions can be reduced significantly.
Q14). How can you define the Update domains in Azure?
This is a logical group of underlying hardware that goes under maintenance and rebooted at the same time. Within an availability set, VMs are distributed automatically across update domains. It makes sure that one instance of your application is always in the running state.
Q15). What do you mean by the network security groups?
A network security group is generally needed to manage the network traffic to NIC or subnets etc. When they are connected together in a best possible way then network loads can always be managed wisely.
Q16). How scale sets and availability sets work together in Azure?
A scale set could be defined as the explicit availability set with five fault domains and five update domains.
Q17). What are the break-fix issues in Azure?
The break-fix issues or technical problems are the same and it involves the necessary work done by Azure developers to fix the technical issues.
Q18). What is the usage of AAD (Azure Active Directory) in Azure?
AAD is an access or identity management system that is used to set permissions for employees within a network. The Directory has a plenty of inbuilt functions that can be added directly whenever needed.
Q19). What should be done when a maximum number of authentication attempts are completed in Azure ADD?
Here, we need a sophisticated strategy to lock accounts. It is little technical and based on IP address of the network. The lockout duration can be increased in the attempt of an attack.
Q20). How will you find the list of apps that are pre-integrated with ADD?
The Azure Active Directory has more than 2600 apps that pre-integrated and helps you in accessing application more securely.
Q21). How can you access apps to ADD?
This is always easy accessing apps to ADD more securely and connect with web apps as per your conditions. The best part is that there is no need for VPN to change the network infrastructure.
Q22). How will you define the Azure Service Fabric?
The Azure Service Fabric is a distributed platform where deployment, packaging, scaling, maintenance is much easier than your expectations. The service fabric is also able to manage or develop cloud apps more confidently. The complex infrastructure can be avoided and developers can always focus on the core tasks.
Q23). What is a VNET?
With VNET, you can always represent your own network within the cloud. It could isolate the instances logically that are launched within the cloud.
Q24). How subscription administrator is different from the directory administrator in Azure?
By default, every user is assigned to the subscription administrator role and he is given a Microsoft account or an Azure account too. The person is responsible for managing services in the Azure portal and the user should log in with the same account that is assigned.
Q25). Do there are any scale limitations for customers using managed disks?
With the help of managed disks, you can always eliminate the limits associated with the storage accounts. However, the number of disks associated with each subscription is 2000 by default.
Q26). How will you differentiate the storage queues and service bus queues?
The storage queues are used to access data from files and they are especially useful during the development and the QA activities. At the same time, Azure service bus queues are used to delete contents automatically after a configurable idle time.
Q27). How will you define the Redis Cache in Azure?
This is an open-source in-memory data structure that can be used as the message broker, or database, or cache etc. This is a secure Redis Cache managed by the Microsoft and it is accessible from any application within Azure. Also, it could support multiple data structures too.’
Q28). Why Redis Cache in Azure has not the class library like other Azure Services?
As you know that each client is different and there is no central reference to MSDN. Each client manages its reference documentation by its own in different languages and styles.
Q29). How can you define the Redis Databases?
The Redis database is the logical separation of data from Redis instances. You can store up to 53 GB within a database and divided data into multiple databases as per the requirements.
Q30). Can you add some existing virtual machine to an availability set?
No, this is not possible. For this purpose, you should create a new VM within the set.
Q31). Are there any user requirements when creating a new Virtual Machine?
The length of username should not be more than 20 characters and it cannot end with a period.
Q32). How much data can be stored within a VM?
It could store maximum one TB data and the number of disks depends on the requirements. Azure offers the most stable data storage mechanism in the form of disks that could be either Premium or Managed disks.
Q33). What are the requirements for creating a password in VM?
The password could be 23-123 characters in length and it should follow the complex conditions like one alphabet, one digit, and one special character too. Alphabet could be either lower case or upper case based on requirements.
Q34). Name different power states of a Virtual Machine.
These are Running, Starting, Stopping, Stopped, Deallocated, or Deallocating etc.
Q35). How can you stop a Virtual machine within a power shell?
Stop-AzureRmVM –ResourceGroupName MyResourceGroupBm –Name “MyVM” – Force
Q36). What could be the reason for client disconnection from the Cache?
It could be the client-side reasons or issues at the server side. You should check your network carefully then solve the issues accordingly.
Q37). How will you define the Azure Search?
This is a cloud-based service that is designed for the server or infrastructure management. It will populate the related data when a particular topic is searched on the web. It gives you a robust search experience with a simple REST API, or .NET SDK etc.
Q38). Does Azure support continuous integration or deployment services for the custom containers?
Yes, it is possible.
Q39). Give an overview of the Azure subscription pricing.
Azure prices are generally based on product types. The software and infrastructure costs are charged differently as per Azure subscriptions.
Q40). How will you define the application partition scheme in Azure?
The application partitions are basically the domain partitions that are replicated to the domain controllers. The purpose of an application partition is to reduce the replication traffic within a particular domain area.