Azure Interview Questions

Get fully prepared for your next Azure interview with these essential questions covering key services, architecture, and best practices.

Saartje Ly

Data Engineering Intern

August 21, 2024

Preparing for an Azure interview? This blog covers crucial Azure interview questions that can help you excel at your next job opportunity. Whether you're a beginner looking to break into cloud computing or an experienced professional aiming to advance your career, these questions will test your knowledge of Azure's core services, architecture, and best practices.


1. What is cloud computing?

Explanation: It 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 serves to do your task, paying them for the amount of time you use it for.


2. What are the different types of services offered in the cloud?

Explanation: The different type of services offered in the cloud are:

  • IaaS

  • PaaS

  • SaaS

IaaS: In infrastructure as a service, you get the raw hardware from your cloud provider as a service i.e. you get a server which you can configure with your own will.

PaaS: Platform as a Service gives you a platform to publish without giving the access to the underlying software or OS. For example: Web Apps, Mobile Apps in Azure.

SaaS: You get software as a service in Azure, i.e no infrastructure, no platform, simple software that you can use without purchasing it. For example: when you launch a VM on Azure, if we talk about the OS, you are not buying the OS, you are basically renting it for the time you will be running that instance.


3. What are the different cloud deployment models?

Explanation: 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 inhouse 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.


4. I have some private servers on my premises, also I have distributed some of my workload on the public cloud, what is this architecture called?

Explanation: This type of architecture would be a hybrid cloud. Why? Because we are using both, the public cloud and your on premises servers i.e the private cloud. To make this hybrid architecture easy to use, it would be better if your private and public cloud were all on the same network (virtually). This is established by including your public cloud servers in a virtual private cloud, and connecting this virtual cloud with your on premise servers using a VPN (Virtual Private Network).


5. What is Microsoft Azure and why is it used?

Explanation: Microsoft Azure is a company which provides a cloud service (also known as a cloud provider). There are a lot of cloud providers out there, and out of them one is Microsoft Azure. It is used for accessing Microsoft's infrastructure for cloud.


6. Which service in Azure is used to manage resources in Azure?

Explanation: Azure Resource Manager is used to "manage" infrastructures which involve a number of azure services. It can be used to deploy, manage, and delete all the resources together using a simple JSON script.


7. Which web application can be deployed with Azure?

Explanation: ASP.NET, PHP, and WCF. Microsoft also has 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 AppFabricService.


8. A _____ role is a virtual machine instance running Microsoft IIS Web server that can accept and respond to HHTP or HTTPS requests?

  1. Web

  2. Server

  3. Worker

  4. Client

Explanation: Web Role.


9. What is the use of roles in Microsoft Azure?

Explanation: 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 a 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.


10. Is it possible to create a Virtual Machine using Azure Resource Manager in a Virtual Network that was created using classic deployment?

Explanation: No.


11. What are Virtual Machine scale sets in Azure?

Explanation: Virtual Machine scale sets are an Azure compute resource that you can use to deploy and manage a set of identical VMs. With all 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.


12. Are data disks supported within scale sets?

Explanation: Yes. A scale set can define an attached data disks configuration that applies to all VMs in the set. Other options for storing data include:

  • Azure files (SMB shared drives)

  • OS drive

  • Temp drive (local, not backed by Azure Storage)

  • Azure data service (for example, Azure tables, Azure blobs)

  • External data service (for example, remote database)


13. Do scale sets work with Azure availability sets?

Explanation: Yes. A scale set is an implicit availability set with 5 fault domains and 5 update domains. Scale sets of more than 100 VMs span multiple placement groups, which are equivalent to multiple availability sets. For more information about placement groups, see Working with large Virtual Machine scale sets. An availability set of VMs can exist in the same virtual network as a scale set of VMs. A common configuration is to put control node VMs (which often require unique configuration) in an availability set and put data nodes in the scale set.


14. What is a break-fix issue?

Explanation: Technical problems are called break-fix issues - it is an industry term which refers to "work involved in supporting a technology when it fails in the normal course of its function, which requires intervention by a support organisation to be restored to working order"


15. Why is Azure Active Directory used?

Explanation: Azure Active Directory is an Identity and Access Management system. It is used to grant access to your employees to specific products and services in your network. For example: Salesforce.com, X etc. Azure AD has some in-built support for applications in its gallery which can be added directly.


16. What happens when you exhaust the maximum failed attempts for authenticating yourself via Azure AD?

Explanation: A more sophisticated strategy is used to lock accounts. This is based on the IP of the request and the passwords entered. The duration of the lockout also increases based on the likelihood that it is an attack.


17. Where can I find a list of applications that are pre-integrated with Azure AD and their capabilities?

Explanation: Azure AD has around 2600 pre-integrated applications. All pre-integrated applications support single sign-on (SSO). SSO lets you use your organizational credentials to access your apps. Some of the applications also support automated provisioning and de-provisioning.


18. How can I use applications with Azure AD that I'm using on premises?

Explanation: Azure AD gives you an easy and secure way to connect to the web applications that one chooses. You can access these applications in the same way you access your SaaS apps in Azure AD, no need for a VPN to change you network infrastructure.


19. What is Azure Service Fabric?

Explanation: Azure Service Fabric is a distributed systems platform that makes it easy to package, deploy, and manage scalable and reliable microservices. Service Fabric also addresses the significant challenges in developing and managing cloud applications. Developers and administrators can avoid complex infrastructure problems and focus on implementing mission-critical, demanding workloads that are scalable, reliable, and manageable. Service Fabric represents the next-generation middleware platform for building and managing these enterprise-class, tier-1, cloud-scale applications.


20. What is VNet?

Explanation: VNet is a representation of your own network in the cloud. It logically isolates your instances launched in the cloud, from the rest of your resources.


21. What are the differences between Subscription Administrator and Directory Administrator?

Explanation: By default, one is assigned the Subscription Administrator role when he/she signs up for Azure. A subscription admin can use either a Microsoft account or a work or school account from the directory that the Azure subscription is associated with. This role is authorized to manage services in the Azure portal. If others need to sign in and access services by using the same subscription, you can add them as co-admins.

Azure AD has a different set of admin roles to manage the directory and identity-related features. These admins will have access to various features in the Azure portal or the Azure classic portal. The admin's role determines what they can do, like create or edit users, assign administrative roles to others, reset user passwords, manage user licenses, or manage domains.


22. Are there any scale limitations for customers using managed disks?

Explanation: Managed Disks eliminates the limits associated with storage accounts. However, the number of managed disks per subscription is limited to 2000 by default.


23. What is the difference between Service Bus Queues and Storage Queues?

Explanation: The Azure Storage Queue is simple and the developer experience is quite good. It uses the local Azure Storage Emulator and debugging is made quite easy. The tooling for Azure Storage Queues allows you to easily peek at the top 32 messages and if the messages are in XML or Json, you’re able to visualize their contents directly from Visual Studio. Furthermore, these queues can be purged of their contents, which is especially useful during development and QA efforts.

The Azure Service Bus Queues are evolved and surrounded by many useful mechanisms that make it enterprise worthy! They are built into the Service Bus and are able to forward messages to other Queues and Topics. They have a built-in dead-letter queue and messages have a time to live that you control, hence messages don’t automatically disappear after 7 days.

Furthermore, Azure Service Bus Queues have the ability of deleting themselves after a configurable amount of idle time. This feature is very practical when you create Queues for each user, because if a user hasn’t interacted with a Queue for the past month, it automatically gets clean it up. Its also a great way to drive costs down. You shouldn’t have to pay for storage that you don’t need. These Queues are limited to a maximum of 80gb. Once you’ve reached this limit your application will start receiving exceptions.


24. What is Azure Redis Cache?

Explanation: Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache, and message broker. Azure Redis Cache is based on the popular open-source Redis cache. It gives you access to a secure, dedicated Redis cache, managed by Microsoft, and accessible from any application within Azure. It supports data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs, and geospatial indexes with radius queries.


25. Why doesn't Azure Redis Cache have an MSDN class library reference like some of the other Azure services?

Explanation: Microsoft Azure Redis Cache is based on the popular open source Redis Cache and can be accessed by a wide variety of Redis clients for many programming languages. Each client has its own API that makes calls to the Redis cache instance using Redis commands.
Because each client is different, there is not one centralized class reference on MSDN, and each client maintains its own reference documentation. In addition to the reference documentation, there are several tutorials showing how to get started with Azure Redis Cache using different languages and cache clients. To access these tutorials, see How to use Azure Redis Cache and click the desired language from the language switcher at the top of the article.


26. What are Redis databases?

Explanation: Redis Databases are just a logical separation of data within the same Redis instance. The cache memory is shared between all the databases and actual memory consumption of a given database depends on the keys/values stored in that database. For example a C6 cache has 53 GB of memory. You can choose to put all 53 GB into one database or you can split it up between multiple databases.


27. Why was my client disconnected from the cache?

Explanation: The following are some common reasons for a cache disconnect.

Client-side causes

  • The client application was redeployed.

  • The client application performed a scaling operation.

  • In the case of Cloud Services or Web Apps, this may be due to auto-scaling.

  • The networking layer on the client side changed.

  • Transient errors occurred in the client or in the network nodes between the client and the server.

  • The bandwidth threshold limits were reached.

  • CPU bound operations took too long to complete.

Server-side causes

  • On the standard cache offering, the Azure Redis Cache service initiated a fail-over from the primary node to the secondary node.

  • Azure was patching the instance where the cache was deployed.

  • This can be for Redis server updates or general VM maintenance.


28. What is Azure Search?

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


29. My web app still uses an old Docker container image after I've updated the image on Docker Hub. Does Azure support continuous integration/deployment of custom containers?

Explanation: For private registries, you can refresh the container by stopping and then starting your web app. Or you can change or add a dummy application setting to force a refresh on your container.


30. What are the expected values for the Startup File section when I configure the runtime stack?

Explanation: For Node.Js, you specify the PM2 configuration file or your script file. For .NET Core, specify your compiled DLL name. For Ruby, you can specify the Ruby script that you want to initialize your app with.


31. How are Azure Marketplace subscriptions priced?

Explanation: Pricing will vary based on product types. ISV software charges and Azure infrastructure costs are charged separately through your Azure subscription. Pricing models include:

  • BYOL Model: Bring-your-own-license. You obtain outside of the Azure Marketplace the right to access or use the offering and are not charged Azure Marketplace fees for use of the offering in the Azure Marketplace.

  • Free: Free SKU. Customers are not charged Azure Marketplace fees for use of the offering.

  • Free Software Trial (Try it now): Full-featured version of the offer that is promotionally free for a limited period of time. You will not be charged Azure Marketplace fees for use of the offering during a trial period. Upon expiration of the trial period, customers will automatically be charged based on standard rates for use of the offering.

  • Usage-Based: You are charged or billed based on the extent of your use of the offering. For Virtual Machines Images, you are charged an hourly Azure Marketplace fee. For Data Services, Developer services, and APIs, you are charged per unit of measurement as defined by the offering.

  • Monthly Fee: You are charged or billed a fixed monthly fee for a subscription to the offering (from the date of subscription start for that particular plan). The monthly fee is not prorated for mid-month cancellations or unused services.


32. What is the difference between "price", "software price", and "total price" in the cost structure for Virtual Machine offers in the Azure Marketplace?

Explanation: "Price" refers to the cost of the Azure Virtual Machine to run the software. "Software price" refers to the cost of the publisher software running on the Azure Virtual Machine. "Total price" refers to the combined total cost of the Azure Virtual Machine and the publisher software running on an Azure Virtual Machine.


33. What are stateful and stateless microservices for Service Fabric?

Explanation: Service Fabric enables you to build applications that consist of microservices. Stateless microservices (such as protocol gateways and web proxies) do not maintain a mutable state outside a request and its response from the service. Azure Cloud Services worker roles are an example of a stateless service. Stateful microservices (such as user accounts, databases, devices, shopping carts, and queues) maintain a mutable, authoritative state beyond the request and its response. Today’s Internet-scale applications consist of a combination of stateless and stateful microservices.


34. What is the meaning of application partitions?

Explanation: The application partitions are a part of the Active Directory system and having said so, they are directory partitions which are replicated to domain controllers. Usually, domain controllers that are included in the process of directory partitions hold a replica of that directory partition. The attributes and values of application partitions are that you can replicate them to any specific domain controller in a forest, meaning that it could lessen replication traffic. While the domain directory partitions transfer all their data to all of the domains, the application partitions can focus on only one in the domain area. This makes application partitions redundant and more available.

Preparing for an Azure interview? This blog covers crucial Azure interview questions that can help you excel at your next job opportunity. Whether you're a beginner looking to break into cloud computing or an experienced professional aiming to advance your career, these questions will test your knowledge of Azure's core services, architecture, and best practices.


1. What is cloud computing?

Explanation: It 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 serves to do your task, paying them for the amount of time you use it for.


2. What are the different types of services offered in the cloud?

Explanation: The different type of services offered in the cloud are:

  • IaaS

  • PaaS

  • SaaS

IaaS: In infrastructure as a service, you get the raw hardware from your cloud provider as a service i.e. you get a server which you can configure with your own will.

PaaS: Platform as a Service gives you a platform to publish without giving the access to the underlying software or OS. For example: Web Apps, Mobile Apps in Azure.

SaaS: You get software as a service in Azure, i.e no infrastructure, no platform, simple software that you can use without purchasing it. For example: when you launch a VM on Azure, if we talk about the OS, you are not buying the OS, you are basically renting it for the time you will be running that instance.


3. What are the different cloud deployment models?

Explanation: 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 inhouse 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.


4. I have some private servers on my premises, also I have distributed some of my workload on the public cloud, what is this architecture called?

Explanation: This type of architecture would be a hybrid cloud. Why? Because we are using both, the public cloud and your on premises servers i.e the private cloud. To make this hybrid architecture easy to use, it would be better if your private and public cloud were all on the same network (virtually). This is established by including your public cloud servers in a virtual private cloud, and connecting this virtual cloud with your on premise servers using a VPN (Virtual Private Network).


5. What is Microsoft Azure and why is it used?

Explanation: Microsoft Azure is a company which provides a cloud service (also known as a cloud provider). There are a lot of cloud providers out there, and out of them one is Microsoft Azure. It is used for accessing Microsoft's infrastructure for cloud.


6. Which service in Azure is used to manage resources in Azure?

Explanation: Azure Resource Manager is used to "manage" infrastructures which involve a number of azure services. It can be used to deploy, manage, and delete all the resources together using a simple JSON script.


7. Which web application can be deployed with Azure?

Explanation: ASP.NET, PHP, and WCF. Microsoft also has 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 AppFabricService.


8. A _____ role is a virtual machine instance running Microsoft IIS Web server that can accept and respond to HHTP or HTTPS requests?

  1. Web

  2. Server

  3. Worker

  4. Client

Explanation: Web Role.


9. What is the use of roles in Microsoft Azure?

Explanation: 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 a 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.


10. Is it possible to create a Virtual Machine using Azure Resource Manager in a Virtual Network that was created using classic deployment?

Explanation: No.


11. What are Virtual Machine scale sets in Azure?

Explanation: Virtual Machine scale sets are an Azure compute resource that you can use to deploy and manage a set of identical VMs. With all 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.


12. Are data disks supported within scale sets?

Explanation: Yes. A scale set can define an attached data disks configuration that applies to all VMs in the set. Other options for storing data include:

  • Azure files (SMB shared drives)

  • OS drive

  • Temp drive (local, not backed by Azure Storage)

  • Azure data service (for example, Azure tables, Azure blobs)

  • External data service (for example, remote database)


13. Do scale sets work with Azure availability sets?

Explanation: Yes. A scale set is an implicit availability set with 5 fault domains and 5 update domains. Scale sets of more than 100 VMs span multiple placement groups, which are equivalent to multiple availability sets. For more information about placement groups, see Working with large Virtual Machine scale sets. An availability set of VMs can exist in the same virtual network as a scale set of VMs. A common configuration is to put control node VMs (which often require unique configuration) in an availability set and put data nodes in the scale set.


14. What is a break-fix issue?

Explanation: Technical problems are called break-fix issues - it is an industry term which refers to "work involved in supporting a technology when it fails in the normal course of its function, which requires intervention by a support organisation to be restored to working order"


15. Why is Azure Active Directory used?

Explanation: Azure Active Directory is an Identity and Access Management system. It is used to grant access to your employees to specific products and services in your network. For example: Salesforce.com, X etc. Azure AD has some in-built support for applications in its gallery which can be added directly.


16. What happens when you exhaust the maximum failed attempts for authenticating yourself via Azure AD?

Explanation: A more sophisticated strategy is used to lock accounts. This is based on the IP of the request and the passwords entered. The duration of the lockout also increases based on the likelihood that it is an attack.


17. Where can I find a list of applications that are pre-integrated with Azure AD and their capabilities?

Explanation: Azure AD has around 2600 pre-integrated applications. All pre-integrated applications support single sign-on (SSO). SSO lets you use your organizational credentials to access your apps. Some of the applications also support automated provisioning and de-provisioning.


18. How can I use applications with Azure AD that I'm using on premises?

Explanation: Azure AD gives you an easy and secure way to connect to the web applications that one chooses. You can access these applications in the same way you access your SaaS apps in Azure AD, no need for a VPN to change you network infrastructure.


19. What is Azure Service Fabric?

Explanation: Azure Service Fabric is a distributed systems platform that makes it easy to package, deploy, and manage scalable and reliable microservices. Service Fabric also addresses the significant challenges in developing and managing cloud applications. Developers and administrators can avoid complex infrastructure problems and focus on implementing mission-critical, demanding workloads that are scalable, reliable, and manageable. Service Fabric represents the next-generation middleware platform for building and managing these enterprise-class, tier-1, cloud-scale applications.


20. What is VNet?

Explanation: VNet is a representation of your own network in the cloud. It logically isolates your instances launched in the cloud, from the rest of your resources.


21. What are the differences between Subscription Administrator and Directory Administrator?

Explanation: By default, one is assigned the Subscription Administrator role when he/she signs up for Azure. A subscription admin can use either a Microsoft account or a work or school account from the directory that the Azure subscription is associated with. This role is authorized to manage services in the Azure portal. If others need to sign in and access services by using the same subscription, you can add them as co-admins.

Azure AD has a different set of admin roles to manage the directory and identity-related features. These admins will have access to various features in the Azure portal or the Azure classic portal. The admin's role determines what they can do, like create or edit users, assign administrative roles to others, reset user passwords, manage user licenses, or manage domains.


22. Are there any scale limitations for customers using managed disks?

Explanation: Managed Disks eliminates the limits associated with storage accounts. However, the number of managed disks per subscription is limited to 2000 by default.


23. What is the difference between Service Bus Queues and Storage Queues?

Explanation: The Azure Storage Queue is simple and the developer experience is quite good. It uses the local Azure Storage Emulator and debugging is made quite easy. The tooling for Azure Storage Queues allows you to easily peek at the top 32 messages and if the messages are in XML or Json, you’re able to visualize their contents directly from Visual Studio. Furthermore, these queues can be purged of their contents, which is especially useful during development and QA efforts.

The Azure Service Bus Queues are evolved and surrounded by many useful mechanisms that make it enterprise worthy! They are built into the Service Bus and are able to forward messages to other Queues and Topics. They have a built-in dead-letter queue and messages have a time to live that you control, hence messages don’t automatically disappear after 7 days.

Furthermore, Azure Service Bus Queues have the ability of deleting themselves after a configurable amount of idle time. This feature is very practical when you create Queues for each user, because if a user hasn’t interacted with a Queue for the past month, it automatically gets clean it up. Its also a great way to drive costs down. You shouldn’t have to pay for storage that you don’t need. These Queues are limited to a maximum of 80gb. Once you’ve reached this limit your application will start receiving exceptions.


24. What is Azure Redis Cache?

Explanation: Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache, and message broker. Azure Redis Cache is based on the popular open-source Redis cache. It gives you access to a secure, dedicated Redis cache, managed by Microsoft, and accessible from any application within Azure. It supports data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs, and geospatial indexes with radius queries.


25. Why doesn't Azure Redis Cache have an MSDN class library reference like some of the other Azure services?

Explanation: Microsoft Azure Redis Cache is based on the popular open source Redis Cache and can be accessed by a wide variety of Redis clients for many programming languages. Each client has its own API that makes calls to the Redis cache instance using Redis commands.
Because each client is different, there is not one centralized class reference on MSDN, and each client maintains its own reference documentation. In addition to the reference documentation, there are several tutorials showing how to get started with Azure Redis Cache using different languages and cache clients. To access these tutorials, see How to use Azure Redis Cache and click the desired language from the language switcher at the top of the article.


26. What are Redis databases?

Explanation: Redis Databases are just a logical separation of data within the same Redis instance. The cache memory is shared between all the databases and actual memory consumption of a given database depends on the keys/values stored in that database. For example a C6 cache has 53 GB of memory. You can choose to put all 53 GB into one database or you can split it up between multiple databases.


27. Why was my client disconnected from the cache?

Explanation: The following are some common reasons for a cache disconnect.

Client-side causes

  • The client application was redeployed.

  • The client application performed a scaling operation.

  • In the case of Cloud Services or Web Apps, this may be due to auto-scaling.

  • The networking layer on the client side changed.

  • Transient errors occurred in the client or in the network nodes between the client and the server.

  • The bandwidth threshold limits were reached.

  • CPU bound operations took too long to complete.

Server-side causes

  • On the standard cache offering, the Azure Redis Cache service initiated a fail-over from the primary node to the secondary node.

  • Azure was patching the instance where the cache was deployed.

  • This can be for Redis server updates or general VM maintenance.


28. What is Azure Search?

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


29. My web app still uses an old Docker container image after I've updated the image on Docker Hub. Does Azure support continuous integration/deployment of custom containers?

Explanation: For private registries, you can refresh the container by stopping and then starting your web app. Or you can change or add a dummy application setting to force a refresh on your container.


30. What are the expected values for the Startup File section when I configure the runtime stack?

Explanation: For Node.Js, you specify the PM2 configuration file or your script file. For .NET Core, specify your compiled DLL name. For Ruby, you can specify the Ruby script that you want to initialize your app with.


31. How are Azure Marketplace subscriptions priced?

Explanation: Pricing will vary based on product types. ISV software charges and Azure infrastructure costs are charged separately through your Azure subscription. Pricing models include:

  • BYOL Model: Bring-your-own-license. You obtain outside of the Azure Marketplace the right to access or use the offering and are not charged Azure Marketplace fees for use of the offering in the Azure Marketplace.

  • Free: Free SKU. Customers are not charged Azure Marketplace fees for use of the offering.

  • Free Software Trial (Try it now): Full-featured version of the offer that is promotionally free for a limited period of time. You will not be charged Azure Marketplace fees for use of the offering during a trial period. Upon expiration of the trial period, customers will automatically be charged based on standard rates for use of the offering.

  • Usage-Based: You are charged or billed based on the extent of your use of the offering. For Virtual Machines Images, you are charged an hourly Azure Marketplace fee. For Data Services, Developer services, and APIs, you are charged per unit of measurement as defined by the offering.

  • Monthly Fee: You are charged or billed a fixed monthly fee for a subscription to the offering (from the date of subscription start for that particular plan). The monthly fee is not prorated for mid-month cancellations or unused services.


32. What is the difference between "price", "software price", and "total price" in the cost structure for Virtual Machine offers in the Azure Marketplace?

Explanation: "Price" refers to the cost of the Azure Virtual Machine to run the software. "Software price" refers to the cost of the publisher software running on the Azure Virtual Machine. "Total price" refers to the combined total cost of the Azure Virtual Machine and the publisher software running on an Azure Virtual Machine.


33. What are stateful and stateless microservices for Service Fabric?

Explanation: Service Fabric enables you to build applications that consist of microservices. Stateless microservices (such as protocol gateways and web proxies) do not maintain a mutable state outside a request and its response from the service. Azure Cloud Services worker roles are an example of a stateless service. Stateful microservices (such as user accounts, databases, devices, shopping carts, and queues) maintain a mutable, authoritative state beyond the request and its response. Today’s Internet-scale applications consist of a combination of stateless and stateful microservices.


34. What is the meaning of application partitions?

Explanation: The application partitions are a part of the Active Directory system and having said so, they are directory partitions which are replicated to domain controllers. Usually, domain controllers that are included in the process of directory partitions hold a replica of that directory partition. The attributes and values of application partitions are that you can replicate them to any specific domain controller in a forest, meaning that it could lessen replication traffic. While the domain directory partitions transfer all their data to all of the domains, the application partitions can focus on only one in the domain area. This makes application partitions redundant and more available.

Preparing for an Azure interview? This blog covers crucial Azure interview questions that can help you excel at your next job opportunity. Whether you're a beginner looking to break into cloud computing or an experienced professional aiming to advance your career, these questions will test your knowledge of Azure's core services, architecture, and best practices.


1. What is cloud computing?

Explanation: It 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 serves to do your task, paying them for the amount of time you use it for.


2. What are the different types of services offered in the cloud?

Explanation: The different type of services offered in the cloud are:

  • IaaS

  • PaaS

  • SaaS

IaaS: In infrastructure as a service, you get the raw hardware from your cloud provider as a service i.e. you get a server which you can configure with your own will.

PaaS: Platform as a Service gives you a platform to publish without giving the access to the underlying software or OS. For example: Web Apps, Mobile Apps in Azure.

SaaS: You get software as a service in Azure, i.e no infrastructure, no platform, simple software that you can use without purchasing it. For example: when you launch a VM on Azure, if we talk about the OS, you are not buying the OS, you are basically renting it for the time you will be running that instance.


3. What are the different cloud deployment models?

Explanation: 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 inhouse 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.


4. I have some private servers on my premises, also I have distributed some of my workload on the public cloud, what is this architecture called?

Explanation: This type of architecture would be a hybrid cloud. Why? Because we are using both, the public cloud and your on premises servers i.e the private cloud. To make this hybrid architecture easy to use, it would be better if your private and public cloud were all on the same network (virtually). This is established by including your public cloud servers in a virtual private cloud, and connecting this virtual cloud with your on premise servers using a VPN (Virtual Private Network).


5. What is Microsoft Azure and why is it used?

Explanation: Microsoft Azure is a company which provides a cloud service (also known as a cloud provider). There are a lot of cloud providers out there, and out of them one is Microsoft Azure. It is used for accessing Microsoft's infrastructure for cloud.


6. Which service in Azure is used to manage resources in Azure?

Explanation: Azure Resource Manager is used to "manage" infrastructures which involve a number of azure services. It can be used to deploy, manage, and delete all the resources together using a simple JSON script.


7. Which web application can be deployed with Azure?

Explanation: ASP.NET, PHP, and WCF. Microsoft also has 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 AppFabricService.


8. A _____ role is a virtual machine instance running Microsoft IIS Web server that can accept and respond to HHTP or HTTPS requests?

  1. Web

  2. Server

  3. Worker

  4. Client

Explanation: Web Role.


9. What is the use of roles in Microsoft Azure?

Explanation: 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 a 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.


10. Is it possible to create a Virtual Machine using Azure Resource Manager in a Virtual Network that was created using classic deployment?

Explanation: No.


11. What are Virtual Machine scale sets in Azure?

Explanation: Virtual Machine scale sets are an Azure compute resource that you can use to deploy and manage a set of identical VMs. With all 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.


12. Are data disks supported within scale sets?

Explanation: Yes. A scale set can define an attached data disks configuration that applies to all VMs in the set. Other options for storing data include:

  • Azure files (SMB shared drives)

  • OS drive

  • Temp drive (local, not backed by Azure Storage)

  • Azure data service (for example, Azure tables, Azure blobs)

  • External data service (for example, remote database)


13. Do scale sets work with Azure availability sets?

Explanation: Yes. A scale set is an implicit availability set with 5 fault domains and 5 update domains. Scale sets of more than 100 VMs span multiple placement groups, which are equivalent to multiple availability sets. For more information about placement groups, see Working with large Virtual Machine scale sets. An availability set of VMs can exist in the same virtual network as a scale set of VMs. A common configuration is to put control node VMs (which often require unique configuration) in an availability set and put data nodes in the scale set.


14. What is a break-fix issue?

Explanation: Technical problems are called break-fix issues - it is an industry term which refers to "work involved in supporting a technology when it fails in the normal course of its function, which requires intervention by a support organisation to be restored to working order"


15. Why is Azure Active Directory used?

Explanation: Azure Active Directory is an Identity and Access Management system. It is used to grant access to your employees to specific products and services in your network. For example: Salesforce.com, X etc. Azure AD has some in-built support for applications in its gallery which can be added directly.


16. What happens when you exhaust the maximum failed attempts for authenticating yourself via Azure AD?

Explanation: A more sophisticated strategy is used to lock accounts. This is based on the IP of the request and the passwords entered. The duration of the lockout also increases based on the likelihood that it is an attack.


17. Where can I find a list of applications that are pre-integrated with Azure AD and their capabilities?

Explanation: Azure AD has around 2600 pre-integrated applications. All pre-integrated applications support single sign-on (SSO). SSO lets you use your organizational credentials to access your apps. Some of the applications also support automated provisioning and de-provisioning.


18. How can I use applications with Azure AD that I'm using on premises?

Explanation: Azure AD gives you an easy and secure way to connect to the web applications that one chooses. You can access these applications in the same way you access your SaaS apps in Azure AD, no need for a VPN to change you network infrastructure.


19. What is Azure Service Fabric?

Explanation: Azure Service Fabric is a distributed systems platform that makes it easy to package, deploy, and manage scalable and reliable microservices. Service Fabric also addresses the significant challenges in developing and managing cloud applications. Developers and administrators can avoid complex infrastructure problems and focus on implementing mission-critical, demanding workloads that are scalable, reliable, and manageable. Service Fabric represents the next-generation middleware platform for building and managing these enterprise-class, tier-1, cloud-scale applications.


20. What is VNet?

Explanation: VNet is a representation of your own network in the cloud. It logically isolates your instances launched in the cloud, from the rest of your resources.


21. What are the differences between Subscription Administrator and Directory Administrator?

Explanation: By default, one is assigned the Subscription Administrator role when he/she signs up for Azure. A subscription admin can use either a Microsoft account or a work or school account from the directory that the Azure subscription is associated with. This role is authorized to manage services in the Azure portal. If others need to sign in and access services by using the same subscription, you can add them as co-admins.

Azure AD has a different set of admin roles to manage the directory and identity-related features. These admins will have access to various features in the Azure portal or the Azure classic portal. The admin's role determines what they can do, like create or edit users, assign administrative roles to others, reset user passwords, manage user licenses, or manage domains.


22. Are there any scale limitations for customers using managed disks?

Explanation: Managed Disks eliminates the limits associated with storage accounts. However, the number of managed disks per subscription is limited to 2000 by default.


23. What is the difference between Service Bus Queues and Storage Queues?

Explanation: The Azure Storage Queue is simple and the developer experience is quite good. It uses the local Azure Storage Emulator and debugging is made quite easy. The tooling for Azure Storage Queues allows you to easily peek at the top 32 messages and if the messages are in XML or Json, you’re able to visualize their contents directly from Visual Studio. Furthermore, these queues can be purged of their contents, which is especially useful during development and QA efforts.

The Azure Service Bus Queues are evolved and surrounded by many useful mechanisms that make it enterprise worthy! They are built into the Service Bus and are able to forward messages to other Queues and Topics. They have a built-in dead-letter queue and messages have a time to live that you control, hence messages don’t automatically disappear after 7 days.

Furthermore, Azure Service Bus Queues have the ability of deleting themselves after a configurable amount of idle time. This feature is very practical when you create Queues for each user, because if a user hasn’t interacted with a Queue for the past month, it automatically gets clean it up. Its also a great way to drive costs down. You shouldn’t have to pay for storage that you don’t need. These Queues are limited to a maximum of 80gb. Once you’ve reached this limit your application will start receiving exceptions.


24. What is Azure Redis Cache?

Explanation: Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache, and message broker. Azure Redis Cache is based on the popular open-source Redis cache. It gives you access to a secure, dedicated Redis cache, managed by Microsoft, and accessible from any application within Azure. It supports data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs, and geospatial indexes with radius queries.


25. Why doesn't Azure Redis Cache have an MSDN class library reference like some of the other Azure services?

Explanation: Microsoft Azure Redis Cache is based on the popular open source Redis Cache and can be accessed by a wide variety of Redis clients for many programming languages. Each client has its own API that makes calls to the Redis cache instance using Redis commands.
Because each client is different, there is not one centralized class reference on MSDN, and each client maintains its own reference documentation. In addition to the reference documentation, there are several tutorials showing how to get started with Azure Redis Cache using different languages and cache clients. To access these tutorials, see How to use Azure Redis Cache and click the desired language from the language switcher at the top of the article.


26. What are Redis databases?

Explanation: Redis Databases are just a logical separation of data within the same Redis instance. The cache memory is shared between all the databases and actual memory consumption of a given database depends on the keys/values stored in that database. For example a C6 cache has 53 GB of memory. You can choose to put all 53 GB into one database or you can split it up between multiple databases.


27. Why was my client disconnected from the cache?

Explanation: The following are some common reasons for a cache disconnect.

Client-side causes

  • The client application was redeployed.

  • The client application performed a scaling operation.

  • In the case of Cloud Services or Web Apps, this may be due to auto-scaling.

  • The networking layer on the client side changed.

  • Transient errors occurred in the client or in the network nodes between the client and the server.

  • The bandwidth threshold limits were reached.

  • CPU bound operations took too long to complete.

Server-side causes

  • On the standard cache offering, the Azure Redis Cache service initiated a fail-over from the primary node to the secondary node.

  • Azure was patching the instance where the cache was deployed.

  • This can be for Redis server updates or general VM maintenance.


28. What is Azure Search?

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


29. My web app still uses an old Docker container image after I've updated the image on Docker Hub. Does Azure support continuous integration/deployment of custom containers?

Explanation: For private registries, you can refresh the container by stopping and then starting your web app. Or you can change or add a dummy application setting to force a refresh on your container.


30. What are the expected values for the Startup File section when I configure the runtime stack?

Explanation: For Node.Js, you specify the PM2 configuration file or your script file. For .NET Core, specify your compiled DLL name. For Ruby, you can specify the Ruby script that you want to initialize your app with.


31. How are Azure Marketplace subscriptions priced?

Explanation: Pricing will vary based on product types. ISV software charges and Azure infrastructure costs are charged separately through your Azure subscription. Pricing models include:

  • BYOL Model: Bring-your-own-license. You obtain outside of the Azure Marketplace the right to access or use the offering and are not charged Azure Marketplace fees for use of the offering in the Azure Marketplace.

  • Free: Free SKU. Customers are not charged Azure Marketplace fees for use of the offering.

  • Free Software Trial (Try it now): Full-featured version of the offer that is promotionally free for a limited period of time. You will not be charged Azure Marketplace fees for use of the offering during a trial period. Upon expiration of the trial period, customers will automatically be charged based on standard rates for use of the offering.

  • Usage-Based: You are charged or billed based on the extent of your use of the offering. For Virtual Machines Images, you are charged an hourly Azure Marketplace fee. For Data Services, Developer services, and APIs, you are charged per unit of measurement as defined by the offering.

  • Monthly Fee: You are charged or billed a fixed monthly fee for a subscription to the offering (from the date of subscription start for that particular plan). The monthly fee is not prorated for mid-month cancellations or unused services.


32. What is the difference between "price", "software price", and "total price" in the cost structure for Virtual Machine offers in the Azure Marketplace?

Explanation: "Price" refers to the cost of the Azure Virtual Machine to run the software. "Software price" refers to the cost of the publisher software running on the Azure Virtual Machine. "Total price" refers to the combined total cost of the Azure Virtual Machine and the publisher software running on an Azure Virtual Machine.


33. What are stateful and stateless microservices for Service Fabric?

Explanation: Service Fabric enables you to build applications that consist of microservices. Stateless microservices (such as protocol gateways and web proxies) do not maintain a mutable state outside a request and its response from the service. Azure Cloud Services worker roles are an example of a stateless service. Stateful microservices (such as user accounts, databases, devices, shopping carts, and queues) maintain a mutable, authoritative state beyond the request and its response. Today’s Internet-scale applications consist of a combination of stateless and stateful microservices.


34. What is the meaning of application partitions?

Explanation: The application partitions are a part of the Active Directory system and having said so, they are directory partitions which are replicated to domain controllers. Usually, domain controllers that are included in the process of directory partitions hold a replica of that directory partition. The attributes and values of application partitions are that you can replicate them to any specific domain controller in a forest, meaning that it could lessen replication traffic. While the domain directory partitions transfer all their data to all of the domains, the application partitions can focus on only one in the domain area. This makes application partitions redundant and more available.

SHARE