
Microsoft Azure Interview Questions – Updated 2019
Question 1
Imagine you have finished developing an ASP.NET MVC application, protected with SSL. The application is ready to be deployed for production. Installed SSL certificate must be included in the deployment package. The deployment package needs to be configured to satisfy the conditions. How would you go about it?
Question 2
A digital library needs to be developed on a shared server, which supports various ASP.NET MVC web-based applications. This library will help in the application of security algorithms. On the discovery of a problem in any of the security algorithms, a brand-new version of the digital library needs to be developed and deployed. Application downtime needs to be lessened while the update is taking place. All the applications must utilize the new version with immediate effect. What can be done?
Question 3
An ASP.NET MVC application is under development which reads and writes data from a SQL server database. The application must be blocked from reading data, locked by other transactions. Exclusive range locks also need to be prevented. Mention the isolation level which should be utilized.
Question 4
There is an ASP.NET web application that functions in a cloud service. A new and updated version of the application is ready to be deployed. This new version has new SSL certificates and various code alterations. The application is made up of i) web role – 6 instances and ii) worker role – 4 instances. The application is optimized to perform at or near full capacity. The default number of upgrade domains and fault domains are being used by the cloud provider. The new version of the application needs to be released.
At the time of deployment, there should be no deterioration in the capacity and performance of web roles, while temporary deterioration of the worker roles is tolerated. The updated ASP.NET application must be deployed within a span of 6 hours to the cloud service. Which two approaches do you think will work in this scenario?
Question 5
An existing project is being migrated to Azure. The project consists of a database module and a user interface module. Numerous Virtual Machines (VMs) help run the user interface module. A website in the user interface module was developed by using Node.JS. In the same module, background processes are developed using Python. This background process is running as a scheduled job. A self-hosted MySQL database is being utilized by the database module and the user interface module is updated periodically. Up to 25 CPU cores are required for the user interface module.
In case updates to the website result in technical difficulties, you should be able to go back to an earlier version. Up to 50 GB of memory is required for the database. The database is running using a single VM. The solution needs to be deployed to Azure. What is your next step?
Question 6
You are using an Azure blob to store data. The data accumulation rate per day is 0.10 GB. Application of storage analytics data is vital to check whether the Service Level Agreement (SLA) has been adhered to, in addition to analyzing the performance of VHD’s (Virtual Hard Disk) which include usage patterns. When analytics data is more than 100 days old or when the entire data crosses 10 GB, it must be deleted. We require you to set up storage analytics and the storage analytics data must be accessed. State two ways in which this target is achieved.
A data retention framework of 100 days must be configured.
Question 7
Imagine you are developing a web application which uses Azure Table Service. The application you develop is going to store entities in the format of XML Data inside a single table. It should support High traffic throughput. You should not exceed the throttle limit for the table. Take two approaches.
ii) JSON format must be used to store entities.
Question 8
You are the architect of a web application. Data that is stored in an Azure SQL Database, is used by this application. You are responsible for reverting the application to the form in which it had existed on any day in the previous 35 days. Your task is to choose a backup solution. What would you do?
Question 9
A web application uses table storage in Azure. You create a storage account titled Contoso, that stores a table called CityPopulationData. This table is where all the entities are stored. Your work is to query the table data using OData. Which URL will work?
Question 10
Your task is to develop a Rest API service that furnishes data about various products. An Azure virtual machine (VM) will host the service. Use Azure tables to store the product data. You need to replicate the product data to various locations around the world. You must ensure that API calls, that use the HTTP GET operation, function properly. It should work even when there is no access to the data tables at the primary Azure data center. Your task is to configure storage for the service. Which type of replication will you use?
Question 11
An Azure virtual machine (VM) uses a data disk. Your task is to host an application there. The application executes numerous input and output operations per second. Your task is to disable disk caching for the data disk. Take two approaches. Each approach should be a solution in itself.
ii) We have to execute the following Windows PowerShell cmdlet: Set AzureDataDisk.
Question 12
You use table storage in Azure to store data. The storage analytics logs are empty. Your task is to configure the Azure storage account. At the same time, it must retain logs for the longest period of time that Azure allows. How would you go about it in the Azure management portal?
Question 13
A business enterprise is aiming to boost its virtual network capacity. They are going to do so through the addition of virtual network subscriptions. Your task is to boost the number of subscriptions from 4 to 18. You have to configure the virtual networks. What is your next step?
Question 14
Imagine you are developing a WCF service. You must create a new service instance for each and every client session. Your task is to select an instancing mode. Which instancing mode is the most applicable here?
Question 15
You develop a WCF service. This service will be used to analyze and compare various data sources. This service is consuming a lot of time to finish. The service should be able to meet these requirements.
i) The client must be able to carry on processing while the service is performing.
ii) The WCF service should commence communication with the client application as soon as the processing is over.
Your task is to choose a message pattern to satisfy the above conditions. What is your message pattern of choice?
Question 16
Imagine you are responsible for creating virtual machines (Vms) on Azure. You should be capable of changing the Remote Desktop access settings for the VMs. Likewise, you should also be capable of changing the password for the built-in administrator account on every VM. You are done recognizing the VMAccess VM extensions which are necessary. What do you do next?
Question 17
You are going to deploy a stateless ASP.NET application on an Azure website. Meanwhile, you add website instances to scale out the application. Many users have signed in newly. Only these users are routed to the currently added website instances. The users should be divided equally among the entirety of the instances. The load balancer should distribute requests evenly. Your task is to configure the environment to ensure that the load balancer works properly. What is your next step?
<addname=”Arr-Disable-Session-Affinity”value=”True”/>
Question 18
Local food delivery companies use an application, that you maintain. A customer wants some food to be delivered. Your application circulates a message immediately to all of the delivery companies. A company accepts and executes your request. Your application at present can handle up to a maximum of 100 orders. In contrast, delivery companies can dispatch large orders up to 500 products. Your task is to customize the application so that it supports any volume of orders. The message for bulk orders must be circulated only to the companies capable of handling them. Messages concerning small orders should reach all the companies. What service do you choose?
Question 19
Terabytes of content are stored in page blobs. You are looking after an application that employs the Azure Content Delivery Network (CDN) to deliver this content. The expenses you incur for CDN services are more than what you had expected. You need to figure out why the costs are increasing. State two operations that you can use to monitor the application.
ii) We have to also monitor the allocated size of page blobs.
Question 20
You develop a software as a service (SaaS) application. Virtual Machines (VMs), cloud services and websites analyze and read normal data values for the application from the database. The application is not able to scale accurately. All the websites, cloud services and the VMs must use the same data source to read the data. Your task is to device a cache solution for the application. What is your next step?
Question 21
Imagine you are developing an ASP.NET MVC application. Only administrators with elevated privileges can deploy the MVC application to remote servers. They have no access to Visual Studio 2012. Your task is to choose a deployment tool and deploy it to remote servers for testing. Which tool would you choose?