Skip to main content

Window Azure Interview Questions and Answers

What Is Windows Azure Platform?
Microsoft Azure is an open-source for client SDKs, cloud computing service for building, testing, deploying, and managing applications and services through a global network of Microsoft-managed data centers.

Microsoft Azure is created and developed by Microsoft Corporation and the Initial release was 1 February 2010.
Windows Azure was originally code named “Red Dog” and was initially called “Windows Cloud” when it first launched in October 2008.

Windows Azure is designed to support both Microsoft and non-Microsoft platforms.
In July 2018, Microsoft categorizes Azure cloud services into 18 main product types which are:
1.      Compute
2.      Web
3.      Data storage
4.      Analytics
5.      Networking
6.      CDN - Media and content delivery network
7.      Hybrid integration
8.      IAM - Identity and access management
9.      IoT - Internet of things
10. Development
11. Security
12. AI and ML - Artificial intelligence and machine learning
13. Containers
14. Databases - SQL, PostgreSQL and NoSQL
15. DevOps
16. Migration
17. Mobile
18. Management

Microsoft Azure categorized their services as following -
1.      IaaS - Infrastructure as a Service
2.      PaaS - Platform as a Service
3.      SaaS - Software as a Service

Advantages of Windows Azure:
1.      High Availability
2.      Security
3.      Scalability
4.      Cost-Effectiveness
5.      It’s Op-Ex friendly

Disadvantages of Windows Azure:
1.      Lack of Hyper-V Snapshot Support
2.      Inability to Upload Custom Images
3.      Provisioning Virtual Machines in the Cloud Takes Longer than On-Premise
4.      Lack of Integrated Backup
5.      Poor Management GUI and Tools
6.      No Access to Windows Client Images

Is Azure a Platform?
Microsoft Azure is public cloud computing platform and most of users using these services to develop and scale new applications, or run existing applications, in the public cloud.

Is Azure a SaaS?
Azure Web Sites and O365 serve as a SaaS offering.

Why do People use Azure?
Microsoft Azure has leveraged and it’s constantly expanding worldwide network of data centers to create Azure, a cloud platform for building, deploying, and managing services and applications, anywhere worldwide.

What Are Azure Cloud Services?
Azure Cloud Services is a classic Azure resource, originally introduced by Azure back in 2008. It uses to support scalable web and worker role applications running on Windows.

What do you mean by Roles in Azure?
Roles in cloud management are often termed to be nothing servers that are linked to managing and balancing the platform as service machine that collaborate works to attain the goal.

What Are the Different Types of Roles?
Microsoft Azure contains three types of roles:
1.      Web Role
2.      Worker Role
3.      VM  Role

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

Web Role automatically deploys and hosts your app through IIS.

Worker Role:
Worker Role instance is also a VM instance just like a Web role instance and Worker role instance runs only windows server OS and is not loaded with IIS.

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.

Worker Roles are best suited for hosting backend processing and a wide variety of web services. A Worker role once started keeps running all the time just as a Windows Service. To keep it running, the worker role uses a simple while (true) loop.

VM Role:
VM Role is a kind of role in the Azure platform which helps to maintain service packs, patches, updates and applications already installed, to Windows Azure automatically.

The VM role is the newbie, and it uses a virtual hard disk (VHD) image of a Windows 2008 R2 server. The image is created internally on your network using Hyper-V technology and then uploaded to Windows Azure. This image can be customized and configured to run whatever software you would like to run in the cloud.

VM Role in the cloud doesn’t seem like the best option for the long-term.

They are provisioned in a similar way to Web Role and Worker Role. Whenever you specify you need a new instance of any of these roles, the “original” image is used. If you make modifications to the file system of one of these roles and then shut it down, those changes are not saved.

Be aware that it is the VM Role instance type in Cloud Services that is being retired on May 31st 2013, not Windows Azure Virtual Machines.

Summary:
1.      Web roles are web applications hosted in IIS.
2.      Worker roles are processes that can do some work (i.e. automatically compress uploaded images, do stuff whenever something changes in your database, get new messages from queue and process, you name it)
3.      VM roles host VMs
4.      Actually, Web Roles and Worker Roles are VMs.

How to Programmatically Scale out Azure Worker Role Instances?
Using AutoScaling Application Block

Does the Azure VM Role Still Exist?
Windows Azure VM Role is being completely retired or dead.

What Is the Difference Between Web Role and Worker Role?
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.

Which Services Are Used to Manage the Resources in Azure?
Azure resource manager is the infrastructure that is involved in to manage deploys or deleting all the resources.

State the Purpose of the Cloud Configuration File?
There is a primary “.csfg” file available with each and every cloud service.

The main purpose of this file is -
1.      They hold the main copy of certificates.
2.      They have the storage of user-defined settings.
3.      There are a number of instances in any service project.

What Is Cloud Computing?
Cloud computing is the use of computing resources (hardware and software) that are delivered as a service over a network (typically the Internet).

How Many Types of Deployment Models Are Used in Cloud?
There are 4 types of deployment models used in cloud:
1.      Public cloud
2.      Private cloud
3.      Community cloud
4.      Hybrid cloud

What Are the Difference between Private Cloud and Public cloud?

Private Cloud:
1.      It is built exclusively for individual organization or enterprise
2.      Privately shared virtual resources
3.      Private Cloud’s Cost is very high         
4.      It is not accessible by anyone
5.      Its maintained by the owned organization itself

Public Cloud:
1.      It is built for many organizations
2.      Publically shared virtual resources
3.      It is suited for less confidential information
4.      It may be accessible by other as well
5.      In a public cloud, scalability can be done easily

What Are the Three Main Components of Windows Azure Platform?
The Three Main Components Is -
1.      Compute
2.      Storage
3.      AppFabric

What Are the Options to Manage Session State in Windows Azure?       
1.      Windows Azure Caching
2.      SQL Azure
3.      Azure Table

What Is Blob?
BLOB stands for “Binary Large Object”. Blob is file of any type and size.
The Azure Blob Storage offers two types of blobs –
1.      Block Blob
2.      Page Blob

URL format: Blobs are addressable using the following URL format:  http://blob.aaa.windows.net//

What Is SQL Azure Database?
SQL Azure database helps in connecting to the cloud services where the database is stored for the organization on the cloud. It is also referred to as Microsoft SQL data services.

What Are the Main Features of SQL Azure?
1.      Availability
2.      Scalability
3.      Security

What Is Cspack?
Cspack is a command line tool which used to generate a service package file (.cspkg).

What Is Csrun?
Csrun is a command line tool which used to deploy a packaged application to the Windows Azure compute emulator and manages the running service.

What Is Guest Os?
Guest Os is the operating system that runs on the virtual machine and hosts an instance of a role.
By Anil Singh | Rating of this article (*****)

Popular posts from this blog

List of Countries, Nationalities and their Code In Excel File

Download JSON file for this List - Click on JSON file    Countries List, Nationalities and Code Excel ID Country Country Code Nationality Person 1 UNITED KINGDOM GB British a Briton 2 ARGENTINA AR Argentinian an Argentinian 3 AUSTRALIA AU Australian an Australian 4 BAHAMAS BS Bahamian a Bahamian 5 BELGIUM BE Belgian a Belgian 6 BRAZIL BR Brazilian a Brazilian 7 CANADA CA Canadian a Canadian 8 CHINA CN Chinese a Chinese 9 COLOMBIA CO Colombian a Colombian 10 CUBA CU Cuban a Cuban 11 DOMINICAN REPUBLIC DO Dominican a Dominican 12 ECUADOR EC Ecuadorean an Ecuadorean 13 EL SALVADOR

39 Best Object Oriented JavaScript Interview Questions and Answers

Most Popular 37 Key Questions for JavaScript Interviews. What is Object in JavaScript? What is the Prototype object in JavaScript and how it is used? What is "this"? What is its value? Explain why "self" is needed instead of "this". What is a Closure and why are they so useful to us? Explain how to write class methods vs. instance methods. Can you explain the difference between == and ===? Can you explain the difference between call and apply? Explain why Asynchronous code is important in JavaScript? Can you please tell me a story about JavaScript performance problems? Tell me your JavaScript Naming Convention? How do you define a class and its constructor? What is Hoisted in JavaScript? What is function overloadin

React | Encryption and Decryption Data/Text using CryptoJs

To encrypt and decrypt data, simply use encrypt () and decrypt () function from an instance of crypto-js. Node.js (Install) Requirements: 1.       Node.js 2.       npm (Node.js package manager) 3.       npm install crypto-js npm   install   crypto - js Usage - Step 1 - Import var   CryptoJS  =  require ( "crypto-js" ); Step 2 - Encrypt    // Encrypt    var   ciphertext  =  CryptoJS . AES . encrypt ( JSON . stringify ( data ),  'my-secret-key@123' ). toString (); Step 3 -Decrypt    // Decrypt    var   bytes  =  CryptoJS . AES . decrypt ( ciphertext ,  'my-secret-key@123' );    var   decryptedData  =  JSON . parse ( bytes . toString ( CryptoJS . enc . Utf8 )); As an Example,   import   React   from   'react' ; import   './App.css' ; //Including all libraries, for access to extra methods. var   CryptoJS  =  require ( "crypto-js" ); function   App () {    var   data

25 Best Vue.js 2 Interview Questions and Answers

What Is Vue.js? The Vue.js is a progressive JavaScript framework and used to building the interactive user interfaces and also it’s focused on the view layer only (front end). The Vue.js is easy to integrate with other libraries and others existing projects. Vue.js is very popular for Single Page Applications developments. The Vue.js is lighter, smaller in size and so faster. It also supports the MVVM ( Model-View-ViewModel ) pattern. The Vue.js is supporting to multiple Components and libraries like - ü   Tables and data grids ü   Notifications ü   Loader ü   Calendar ü   Display time, date and age ü   Progress Bar ü   Tooltip ü   Overlay ü   Icons ü   Menu ü   Charts ü   Map ü   Pdf viewer ü   And so on The Vue.js was developed by “ Evan You ”, an Ex Google software engineer. The latest version is Vue.js 2. The Vue.js 2 is very similar to Angular because Evan You was inspired by Angular and the Vue.js 2 components looks like -

Encryption and Decryption Data/Password in Angular

You can use crypto.js to encrypt data. We have used 'crypto-js'.   Follow the below steps, Steps 1 –  Install CryptoJS using below NPM commands in your project directory npm install crypto-js --save npm install @types/crypto-js –save After installing both above commands it looks like  – NPM Command  1 ->   npm install crypto-js --save NPM Command  2 ->   npm install @types/crypto-js --save Steps 2  - Add the script path in “ angular.json ” file. "scripts" : [                "../node_modules/crypto-js/crypto-js.js"               ] Steps 3 –  Create a service class “ EncrDecrService ” for  encrypts and decrypts get/set methods . Import “ CryptoJS ” in the service for using  encrypt and decrypt get/set methods . import  {  Injectable  }  from   '@angular/core' ; import   *   as   CryptoJS   from   'crypto-js' ; @ Injectable ({    providedIn:   'root' }) export   class   EncrDecrS