Microsoft Azure Interview Questions and Answers
Question - 91 : - What is the distinction between Public Cloud and Private Cloud?
Answer - 91 : -
A public cloud is utilized as a service through the Internet by users, while a private cloud is deployed within specific limits like firewall settings and is totally overseen and checked by the users dealing with it in an organization.
Question - 92 : - How can you stop the high load issue on an application in cases of no man support on the flow?
Answer - 92 : -
Azure VM Scale Sets can be used to define proper configurations and conditions and provide a new VM whenever there is a high load.
The VM Scale Sets allows the developer to create and manage a group of load-balanced VMs. The scale sets can be configured in accordance with the demand of the application or a predefined schedule that automatically adjusts the number of VMs.
Using scale sets ensures that the applications are highly available and enable the management, updation, and configuration of large VMs centrally. It also supports large-scale application development with big workloads, big data, and compute loads. Azure Scale Sets supports up to 1,000 VMs and 600 VMs for custom VM images.
Question - 93 : - What could be the reason for the client application to be disconnected from the cache?
Answer - 93 : -
There could be two possible reasons:
Client-end- Redeployment of application
- Scaling operation by application
- Change in the client-side networking layer
- Transient errors in the client or network between the client and the server
- The crossing of bandwidth threshold limits
Server-end
- Azure Redis Cache service had a failover from the primary node to the secondary node
- The server instance where the cache was deployed had patching or maintenance
Question - 94 : - What will you do in case of a drive failure?
Answer - 94 : -
When a drive failure occurs, the following steps need to be performed:
- Ensure that the drive is not mounted so that Azure Storage is functioning without fail
- Replace the drive so that it is remounted and formatted
Question - 95 : - Create a Virtual Machine with Azure CLI.
Answer - 95 : -
Following is an example how one can create a VM using Azure CLI:
az vm create \
--resource-group myResourceGroupName \
--name myVM \
--image Win19Datacenter \
--public-ip-sku Standard \
--admin-username AzureuserNAME \
--admin-password AzurePASSWORD
Question - 96 : - What are the different storage services available in Azure apart from Blob storage?
Answer - 96 : -
Azure offers three other types of storage services, apart from Blob storage, table storage, queue Storage, and file storage.
Azure table storage: It allows the deployment of applications with semi-structured data and a key-value store, which is NoSQL-based.
Used when there is a requirement for applications with a flexible data schema
Emphasis is on enterprise-level data and strongly follows consistent models
Data is in terms of entities grouped under tables
Azure queue storage: The message queue system is capable of handling large workloads through the development of flexible and durable applications.
Ensures that the applications are scalable and less likely to have component failures
The queue monitoring helps the application ensure that the requirements are met
Azure file storage: It offers file sharing and access using server message block (SMB) protocol. The data is secured with SMB 3.0 and HTTPS.
Improves the performance of on-premise applications
Azure takes care of OS deployments and hardware management
Question - 97 : - How to create a resource group in Azure?
Answer - 97 : -
To create a resource group in Azure:
- Log in to the Azure portal
- In the menu on the left, select Resource groups
- In the Resource groups page, click on Add
- Fill in the details in the fields as follows:
- Subscription: Select your Microsoft Azure subscription
- Resource group name: Enter a unique name
- Resource details region: Select a location
- Click on Review + create
- Once validation is passed, click on Create to create your resource group
That’s it in our blog on MS Azure interview questions and answers. Hope these Azure questions help you in your Azure Interview job preparation.
Question - 98 : - How to export users from Azure Active Directory?
Answer - 98 : -
You can export users from Azure AD by following the below-mentioned steps:
- Install the Azure PowerShell module using the following cmdlet:
install-module az
- To connect to Azure AD and Azure, run:
Connect-azaccount
- To export, all users to a CSV file, run:
Get-AzADUser | export-csv file.csv
- If you only need to export the first 10 users, then you can use:
Get-AzADUser -First 10 | export-csv file.csv
- To export all users after the first 2 users, you can use:
Get-AzADUser -Skip 2 | ft
Question - 99 : - How to deploy SQL Database in Azure?
Answer - 99 : -
- Authenticate to the Azure portal
- Click on SQL Databases
- Click on Servers
- Click on a server name to connect to
- Press Configure
- Open SQL Server Management Studio
- Connect to Database services (usually, this happens by default)
- Finally, click on Connect
Question - 100 : - How to connect to Azure Database from SQL Management Studio?
Answer - 100 : -
1. The first time you start the SQL Server Management Studio, the Connect to Server dialog box opens up automatically. You can also open it manually by going to Object Explorer > Connect > Database Engine.
2. Then, enter the following information in the Connect to Server window:
Server Type Database Engine
Server Name Enter the name of your Azure SQL Database or Azure Managed Instance
Authentication SQL Server Authentication
Login Enter the server account user ID
Password Enter the server account password You can also choose to change the additional connection options by going to Options.
3. Click on Connect after completing all the required fields
If the firewall settings are not set up, a prompt appears to configure the same. Once signed in, provide the Azure account login information, and set the firewall rule. Then, click on OK.
4. To verify if your Azure Database connection is successful, expand and explore Object Explorer for the server name, the SQL Server version, and the username.