Azure Interview Q & A-part1

 What is the advantage to move to cloud?

Flexibility : We can restructure of our Environment is needed and you can create the an number of services based on our requirements.

Pay As you GO : PAY as you go option is good , Only pay for the services you used in a months or Day/Hrs. basis.

Hybrid Capability: We can integrate our on-premises Environment to azure using Site recovery or other Microsoft tool which will help us to extent our data center to azure .

Securing you Data : We can use the azure encryption ,Security center, key vault etc. application for securing the data which is resides in azure.

Scale on Demand : We can scale up the IAAS PASS SAAS services as per our demands.

Example: If customer ask he need 10 servers with in 1 day how we can process or is it possible , Yes it is possible using Windows azure and not even one day we can give it with 1-2 Hours Using the cloud services. If we need to in on-premises it might take 3-4 months to process and configure the server.

Integrative Data Solution: We can integrate the Data solution with azure like SQL server, Bigdata, Visual studio Etc.

Backup : We can directly take the backup in azure storage accounts with minimal charges and no need to buy additional hardware (backup tape HDD, File server etc.).

Disaster Recovery: We can use the Recovery Vault which known as Site recovery vault in azure to do Disaster recovery in azure without any problem.

What is storage account?

Azure Storage is massively scalable, so you can store and process hundreds of terabytes of data to support the big data scenarios required by scientific, financial analysis, and media applications.

  • Difference between LRS And ZRS storage Account?
  • Locally redundant storage (LRS).Locally redundant storage maintains three copies of your data. LRS is replicated three times within a single data center in a single region. LRS protects your data from normal hardware failures, but not from the failure of a single data center.
  • Zone-redundant storage (ZRS).Zone-redundant storage maintains three copies of your data. ZRS is replicated three times across two to three facilities, either within a single region or across two regions, providing higher durability than LRS. ZRS ensures that your data is durable within a single region.
  • Create and Manage the Azure storage accounts

What is file  storage ?

File storage offers shared storage for applications using the standard SMB 2.1 or SMB 3.0 protocol. Microsoft Azure virtual machines and cloud services can share file data across application components via mounted shares, and on-premises applications can access file data in a share via the File storage API.

Pre-requisite of  create and  WebApps?

  • Azure Subscription.
  • Storage account
  • SQL Database Connection
  • SSL certificate
  • Network security Group configuration.
  • Custom DNS
  • Data source
  •  Deployments Credentials if you are using the FTP.
  • Deployments Option like Visual Studio Onedrive ,local git etc
  • We should know the application version(.net4.5,4.3 python 32bit etc ) while migrating or creating the webapps

What is CDN?

The Microsoft Azure Content Delivery Network (CDN) offers developers a global solution for delivering high-bandwidth content that is hosted in Azure or any other location. Using the CDN, you can cache publicly available objects loaded from Azure blob storage, a web application, virtual machine, application folder, or other HTTP/HTTPS location. The CDN cache can be held at strategic locations to provide maximum bandwidth for delivering content to users. The CDN is typically used for delivering static content such as images, style sheets, documents, files, client-side scripts, and HTML pages.

 

How you plan Disaster Recovery if I have 10 Vms running on Hyper-V on-Prem and VMware Environment?

  • We will Set up Azure environment for migration.
  • we will Prepare the configuration server
  • we will Prepare for automatic discovery and push installation
  • we will create a Recovery Services vault
  • we will Select the protection goal and start protecting servers.
  • we will Set up the source environment
  • Run Site Recovery Unified Setup
  • we have to setup the target server.
  • Set up replication settings
  • Plan capacity
  • Prepare VMs for replication
  • we will enable the Enable replication
  • we will run a test failover

How to migrate the on-premises server to azure using site recovery ?

  • Please follow the step by step setup below  to migrate on-premises to azure .
  • I always refer below azure documents  as they are updated one.

How to configure the Backup for Azure Vms and on-Prem Vms?

  1. Configure the vault
  2. Install and register the agent
  3. Back up your files and folders

Backing up Azure virtual machines

  1. Discover and Register Azure virtual machines
  2. Install the VM Agent on the virtual machine
  3. Create the backup policy
  4. Initial backup

How to migrate the File servers to Azure?

  • Create Azure file storage account as per user requirements
  • Under storage account, create the file storage and need to assign the storage quota
  • Create the file share and directories as per customer requirement
  • Upload on premise data to Azure file share directory
  • Configure shared access signatures(SAS) via the REST API or the client libraries.
  • Generate tokens with specific permission as required by the client
  • Install the storage explorer to migrate the data from on premise to azure file server
  • Install and configure the Azure copy client On- premise server to migrate the data to the azure storage account
  • Configure Azure file share access and signature for storage account to access the file server
  • Initiate data migration process
  • Upload and download files to and from On-premise file share sever

 How many types of storage account azure have?

Premier Storage Account: Microsoft Azure Premium Storage delivers high-performance, low-latency disk support for virtual machines (VMs) running I/O-intensive workloads. VM disks that use Premium Storage store data on solid state drives (SSDs). You can migrate your application’s VM disks to Azure Premium Storage to take advantage of the speed and performance of these disks.

Azure Storage is the cloud storage solution for modern applications that rely on durability, availability, and scalability to meet the needs of their customers.

Difference Between ASR and ARM?

ASM

ARM

   
This is an old portal which provides Cloud
service for Iaas Workload and few specific Paas Workload
They are new portal provides service for all
Workload of IaaS and PaaS
Access over the Url:
https://manage.windowsazure.com
which  termed as V1 portal.
Access over the Url: https://portal.azure.com
which  termed as V2 portal  having Blade design Portal View
Azure Service Manager are XML driven REST API Azure Service Manager are JSON driven REST API
Had a concept of Affinity Group which has been
deprecated
They have container concept called Resource
Group which is logical set of correlated cloud resources which can span
multiple region and services
Private Azure Portal can be built using
Windows Azure Pack
Private Azure Portal can be built using  Azure Stack
Removal or Deletion is not easy as Azure Resource
Manager
Removal of resource is easier by deleting the
resource group (RSG) which will help to delete all the resource present in
the RSG
Deployment can be performed using PowerShell
script
Deployment can be performed using ARM
templates which provide simple orchestration and rollback function. They have
their own PowerShell Module
Features and function are not available Role Based Access Control Feature is Present
Features and function are not available Resource from the resource group can be moved
between within the same region
Features and function are not available Resource Tagging which is name-pair value
assigned to resource group which can have up to 15 tags per resources
Features and function are not available Massive and Parallel Deployment of VM’s
possible with Asynchronous Operations
Features and function are not available We can have custom policy created to restrict
the operation that can be performed
Features and function are not available Azure Resource Explorer  – https://resources.azure.com/ which helps
for more understanding on resources and for deployment
Features and function are not available  Resource Locks provides the policy to
enforce lock level that prevent from accident deletion

How to migrate the On-Prem servers to azure?

Pre-requisite to create the VM.

  • Click the New button found on the upper left-hand corner of the Azure portal.
  • Select Compute from the New blade, select Windows Server 2016 Datacenter from the Compute blade, and then click the Create
  • Fill out the virtual machine Basics The user name and password entered here is used to log in to the virtual machine. For Resource group, create a new one. A resource group is a logical container into which Azure resources are created and collectively managed. When complete, click OK.
  • Choose a size for the VM and click Select.
  • On the settings blade, select Yes under Use managed disks, keep the defaults for the rest of the settings, and click OK.
  • On the summary page, click Ok to start the virtual machine deployment.
  • To monitor deployment status, click the virtual machine. The VM can be found on the Azure portal dashboard, or by selecting Virtual Machines from the left-hand menu. When the VM has been created, the status changes from Deploying to Running.

How to deploy the Custom image?

  1. In the Azure portalConnectto the virtual machine. For instructions, see How to sign in to a virtual machine running Windows Server.
  2. Open a Command Prompt window as an administrator.
  3. Change the directory to %windir%\system32\sysprep, and then run sysprep.exe.
  4. The System Preparation Tooldialog box appears. Do the following:
    • In System Cleanup Action, select Enter System Out-of-Box Experience (OOBE)and make sure that Generalize is checked. For more information about using Sysprep, see How to Use Sysprep: An Introduction.
    • In Shutdown Options, select Shutdown.
    • Click OK.
  5. Sysprep shuts down the virtual machine, which changes the status of the virtual machine in the Azure classic portal to Stopped.
  6. In the Azure portal, click Virtual Machines (classic)and select the virtual machine you want to capture. The VM images (classic) group is listed under Compute when you view More services.
  7. On the command bar, click Capture.

The Capture the Virtual Machine dialog box appears.

  1. In Image name, type a name for the new image. In Image label, type a label for the new image.
  2. Click I’ve run Sysprep on the virtual machine. This checkbox refers to the actions with Sysprep in steps 3-5. An image mustbe generalized by running Sysprep before you add a Windows Server image to your set of custom images.
  3. Once the capture completes, the new image becomes available in the Marketplace, in the ComputeVM images (classic)

What azure VPN and how many types of Azure VPN we can configure in azure?

Site to Site VPN :

A Site-to-Site (S2S) VPN gateway connection is a connection over IPsec/IKE (IKEv1 or IKEv2) VPN tunnel. This type of connection requires a VPN device located on-premises that has a public IP address assigned to it and is not located behind a NAT. S2S connections can be used for cross-premises and hybrid configurations

Point to Site VPN: A Point-to-Site (P2S) configuration lets you create a secure connection from an individual client computer to a virtual network. P2S is a VPN connection over SSTP (Secure Socket Tunneling Protocol). Point-to-Site connections are useful when you want to connect to your VNet from a remote location, such as from home or a conference, or when you only have a few clients that need to connect to a virtual network. P2S connections do not require a VPN device or a public-facing IP address. You establish the VPN connection from the client computer.

Vnet to Vnet : Connecting a virtual network to another virtual network (VNet-to-VNet) is similar to connecting a VNet to an on-premises site location. Both connectivity types use a VPN gateway to provide a secure tunnel using IPsec/IKE. You can even combine VNet-to-VNet communication with multi-site connection configurations. This lets you establish network topologies that combine cross-premises connectivity with inter-virtual network connectivity.

Azure Virtual network setup and configuration

Azure Site to site VPN Configuration Step-step

 What is express route?

ExpressRoute is a direct, dedicated connection from your WAN (not over the public Internet) to Microsoft Services, including Azure. Site-to-Site VPN traffic travels encrypted over the public Internet. Being able to configure Site-to-Site VPN and ExpressRoute connections for the same virtual network has several advantages.

You can configure a Site-to-Site VPN as a secure failover path for ExpressRoute, or use Site-to-Site VPNs to connect to sites that are not part of your network, but that are connected through ExpressRoute. Notice that this configuration requires two virtual network gateways for the same virtual network, one using the gateway type ‘Vpn’, and the other using the gateway type ‘ExpressRoute’.

  1. How you can troubleshoot if VM is not working?
  2. We can reset the VM configuration.
  3. If user has forget the password of the VM local account how we can change?

Ans:- you can found the answer here i have provide the information in details:  Windows Azure VM troubleshootings

Is it possible to host the VM in another region and connect to different region?

Yes, We need to setup the interconnectivity while creation the  V-net to V-net  connection between both the region than only we can connect.

How to Assign Static IP address in azure Vms?

Please follow the below blog to assign the static IP address.

Assign Static IP address to azure Vms.

Azure interview question

What is traffic Manager and how to configure it ?

  • Azure Traffic Manager allows us to control the distribution of user traffic for service endpoints which resides in different datacenters.
  • Service endpoints supported by Traffic Manager including Azure VMs, Web Apps, and cloud services. We can also use Traffic Manager with external, non-Azure endpoints

Use below link to get more detail on azure traffic manager.Configuration and setup the traffic Manager

What is Azure DNS Server and how to configure it ?

  • Azure DNS or DNS is responsible for translating (or resolving) a website or service name to its IP address.
  • Azure DNS is a hosting service for DNS domains, providing name resolution using Microsoft Azure infrastructure.
  • Hosting your domains in Azure, We can manage our DNS records using the same credentials, APIs, tools, and billing as we are using for other Azure services.

More Details Please follow below links:

Azure DNS serve setup and configuration

Azure DNS Records and limitation

Note: References and answers have been taken from Microsoft Azure Documents. Requesting  the viewers to please refer microsoft azure documents or contact me if  in depth knowledge is required.

Refer this:  https://docs.microsoft.com/en-us/azure/#pivot=services

7 thoughts on “Azure Interview Q & A-part1

  1. Anonymous

    Hi Lalit — Thank you very much..

    Very useful information before going to interview

    If possible could you please publish real time errors and resolution steps

    Liked by 1 person

  2. Pingback: Azure Interview Question -Part-2-TOP-51 - Azure4you By Lalit Rawat

Leave a comment