Here we have mentioned most frequently asked Microsoft Azure Interview Questions and Answers specially for freshers and experienced.


 

1. What is Cloud Computing?

Ans:

It is the use of servers on the internet to “store”, “manage” and “process” data. The difference is, instead of using your own servers, you are using someone else’s servers to do your task, paying them for the amount of time you use it for.

2. What are the different type of services offered in the cloud?

Ans:

The different type of services offered in the cloud are:
IaaS
PaaS
SaaS
IaaS: In infrastructure as a service, you get the raw hardware from your cloud provider as a service i.e you get a server which you can configure with your own qill.
PaaS: Platform as a Service, gives you a platform to publish without giving the access to the underlying software or OS. For example: Web Apps, Mobile Apps in Azure.
SaaS: You get software as a service in Azure, i.e no infrastructure, no platform, simple software that you can use without purchasing it. For example: when you launch a VM on Azure, you are not buying the OS, you are basically renting it for the time you will be running that instance.

3. What are the different cloud deployment models?

Ans:

Following are the three cloud deployment models:
Public Cloud: The infrastructure is owned by your cloud provider and the server that you are using could be a multi-tenant system.
Private Cloud: The infrastructure is owned by you or your cloud provider gives you that service exclusively. For eg: Hosting your website on your servers, or hosting your website with the cloud provider on a dedicated server.
Hybrid Cloud: When you use both Public Cloud, Private Cloud together, it is called Hybrid Cloud. For Example: Using your in-house servers for confidential data, and the public cloud for hosting your company’s public facing website. This type of setup would be a hybrid cloud.

4. I have some private servers on my premises, also I have distributed some of my workload on the public cloud, what is this architecture called?

Virtual Private Network
Private Cloud
Virtual Private Cloud
Hybrid Cloud

Ans: Hybrid Cloud

Explanation: This type of architecture would be a hybrid cloud. Why? Because we are using both, the public cloud, and on premises servers i.e the private cloud. To make this hybrid architecture easy to use, wouldn’t it be better if your private and public cloud were all on the same network (virtually). This is established by including your public cloud servers in a virtual private cloud, and connecting virtual cloud with your on premise servers using a VPN (Virtual Private Network).

5. What is Microsoft Azure and why is it used?

Ans:

As discussed above, the companies which provide the cloud service are called the Cloud Providers. There are a lot of cloud providers out there, out of them one is Microsoft Azure. It is used for accessing Microsoft’s infrastructure for cloud.

6. Which service in Azure is used to manage resources in Azure?

Application Insights
Azure Resource Manager
Azure Portal
Log Analytics

Ans:

Azure Resource Manager

Explanation: Azure Resource Manager is used to “manage” infrastructures which involve a no. of azure services. It can be used to deploy, manage and delete all the resources together using a simple JSON script.

7. Which of the following web applications can be deployed with Azure?

ASP.NET
PHP
WCF
All of the mentioned

Ans:

All of the mentioned

Explanation: Microsoft also has released SDKs for both Java and Ruby to allow applications written in those languages to place calls to the Azure Service Platform API to the AppFabric Service.

8. What are Roles and why do we use them?

Ans:

Roles are nothing servers in layman terms. These servers are managed, load balanced, Platform as a Service virtual machines that work together to achieve a common goal.
There are 3 types of roles in Microsoft Azure:
Web Role
Worker Role
VM Role
Let’s discuss each of these roles in detail:
Web Role – A web role is basically used to deploy a website, using languages supported by the IIS platform like, PHP, .NET etc. It is configured and customized to run web applications.
Worker Role – A worker role is more like an help to the Web role, it used to execute background processes unlike the Web Role which is used to deploy the website.
VM Role – The VM role is used by a user to schedule tasks and other windows services. This role can be used to customize the machines on which the web and worker role is running.

9. A _________ role is a virtual machine instance running Microsoft IIS Web server that can accept and respond to HTTP or HTTPS requests.

Web
Server
Worker
Client

Ans:

Web
Explanation: The answer should be Web Roles, there are no roles such as Server or Client roles. Also, Worker roles can only communicate with Azure Storage or through direct connections to clients.

10. Is it possible to create a Virtual Machine using Azure Resource Manager in a Virtual Network that was created using classic deployment?

Ans:

This is not supported. You cannot use Azure Resource Manager to deploy a virtual machine into a virtual network that was created using classic deployment.



 

11. What are virtual machine scale sets in Azure?

Ans:

Virtual machine scale sets are Azure compute resource that you can use to deploy and manage a set of identical VMs. With all the VMs configured the same, scale sets are designed to support true autoscale, and no pre-provisioning of VMs is required. So it’s easier to build large-scale services that target big compute, big data, and containerized workloads.

12. Are data disks supported within scale sets?

Ans:

Yes. A scale set can define an attached data disk configuration that applies to all VMs in the set. Other options for storing data include:
Azure files (SMB shared drives)
OS drive
Temp drive (local, not backed by Azure Storage)
Azure data service (for example, Azure tables, Azure blobs)
External data service (for example, remote database)

13. What is an Availability Set?

Ans:

An availability set is a logical grouping of VMs that allows Azure to understand how your application is built to provide redundancy and availability. It is recommended that two or more VMs are created within an availability set to provide for a highly available application and to meet the 99.95% Azure SLA. When a single VM is used with Azure Premium Storage, the Azure SLA applies for unplanned maintenance events.

14. What are Fault Domains?

Ans:

A fault domain is a logical group of underlying hardware that share a common power source and network switch, similar to a rack within an on-premise data-centers. As you create VMs within an availability set, the Azure platform automatically distributes your VMs across these fault domains. This approach limits the impact of potential physical hardware failures, network outages, or power interruptions.

15. What are Update Domains?

Ans:

An update domain is a logical group of underlying hardware that can undergo maintenance or can be rebooted at the same time. As you create VMs within an availability set, the Azure platform automatically distributes your VMs across these update domains. This approach ensures that at least one instance of your application always remains running as the Azure platform undergoes periodic maintenance. The order of update domains being rebooted may not proceed sequentially during planned maintenance, but only one update domain is rebooted at a time.

16. What are Network Security Groups?

Ans:

A network security group (NSG) contains a list of Access Control List (ACL) rules that allow or deny network traffic to subnets, NICs, or both. NSGs can be associated with either subnets or individual NICs connected to a subnet. When an NSG is associated with a subnet, the ACL rules apply to all the VMs in that subnet. In addition, traffic to an individual NIC can be restricted by associating an NSG directly to a NIC.

17. Do scale sets work with Azure availability sets?

Ans:

Yes. A scale set is an implicit availability set with 5 fault domains and 5 update domains. Scale sets of more than 100 VMs span multiple placement groups, which are equivalent to multiple availability sets. An availability set of VMs can exist in the same virtual network as a scale set of VMs. A common configuration is to put control node VMs (which often require unique configuration) in an availability set and put data nodes in the scale set.

18. What is a break-fix issue?

Ans:

Technical problems are called break-fix issue, it is an industry term which refers to “work involved in supporting a technology when it fails in the normal course of its function, which requires intervention by a support organization to be restored to working order”.

19. Why is Azure Active Directory used?

Ans:

Azure Active Directory is an Identity and Access Management system. It is used to grant access to your employees to specific products and services in your network. For example: Salesforce.com, twitter etc. Azure AD has some in-built support for applications in its gallery which can be added directly.

20. What happens when you exhaust the maximum failed attempts for authenticating yourself via Azure AD?

Ans:

We use a more sophisticated strategy to lock accounts. This is based on the IP address of the request and the passwords entered. The duration of the lockout also increases based on the likelihood that it is an attack.




 

21. Where can I find a list of applications that are pre-integrated with Azure AD and their capabilities?

Ans:

Azure AD has around 2600 pre-integrated applications. All pre-integrated applications support single sign-on (SSO). SSO let you use your organizational credentials to access your apps. Some of the applications also support automated provisioning and de-provisioning.

22. How can I use applications with Azure AD that I’m using on-premises?

Ans:

Azure AD gives you an easy and secure way to connect to the web applications you choose. You can access these applications in the same way you access your SaaS apps in Azure AD, no need for a VPN to change your network infrastructure.

23. What is Azure Service Fabric?

Ans:

Azure Service Fabric is a distributed systems platform that makes it easy to package, deploy, and manage scalable and reliable micro-services. Service Fabric also addresses the significant challenges in developing and managing cloud applications. Developers and administrators can avoid complex infrastructure problems and focus on implementing mission-critical, demanding workloads that are scalable, reliable, and manageable. Service Fabric represents the next-generation middleware platform for building and managing these enterprise-class, tier-1, cloud-scale applications.

24. What is a VNet?

Ans:

VNet is a representation of your own network in the cloud. It logically isolates your instances launched in the cloud, from the rest of your resources.

25. What are the differences between Subscription Administrator and Directory Administrator?

Ans:

By default, one is assigned the Subscription Administrator role when he/she signs up for Azure. A subscription admin can use either a Microsoft account or a work or school account from the directory that the Azure subscription is associated with. This role is authorized to manage services in the Azure portal. If others need to sign in and access services by using the same subscription, you can add them as co-admins.
Azure AD has a different set of admin roles to manage the directory and identity-related features. These admins will have access to various features in the Azure portal or the Azure classic portal. The admin’s role determines what they can do, like create or edit users, assign administrative roles to others, reset user passwords, manage user licenses, or manage domains.

26. Are there any scale limitations for customers using managed disks?

Ans:

Managed Disks eliminates the limits associated with storage accounts. However, the number of managed disks per subscription is limited to 2000 by default.

27. What is the difference between Service Bus Queues and Storage Queues?

Ans:

The Azure Storage Queue is simple and the developer experience is quite good. It uses the local Azure Storage Emulator and debugging is made quite easy. The tooling for Azure Storage Queues allows you to easily peek at the top 32 messages and if the messages are in XML or Json, you’re able to visualize their contents directly from Visual Studio Furthermore, these queues can be purged of their contents, which is especially useful during development and QA efforts.
The Azure Service Bus Queues are evolved and surrounded by many useful mechanisms that make it enterprise worthy! They are built into the Service Bus and are able to forward messages to other Queues and Topics. They have a built-in dead-letter queue and messages have a time to live that you control, hence messages don’t automatically disappear after 7 days.
Furthermore, Azure Service Bus Queues have the ability of deleting themselves after a configurable amount of idle time. This feature is very practical when you create Queues for each user, because if a user hasn’t interacted with a Queue for the past month, it automatically gets clean it up. Its also a great way to drive costs down. You shouldn’t have to pay for storage that you don’t need. These Queues are limited to a maximum of 80gb. Once you’ve reached this limit your application will start receiving exceptions.

28. What is Azure Redis Cache?

Ans:

Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache and message broker. Azure Redis Cache is based on the popular open-source Redis cache. It gives you access to a secure, dedicated Redis cache, managed by Microsoft, and accessible from any application within Azure. It supports data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps,hyperloglogs and geospatial indexes with radius queries.

29. Why doesn’t Azure Redis Cache have an MSDN class library reference like some of the other Azure services?

Ans:

Microsoft Azure Redis Cache is based on the popular open source Redis Cache and can be accessed by a wide variety of Redis clients for many programming languages. Each client has its own API that makes calls to the Redis cache instance using Redis commands.
Because each client is different, there is not one centralized class reference on MSDN, and each client maintains its own reference documentation. In addition to the reference documentation, there are several tutorials showing how to get started with Azure Redis Cache using different languages and cache clients. To access these tutorials, see How to use Azure Redis Cache and click the desired language from the language switcher at the top of the article.

30. What are Redis databases?

Ans:

Redis Databases are just a logical separation of data within the same Redis instance. The cache memory is shared between all the databases and actual memory consumption of a given database depends on the keys/values stored in that database. For example, a C6 cache has 53 GB of memory. You can choose to put all 53 GB into one database or you can split it up between multiple databases.


 

31. Is it possible to add an existing VM to an availability set?

Ans:

No. If you want your VM to be part of an availability set, you need to create the VM within the set. There currently no way to add a VM to an availability set after it has been created.

32. What are the username requirements when creating a VM?

Ans:

Usernames can be a maximum of 20 characters in length and cannot end in a period (“.”).
The following usernames are not allowed:

usernames are not allowed when creating a VM

33. What are the password requirements when creating a VM?

Ans:

Passwords must be 12 – 123 characters in length and meet 3 out of the following 4 complexity requirements:

  • Have lower characters
  • Have upper characters
  • Have a digit
  • Have a special character (Regex match [\W_])

The following passwords are not allowed:

password are not allowed when creating a VM

34. How much storage can I use with a virtual machine?

Ans:

Each data disk can be up to 1 TB. The number of data disks which you can use depends on the size of the virtual machine.

Azure Managed Disks are the new and recommended disk storage offerings for use with Azure Virtual Machines for persistent storage of data. You can use multiple Managed Disks with each Virtual Machine. Managed Disks offer two types of durable storage options: Premium and Standard Managed Disks.

Azure storage accounts can also provide storage for the operating system disk and any data disks. Each disk is a .vhd file stored as a page blob.

35. How can one create a Virtual Machine in Powershell?

Ans:

# Define a credential object 
$cred = Get-Credential
# Create a virtual machine configuration
$vmConfig = New-AzureRmVMConfig -VMName myVM -VMSize Standard_DS2 |
` Set-AzureRmVMOperatingSystem -Windows -ComputerName myVM -Credential $cred |
` Set-AzureRmVMSourceImage -PublisherName MicrosoftWindowsServer -Offer WindowsServer `
-Skus 2016-Datacenter -Version latest | Add-AzureRmVMNetworkInterface -Id $nic.Id

36. How to create a Network Security Group and a Network Security Group Rule?

Ans:

# Create an inbound network security group rule for port 3389
$nsgRuleRDP = New-AzureRmNetworkSecurityRuleConfig -Name myNetworkSecurityGroupRuleRDP -Protocol Tcp `
-Direction Inbound -Priority 1000 -SourceAddressPrefix * -SourcePortRange * -DestinationAddressPrefix * `
-DestinationPortRange 3389 -Access Allow

# Create an inbound network security group rule for port 80
$nsgRuleWeb = New-AzureRmNetworkSecurityRuleConfig -Name myNetworkSecurityGroupRuleWWW -Protocol Tcp `
-Direction Inbound -Priority 1001 -SourceAddressPrefix * -SourcePortRange * -DestinationAddressPrefix * `
-DestinationPortRange 80 -Access Allow

# Create a network security group
$nsg = New-AzureRmNetworkSecurityGroup -ResourceGroupName myResourceGroup -Location EastUS `
-Name myNetworkSecurityGroup -SecurityRules $nsgRuleRDP,$nsgRuleWeb

37. How to create a new storage account and container using Power Shell?

Ans:

$storageName = "st" + (Get-Random)
New-AzureRmStorageAccount -ResourceGroupName "myResourceGroup" -AccountName $storageName -Location "West US" -SkuName "Standard_LRS" -Kind Storage
$accountKey = (Get-AzureRmStorageAccountKey -ResourceGroupName myResourceGroup -Name $storageName).Value[0]
$context = New-AzureStorageContext -StorageAccountName $storageName -StorageAccountKey $accountKey
New-AzureStorageContainer -Name "templates" -Context $context -Permission Container

38. How can one create a VM in Azure CLI?

Ans:

az vm create ` --resource-group myResourceGroup ` --name myVM --image win2016datacenter ` --admin-username azureuser ` --admin-password myPassword12

39. What are the various power states of a VM?

Ans:

Power States of VM

40. How can you retrieve the state of a particular VM?

Ans:

Get-AzureRmVM `
-ResourceGroupName myResourceGroup `
-Name myVM `
-Status | Select @{n="Status"; e={$_.Statuses[1].Code}}


 

41. How can you stop a VM using Power Shell?

Ans:

Stop-AzureRmVM -ResourceGroupName myResourceGroupVM -Name "myVM" -Force

42. Why was my client disconnected from the cache?

Ans:

The following are some common reason for a cache disconnect.

  • Client-side causes
    • The client application was redeployed.
    • The client application performed a scaling operation.
    • In the case of Cloud Services or Web Apps, this may be due to auto-scaling.
    • The networking layer on the client side changed.
    • Transient errors occurred in the client or in the network nodes between the client and the server.
    • The bandwidth threshold limits were reached.
    • CPU bound operations took too long to complete.
  • Server-side causes
    • On the standard cache offering, the Azure Redis Cache service initiated a fail-over from the primary node to the secondary node.
    • Azure was patching the instance where the cache was deployed
    • This can be for Redis server updates or general VM maintenance.

43. What is Azure Search?

Ans:

Azure Search is a cloud search-as-a-service solution that delegates server and infrastructure management to Microsoft, leaving you with a ready-to-use service that you can populate with your data and then use to add search to your web or mobile application. Azure Search allows you to easily add a robust search experience to your applications using a simple REST API or .NET SDK without managing search infrastructure or becoming an expert in search.

44. My web app still uses an old Docker container image after I’ve updated the image on Docker Hub. Does Azure support continuous integration/deployment of custom containers?

Ans:

Yes, it does. For private registries, you can update the container by stopping and then re-starting your web app. Alternatively, you can also change or add a dummy application setting to force an update of your container.

45. What are the expected values for the Startup File section when I configure the runtime stack?

Ans:

For Node.Js, you specify the PM2 configuration file or your script file. For .NET Core, specify your compiled DLL name. For Ruby, you can specify the Ruby script that you want to initialize your app with.

46. How are Azure Marketplace subscriptions priced?

Ans:

Pricing will vary based on product types. ISV software charges and Azure infrastructure costs are charged separately through your Azure subscription. Pricing models include:

BYOL Model: Bring-your-own-license. You obtain outside of the Azure Marketplace, the right to access or use the offering and are not charged Azure Marketplace fees for use of the offering in the Azure Marketplace.

Free: Free SKU. Customers are not charged Azure Marketplace fees for use of the offering.

Free Software Trial: Full-featured version of the offer that is promotionally free for a limited period of time. You will not be charged Azure Marketplace fees for use of the offering during a trial period. Upon expiration of the trial period, customers will automatically be charged based on standard rates for use of the offering.

Usage-Based: You are charged or billed based on the extent of your use of the offering. For Virtual Machines Images, you are charged an hourly Azure Marketplace fee. For Data Services, Developer services, and APIs, you are charged per unit of measurement as defined by the offering.

Monthly Fee: You are charged or billed a fixed monthly fee for a subscription to the offering (from the date of subscription start for that particular plan). The monthly fee is not prorated for mid-month cancellations or unused services.

47. What is the difference between “price,” “software price,” and “total price” in the cost structure for Virtual Machine offers in the Azure Marketplace?

Ans:

“Price” refers to the cost of the Azure Virtual Machine to run the software. “Software price” refers to the cost of the publisher software running on an Azure Virtual Machine. “Total price” refers to the combined total cost of the Azure Virtual Machine and the publisher software running on an Azure Virtual Machine.

48. What are stateful and stateless microservices for Service Fabric?

Ans:

Service Fabric enables you to build applications that consist of microservices. Stateless microservices (such as protocol gateways and web proxies) do not maintain a mutable state outside a request and its response from the service. Azure Cloud Services worker roles are an example of a stateless service. Stateful microservices (such as user accounts, databases, devices, shopping carts, and queues) maintain a mutable, authoritative state beyond the request and its response. Today’s Internet-scale applications consist of a combination of stateless and stateful microservices.

49. What is the meaning of application partitions?

Ans:

The application partitions are a part of the Active Directory system and having said so, they are directory partitions which are replicated to domain controllers. Usually, domain controllers that are included in the process of directory partitions hold a replica of that directory partition. The attributes and values of application partitions is that you can replicated them to any specific domain controller in a forest, meaning that it could lessen replication traffic. While the domain directory partitions transfer all their data to all of the domains, the application partitions can focus on only one in the domain area. This makes application partitions redundant and more available.

50. What are special Azure Regions?

Ans:

Azure has some special regions that you may wish to use when buildingyour applications for compliance or legal purposes. These special regions include:

  • US Gov Virginia and US Gov Iowa
    • A physical and logical network-isolated instance of Azure for US government agencies and partners, operated by screened US persons. Includes additional compliance certifications such as FedRAMP and DISA.
  • China East and China North
    • These regions are available through a unique partnership between Microsoft and 21Vianet, whereby Microsoft does not directly maintain the datacenters.
  • Germany Central and Germany Northeast
    • These regions are available via a data trustee model whereby customer data remains in Germany under control of T-Systems, a Deutsche Telekom company, acting as the German data trustee.



 

51. What is Azure Cloud Service?

Ans:

By creating a cloud service, you can deploy a multi-tier web application in Azure, defining multiple roles to distribute processing and allow flexible scaling of your application. A cloud service consists of one or more web roles and/or worker roles, each with its own application files and configuration. Azure Websites and Virtual Machines also enable web applications on Azure. The main advantage of cloud services is the ability to support more complex multi-tier architectures

52. What is a cloud service role?

Ans:

A cloud service role is comprised of application files and a configuration. A cloud service can have two types of roles.

53. What is link a resource?

Ans:

To show your cloud service’s dependencies on other resources, such as an Azure SQL Database instance, you can “link” the resource to the cloud service. In the Preview Management Portal, you can view linked resources on the Linked Resources page, view their status on the dashboard, and scale a linked SQL Database instance along with the service roles on the Scale page. Linking a resource in this sense does not connect the resource to the application; you must configure the connections in the application code.

54. What is scale a cloud service?

Ans:

A cloud service is scaled out by increasing the number of role instances (virtual machines) deployed for a role. A cloud service is scaled in by decreasing role instances. In the Preview Management Portal, you can also scale a linked SQL Database instance, by changing the SQL Database edition and the maximum database size, when you scale your service roles.

55. What is a web role?

Ans:

A web role provides a dedicated Internet Information Services (IIS) web-server used for hosting front-end web applications.

56. What is a worker role?

Ans:

Applications hosted within worker roles can run asynchronous, long-running or perpetual tasks independent of user interaction or input.

57. What is a role instance?

Ans:

A role instance is a virtual machine on which the application code and role configuration run. A role can have multiple instances, defined in the service configuration file.

58. What is a guest operating system?

Ans:

The guest operating system for a cloud service is the operating system installed on the role instances (virtual machines) on which your application code runs.

59. What is a cloud service components?

Ans:

Three components are required in order to deploy an application as a cloud service in Azure.

60. What is deployment environments?

Ans:

Azure offers two deployment environments for cloud services: a staging environment in which you can test your deployment before you promote it to the production environment. The two environments are distinguished only by the virtual IP addresses (VIPs) by which the cloud service is accessed. In the staging environment, the cloud service’s globally unique identifier (GUID) identifies it in URLs (GUID.cloudapp.net). In the production environment, the URL is based on the friendlier DNS prefix assigned to the cloud service (for example, myservice.cloudapp.net).


 

61. What is swap deployments?

Ans:

To promote a deployment in the Azure staging environment to the production environment, you can “swap” the deployments by switching the VIPs by which the two deployments are accessed. After the deployment, the DNS name for the cloud service points to the deployment that had been in the staging environment.

62. What is minimal vs. verbose monitoring?

Ans:

Minimal monitoring, which is configured by default for a cloud service, uses performance counters gathered from the host operating systems for role instances (virtual machines). Verbose monitoring gathers additional metrics based on performance data within the role instances to enable closer analysis of issues that occur during application processing. For more information

63. What is a service definition file?

Ans:

The cloud service definition file (.csdef) defines the service model, including the number of roles.

64. What is a service configuration file?

Ans:

The cloud service configuration file (.cscfg) provides configuration settings for the cloud service and individual roles, including the number of role instances.

65. What is a service package?

Ans:

The service package (.cspkg) contains the application code and the service definition file.

66. What is a cloud service deployment?

Ans:

A cloud service deployment is an instance of a cloud service deployed to the Azure staging or production environment. You can maintain deployments in both staging and production.

67. What is Azure Diagnostics?

Ans:

Azure Diagnostics is the API that enables you to collect diagnostic data from applications running in Azure. Azure Diagnostics must be enabled for cloud service roles in order for verbose monitoring to be turned on.

68. What is Azure Service Level Agreement (SLA)?

Ans:

The Azure Compute SLA guarantees that, when you deploy two or more role instances for every role, access to your cloud service will be maintained at least 99.95 percent of the time. Also, detection and corrective action will be initiated 99.9 percent of the time when a role instance’s process is not running.

69. What is Cloud Computing?

Ans:

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

70. What are the Service Model in Cloud Computing?

Ans:

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, 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. Source from : HTTP://EN.WIKIPEDIA.ORG/WIKI/CLOUD_COMPUTING



 

71. How many types of deployment models are used in cloud?

Ans:

There are 4 types of deployment models used in cloud:
1. Public cloud
2. Private cloud
3. Community cloud
4. Hybrid cloud

72. What is Windows Azure Platform?

Ans:

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.

73. What are the roles available in Windows Azure?

Ans:

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

74. What is difference between Windows Azure Platform and Windows Azure?

Ans:

The former is Microsoft’s PaaS offering including Windows Azure, SQL Azure, and Appfabric; while the latter is part of the offering and the Microsoft’s cloud OS.

75. What are the three main components of Windows Azure Platform?

Ans:

1. Compute
2. Storage
3. AppFabric

76. What is Windows Azure compute emulator?

Ans:

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.

77. What is fabric?

Ans:

In the Windows Azure cloud fabric is nothing but a combination of many virtualized instances which run client application

78. How many instances of a Role should be deployed to satisfy Azure SLA (service level agreement) ? And what’s the benefit of Azure SLA?

Ans:

TWO. And if we do so, the role would have external connectivity at least 99.95% of the time.

79. What are the options to manage session state in Windows Azure?

Ans:

Windows Azure Caching
SQL Azure
Azure Table

80. What is cspack?

Ans:

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.




 

81. What is csrun?

Ans:

It is a command-line tool that deploys a packaged application to the Windows Azure compute emulator and manages the running service.

82. What is guest OS?

Ans:

It is the operating system that runs on the virtual machine that hosts an instance of a role.

83. How to programmatically scale out Azure Worker Role instances?

Ans:

Using AutoScaling Application Block

84. What is the difference between Public Cloud and Private Cloud?

Ans:

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.

85. How to design applications to handle connection failure in windows Azure?

Ans:

The Transient Fault Handling Application Block supports various standard ways of generating the retry delay time interval, including fixed interval, incremental interval (the interval increases by a standard amount), and exponential back-off (the interval doubles with some random variation).
static RetryPolicy policy = new RetryPolicy(5, TimeSpan.FromSeconds(2), TimeSpan.FromSeconds(2)); policy.ExecuteAction(() => { try { string federationCmdText = @”USE FEDERATION Customer_Federation(ShardId =” + shardId + “) WITH RESET, FILTERING=ON”; customerEntity.Connection.Open(); customerEntity.ExecuteStoreCommand(federationCmdText); } catch (Exception e) { customerEntity.Connection.Close(); SqlConnection.ClearAllPools(); } });

86. How to design applications to handle connection failure in windows Azure?

Ans:

The Transient Fault Handling Application Block supports various standard ways of generating the retry delay time interval, including fixed interval, incremental interval (the interval increases by a standard amount), and exponential back-off (the interval doubles with some random variation).

static RetryPolicy policy = new RetryPolicy(5, TimeSpan.FromSeconds(2), TimeSpan.FromSeconds(2)); policy.ExecuteAction(() => { try { string federationCmdText = @”USE FEDERATION Customer_Federation(ShardId =” + shardId + “) WITH RESET, FILTERING=ON”; customerEntity.Connection.Open(); customerEntity.ExecuteStoreCommand(federationCmdText); } catch (Exception e) { customerEntity.Connection.Close(); SqlConnection.ClearAllPools(); } });

87. What is windows Azure Diagnostics?

Ans:

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. HTTP://WWW.WINDOWSAZURE.COM/EN-US/DEVELOP/NET/COMMON-TASKS/DIAGNOSTICS/

88. What is Blob?

Ans:

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

89. What is the difference between Block Blob vs Page Blob?

Ans:

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

90. What is the difference between Windows Azure Queues and Windows Azure Service Bus Queues?

Ans:

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.
HTTP://WCFPRO.WORDPRESS.COM/2010/12/06/COMMUNICATION-IN-WINDOWS-AZURE/
HTTP://MSDN.MICROSOFT.COM/EN-US/LIBRARY/WINDOWSAZURE/HH767287.ASPX


 

91. What are instance sizes of Azure?

Ans:

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

92. What is table storage in Windows Azure?

Ans:

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.