Frequently asked: Azure Interview Questions and Answers

Vigo Webs
7 min readNov 6, 2022

--

Q1. What is Azure Cloud Service?

By creating a cloud service, you can deploy a multi-tier web application in Azure, defining multiple roles to distribute processing and allow flexible scaling of your application. A cloud service consists of one or more web roles and/or worker roles, each with its own application files and configuration. Azure Websites and Virtual Machines also enable web applications on Azure. The main advantage of cloud services is the ability to support more complex multi-tier architectures.

Q2. What is Azure Functions?

Azure Functions is a solution for easily running small pieces of code, or “functions,” in the cloud. We can write just the code we need for the problem at hand, without worrying about a whole application or the infrastructure to run it and use languages of our choice such as C#, F#, Node.js, Java, or PHP. Azure Functions lets us develop serverless applications on Microsoft Azure.

Q3. What is Kudu?

Every Azure App Service web application includes a “hidden” service site called Kudu. Kudu Console for example is a debugging service for the Azure platform which allows you to explore your web app and surf the bugs present on it, like deployment logs, memory dump, and uploading files to your web app, and adding JSON endpoints to your web apps, etc.

Q4. What is Azure Blob Storage?

Azure Blob storage is Microsoft’s object storage solution for the cloud. Blob storage is optimized for storing massive amounts of unstructured data, such as text or binary data. Azure Storage offers three types of blobs:

  • Block blobs store text and binary data, up to about 4.7 TB. Block blobs are made up of blocks of data that can be managed individually.
  • Append blobs are made up of blocks like block blobs but are optimized for append operations. Append blobs are ideal for scenarios such as logging data from virtual machines.
  • Page blobs store random access files up to 8 TB in size. Page blobs store the VHD files that back VMs.

Q5. What is Azure ARM?

The Azure Resource Manager (ARM) is the service used to provision resources in your Azure subscription. It was first announced at Build 2014 when the new Azure portal was announced and provides a new set of APIs that are used to provision resources. The ARM is:

  • Template-driven — Using templates to deploy all resources.
  • Declarative — You declare the resources you want to have instead of imperative where you need to make rules.
  • Idempotent — You can deploy the template over and over again without affecting the current state of resources.
  • Multi-service — All services can be deployed using Azure Resource Manager, Website, Storage, VMs, etc.
  • Multi region — You can choose in which region you would like to deploy the resources.
  • Extensible — Azure Resource Manager is extensible with more resource providers and thus resources.

Q6. What is a Web Role and Worker Role?

Web Role is a Cloud Service role in Azure that is configured and customized to run web applications developed on programming languages/technologies that are supported by Internet Information Services (IIS), such as ASP.NET, PHP, Windows Communication Foundation, and Fast CGI.

Worker Role is any role in Azure that runs applications and services level tasks, which generally do not require IIS. In Worker Roles, IIS is not installed by default. They are mainly used to perform supporting background processes along with Web Roles and do tasks such as automatically compressing uploaded images, run scripts when something changes in the database, get new messages from queue and process and more.

Q7. What is Azure Service Fabric?

Azure Service Fabric is a distributed systems platform that makes it easy to package, deploy, and manage scalable and reliable micro-services. 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.

Q8. What is a Blob Container?

A container organizes a set of blobs, similar to a folder in a file system. All blobs reside within a container. A storage account can contain an unlimited number of containers, and a container can store an unlimited number of blobs.

Q9. How can you retrieve the state of a particular VM?

Q10. How much storage can I use with a virtual machine?

Each data disk can be up to 1 TB. The number of data disks which you can use depends on the size of the virtual machine. Azure Managed Disks are the new and recommended disk storage offerings for use with Azure Virtual Machines for persistent storage of data. You can use multiple Managed Disks with each Virtual Machine. Managed Disks offer two types of durable storage options: Premium and Standard Managed Disks. Azure storage accounts can also provide storage for the operating system disk and any data disks. Each disk is a .vhd file stored as a page blob.

Q11. What is deployment environments?

Azure offers two deployment environments for cloud services:

  • A staging environment in which you can test your deployment before you promote it to
  • The production environment. The two environments are distinguished only by the virtual IP addresses (VIPs) by which the cloud service is accessed. In the staging environment, the cloud service’s globally unique identifier (GUID) identifies it in URLs (GUID.cloudapp.net). In the production environment, the URL is based on the friendlier DNS prefix assigned to the cloud service (for example, myservice.cloudapp.net).

Q12. What is Azure Service Bus Queue?

Service Bus Queue is part of a broader messaging service that supports queuing, publish/subscribe, and more advanced integration patterns. This service offers FIFO message delivery to one or more competing consumers. A key benefit of using queues is to the producers (senders) and consumers (receivers) don’t have to send and receive messages at the same time. Furthermore, the producer doesn’t have to wait for a reply from the consumer to continue to process and send messages.

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

Azure Service Bus Queues:

  • Ordering guarantee through the use of messaging sessions
  • Maximum Queue Size is 1 GB to 80 GB
  • Maximum Message Size is 256 KB (standard tier) or 1 MB (premium tier)
  • Support dead lettering
  • Support State management
  • Maximum number of queues is 10,000
  • Maximum number of concurrent clients is 5,000
  • Access mode is lock-based
  • Server-side transaction log will not support

Azure Storage Queues:

  • No ordering guarantee
  • Maximum Queue Size is 500 TB (limited to a storage account capacity)
  • Maximum Message Size is 64 KB (48 KB when using Base64 encoding)
  • No support dead lettering
  • No support on State management
  • Maximum number of queues is unlimited
  • Maximum number of concurrent clients is unlimited
  • Access mode is lease based
  • Support Server-side transaction log

Q14. What is key vault in Azure?

Microsoft Azure Key Vault is a cloud-hosted management service that allows users to encrypt keys and small secrets by using keys that are protected by hardware security modules (HSMs). Small secrets are data less than 10 KB like passwords and .PFX files.

Q15. What are virtual machine scale sets in Azure?

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.

Q16. What are Redis databases?

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.

Q17. How to create a Network Security Group and a Network Security Group Rule?

Q18. What is the meaning of application partitions?

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 is that you can replicated 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.

To read more Azure Interview Questions and answer check out our Android App from play store:

https://play.google.com/store/apps/details?id=com.vigowebs.interviewquestions

Our app contains 1700+ Interview Questions and answers with clear code examples from trending technologies.

--

--

No responses yet