Capgemini Asked Azure Interview Questions and Answers

Q1 _ What is Azure Cloud Service?

Cloud service can convey a multiple web application in Azure, characterizing a number of parts to disseminate handling and permit adaptable scaling of your application. A cloud service comprises of a minimum of one web pars as well as specialist parts, each with its own particular application documents and design.The fundamental favourable position of cloud service is the capacity to help more complex multi-level structures.

Q2_What are the roles implemented in Windows Azure?

There are three roles in Windows Azure.
  • Web Role
  • Worker Role
  • Virtual Machine Role
Web Role : It gives a web solution that is front-end. This is like an ASP.NET application. While under facilitating Azure gives IIS and required services.
Worker Role : It gives a solutions of background service. It can run long activities.
Virtual Machine Role : The roles of both web and worker are executed on virtual machines. The Virtual Machine Roles gives the client the capacity to modify the virtual machine on which the web and worker roles are running.

Q3_ What are Fault Domains and Update domains ?

Fault Domains :- A fault domain is a logical group of underlying hardware that share a common power source and network switch, similar to a rack within an on-premise data-centers. As you create VMs within an availability set, the Azure platform automatically distributes your VMs across these fault domains. This approach limits the impact of potential physical hardware failures, network outages, or power interruptions.
Update Domains :- An update domain is a logical group of underlying hardware that can undergo maintenance or can be rebooted at the same time. As you create VMs within an availability set, the Azure platform automatically distributes your VMs across these update domains. This approach ensures that at least one instance of your application always remains running as the Azure platform undergoes periodic maintenance. The order of update domains being rebooted may not proceed sequentially during planned maintenance, but only one update domain is rebooted at a time.

Q4_What is a break-fix issue?

Technical problems are called break-fix issue, 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 organization to be restored to working order”.

Q5_What Is Cspack?

It is a command-line tool that deploys a packaged application to the Windows Azure compute emulator and manages the running service.

Q6_ 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.

Q7_What are the differences between Subscription Administrator and Directory Administrator?

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.

Q8_What is the difference between Service Bus Queues and Storage Queues?

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.

Q9_What Is Web Role In Windows Azure?

Web roles in Windows Azure are special purpose, and provide a dedicated Internet Information Services (IIS) web-server used for hosting front-end web applications. You can quickly and easily deploy web applications to Web Roles and then scale your Compute capabilities up or down to meet demand.

Q10_What Is The Difference Between Public Cloud And Private Cloud?

Public cloud is used as a service via Internet by the users, whereas a private cloud, as the name conveys is deployed within certain boundaries like firewall settings and is completely managed and monitored by the users working on it in an organization.

Q11_What Is Windows Azure Diagnostics?

Windows Azure Diagnostics enables you to collect diagnostic data from an application running in Windows Azure. You can use diagnostic data for debugging and troubleshooting, measuring performance, monitoring resource usage, traffic analysis and capacity planning, and auditing.

Q12_What Is The Difference Between Block Blob Vs Page Blob?

Block blobs are comprised of blocks, each of which is identified by a block ID.
You create or modify a block blob by uploading a set of blocks and committing them by their block IDs.
If you are uploading a block blob that is no more than 64 MB in size, you can also upload it in its entirety with a single Put Blob operation. -Each block can be a maximum of 4 MB in size. The maximum size for a block blob in version 2009-09-19 is 200 GB, or up to 50,000 blocks.
Page blobs are a collection of pages. A page is a range of data that is identified by its offset from the start of the blob.
To create a page blob, you initialize the page blob by calling Put Blob and specifying its maximum size.
The maximum size for a page blob is 1 TB. A page written to a page blob may be up to 1 TB in size.
what to use block blobs for: streaming video. “The application must provide random read/write access” which is supported by Page Blobs

Q13_What is Azure Redis Cache?

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.
Apart from this Azure Interview Questions Blog, if you want to get trained from professionals on this technology, you can opt for a structured training from edureka! Click below to know more.

Q14_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.

Q15_ Is it possible to add an existing VM to an availability set?

If you want your VM to be part of an availability set, you need to create the VM within the set. There currently no way to add a VM to an availability set after it has been created.

Q16_What are the password requirements when creating a VM?

Passwords must be 12 – 123 characters in length and meet 3 out of the following 4 complexity requirements:
  • Have lower characters
  • Have upper characters
  • Have a digit
  • Have a special character


Q17_ 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.

Q18_Why was my client disconnected from the cache?

The following are some common reason 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.


Q19_What is Azure Search?

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.

Q20_What Is Deadletter Queue?

Messages are placed on the deadletter sub-queue by the messaging system in the following scenarios.
  • When a message expires and deadlettering for expired messages is set to true in a queue or subscription.
  • When the max delivery count for a message is exceeded on a queue or subscription.
  • When a filter evaluation exception occurs in a subscription and deadlettering is enabled on filter evaluation exceptions.


Q21_Difference Between Web And Worker Roles In Windows Azure?

The main difference between the two is that an instance of a web role runs IIS, while an instance of a worker role does not. Both are managed in the same way, however, and it’s common for an application to use both.For example, a web role instance might accept requests from users, then pass them to a worker role instance for processing.

Q22_ What Is Autoscaling?

Scaling by adding additional instances is often referred to as scaling out. Windows Azure also supports scaling up by using larger role instances instead of more role instances.
By adding and removing role instances to your Windows Azure application while it is running, you can balance the performance of the application against its running costs.
An autoscaling solution reduces the amount of manual work involved in dynamically scaling an application.

Q23_What is a Storage keys?

Storage keys or Access Keys are utilized as a validation mode for accessing to the storage services account to control data based on our prerequisites. In Windows Azure we have an alternative to give a Primary Access Key and a Secondary Access Key, despite the fact that we will utilize a solitary access key to confirm our application to the storage. The primary reason to give the secondary access key is to avoid downtime to the application.

Q24_What is the concept of the table in Windows Azure?

A table is one kind of Azure Storage, where you can store your information away. Blobs are put away in compartment and Entity in a table.
Following are the key concepts in a table.
  • Tables allow structure data storage .
  • There can be 0..n tables in a storage account.
  • Table store information as an accumulation of elements.
  • An element has an essential key and properties as a key-value pair.


Q25_What is profiling in Azure?

Rofiling is only a procedure of measuring the performance analysis of an application. It is normally done to guarantee that the application is sufficiently steady and can maintain overwhelming traffic.
Visual Studio gives us different tools to do it by gathering the performance information from the application that likewise helps in the troubleshooting issues.
Once the profiling wizard is run, it sets up the execution session and collects the data of the sample
The profiling reports helps in:
  • Deciding the longest running strategies inside the application.
  • Measure the execution time of every strategy in the call stack.
  • Assess memory allocation.