Azure Interview Questions and Answers
1. What are the three main components of Windows Azure Platform?
2. What are the Service Model in Cloud Computing?
Cloud computing providers offer their services according to three fundamental models: Infrastructure as a service (IaaS), platform as a service (PaaS), and software as a service (SaaS) where IaaS is the most basic and each higher model abstracts from the details of the lower models.
Examples of IaaS include: Amazon CloudFormation (and underlying services such as Amazon EC2), Rackspace Cloud, Terremark, Windows Azure Virtual Machines in Bangalore, Google Compute Engine. and Joyent.
Examples of PaaS include: Amazon Elastic Beanstalk, Cloud Foundry, Heroku, Force.com, EngineYard, Mendix, Google App Engine, Windows Azure Compute and OrangeScape.
Examples of SaaS include: Google Apps, Microsoft Office 365, and Onlive.
3. How many types of deployment models are used in cloud?
There are 4 types of deployment models used in cloud:
- Public cloud
- Private cloud
- Community cloud
- Hybrid cloud
4. What is Windows Azure Platform?
A collective name of Microsoft’s Platform as a Service (PaaS) offering which provides a programming platform, a deployment vehicle, and a runtime environment of cloud computing hosted in Microsoft datacenters.
Azure Interview Questions
5. What are the roles available in Windows Azure?
All three roles (web, worker, VM) are essentially Windows Server 2008. Web and Worker roles are nearly identical: With Web and Worker roles, the OS and related patches are taken care for you; you build your app's components without having to manage a VM
6. How would you categorize Windows Azure? (IaaS/PaaS/SaaS)
PaaS (Platform as a Service)
7. What are the three types of roles in Compute component in Windows Azure?
8. What is Windows Azure compute emulator?
The compute emulator is a local emulator of Windows Azure that you can use to build and test your application before deploying it to Windows Azure.
9. What is fabric?
In the Windows Azure cloud fabric is nothing but a combination of many virtualized instances which run client application
10. How many instances of a Role should be deployed to satisfy Azure SLA (service level agreement) ? And what's the benefit of Azure SLA?
TWO. And if we do so, the role would have external connectivity at least 99.95% of the time.
11. What are the options to manage session state in Windows Azure?
- Windows Azure Caching
- SQL Azure
- Azure Table
12. What is cspack?
It is a command-line tool that generates a service package file (.cspkg) and prepares an application for deployment, either to Windows Azure or to the compute emulator.
13. What is csrun?
It is a command-line tool that deploys a packaged application to the Windows Azure compute emulator and manages the running service.
14. What is guest OS?
It is the operating system that runs on the virtual machine that hosts an instance of a role.
15. What is guest OS?
It is the operating system that runs on the virtual machine that hosts an instance of a role.
16. How to programmatically scale out Azure Worker Role instances?
Using AutoScaling Application Block
17. 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.
18. 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.
19. What are the three types of roles in Compute component in Windows Azure?
Web, Worker and VM.
Web and worker roles are essentially same except that web roles have IIS enabled on them.
Microsoft Azure Interview Questions
20. 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.
21. 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 –
- Block Blob
- Page Blob
URL format: Blobs are addressable using the following URL format:
22. 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
23. What is the difference between Windows Azure Queues and Windows Azure Service Bus Queues?
Windows Azure supports two types of queue mechanisms: Windows Azure Queues and Service Bus Queues .
Windows Azure Queues , which are part of the Windows Azure storage infrastructure, feature a simple REST-based Get/Put/Peek interface, providing reliable, persistent messaging within and between services.
Service Bus Queues are part of a broader Windows Azure messaging infrastructure that supports queuing as well as publish/subscribe, Web service remoting, and integration patterns.
24. 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.
25. What are instance sizes of Azure?
Windows Azure will handle the load balancing for all of the instances that are created. The VM sizes are as follows:
|Compute Instance||Size CPU||Memory Instance||Storage I/O||Performance|
|Extra Small||1.0 Ghz||768 MB||20 GB||Low|
|Small||1.6 GHz||1.75 GB||225 GB||Moderate|
|Medium||2 x 1.6 GHz||3.5 GB||490 GB||High|
|Large||4 x 1.6 GHz||7 GB||1,000 GB||High|
|Extra large||8 x 1.6 GHz||14 GB||2,040 GB||High|
26. What is table storoage in Windows Azure?
The Windows Azure Table storage service stores large amounts of structured data.
The service is a NoSQL datastore which accepts authenticated calls from inside and outside the Windows Azure cloud.
Windows Azure tables are ideal for storing structured, non-relational data
Table: A table is a collection of entities. Tables don't enforce a schema on entities, which means a single table can contain entities that have different sets of properties. An account can contain many tables
Entity: An entity is a set of properties, similar to a database row. An entity can be up to 1MB in size.
Properties: A property is a name-value pair. Each entity can include up to 252 properties to store data. Each entity also has 3 system properties that specify a partition key, a row key, and a timestamp.
Entities with the same partition key can be queried more quickly, and inserted/updated in atomic operations. An entity's row key is its unique identifier within a partition.
27. 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.
Interview Questions On Azure
28. What is Azure Fabric Controller?
The Windows Azure Fabric Controller is a resource provisioning and management layer that manages the hardware, and provides resource allocation, deployment/upgrade, and management for cloud services on the Windows Azure platform.
29. 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.
30. what is VM role in Windows Azure?
Virtual Machine (VM) roles, now in Beta, enable you to deploy a custom Windows Server 2008 R2 (Enterprise or Standard) image to Windows Azure. You can use the VM role when your application requires a large number of server OS customizations and cannot be automated. The VM Role gives you full control over your application environment and lets you migrate existing applications to the cloud.
31. Apart from .Net framework, Name other three language/framework that can be used to develop Windows Azure applications?
php, node.js, java
32. Briefly explain scalability Targets for a Single Storage Account of Azure
|Individual Storage Accounts|
|Capacity||Upto 200 TB|
|Transactions||Up to 20,000 entities/messages/blobs per second|
|Bandwidth for a Geo-Redundant Storage Account|
|Ingress||Up to 5Gbps|
|Egress||Up to 10Gbps|
|Bandwidth for a Locally Redundant Storage Account|
|Ingress||Up to 10Gbps|
|Egress||Up to 15Gbps|
What is meant by Fault Domain?
The fault domain is a logical group of hardware that is underlying to share a common network switch, power source that is similar to a rack within on-premise data-centers. The Azure platform distributes the created VMs within the available set and distributed across these domains. This approach is a limited one and is limited its impact of potential hardware failures, power interruptions, and network outages.
What is the Azure App Service?
Azure App Service is a perfectly managed PaaS (Platform as a Service) offering for proficient developers conveying rich arrangement of mobile and web abilities as well as integration scenarios. Azure App Service offers mobile apps those provides mobile application development platforms that are easy to adapt for Enterprise System, Integrators and Developers to convey a rich set of capacities to mobile engineers.