Azure Interview Question
Azure Interview Question
Azure Interview Question
Explanation: 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.
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.
Explanation: 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.
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.
Section 3: Azure Interview Questions
Explanation: 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.
Web Role
Worker Role
VM Role
Answer: A. 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.
Explanation: 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:
Explanation: 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.
22. How can I use applications with Azure AD that I’m using on-
premises?
Explanation: 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?
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?
Explanation: Managed Disks eliminates the limits associated with storage accounts.
However, the number of managed disks per subscription is limited to 2000 by default.
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.
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.
Explanation: 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.
Explanation: 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.
Explanation: 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.
36. How to create a Network Security Group and a Network Security Group Rule?
37. How to create a new storage account and container using Power Shell?
Get-AzureRmVM `
-ResourceGroupName myResourceGroup `
-Name myVM `
-Status | Select @{n="Status"; e={$_.Statuses[1].Code}}
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?
Explanation: 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?
Explanation: 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.
Explanation:
Pricing will vary based on product types. ISV software charges and Azure infrastructure
costs are charged separately through your Azure subscription. Pricing models include:
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.
Explanation: “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.
Explanation: 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.
Explanation: Azure has some special regions that you may wish to use when
buildingyour applications for compliance or legal purposes. These special regions
include:
Web Role
Worker Role
Web Role : It gives a web solution that is front-end. This is like an ASP.NET application. While
under facilitating Azure gives IIS and required services.
Worker Role : It gives a solutions of background service. It can run long activities.
Virtual Machine Role : The roles of both web and worker are executed on virtual machines.
The Virtual Machine Roles gives the client the capacity to modify the virtual machine on which
the web and worker roles are running.
4. What are the three principle segments of Windows Azure Platform?
Windows Azure has three principle segments in Azure: Compute,Storage and Fabric.
A. Windows Azure Compute
Windows Azure gives a code that can be managed by the hosting environment. It gives
calculation benefit through parts. Windows Azure backs 3 types of roles:
Web roles utilized for web application programming and upheld by IIS7.
Virtual Machine (VM) roles utilized for moving windows server applications to Windows
Azure in a simple way.
Windows Azure Drives (VHD) to mount a page blob. These can be transferred and
downloaded by means of blobs.
Service bus
Access
Caching
Integration
Composite
5. Windows Azure AppFabric
Windows Azure Diagnostics empowers you to gather diagnostic data from an application
running in Windows Azure. diagnostic data is used for capacity planning, and evaluating.
6. What is the distinction between Windows Azure Queues and Windows Azure Service
Bus Queues?
Azure Queues gives a solid, diligent messaging between and within the services. it also
highlights a very straight forward rest- based get/put/peek interface
Bus Queues are a part of a more extensive Windows Azure messaging framework that supports
queuing.
7. What is table storage in Windows Azure?
The Windows Azure Table storage service stores a lot of organized information. Windows Azure
tables are perfect for putting away organized, non-relational data
Table: A table is a collection of entities.Tables don’t uphold a blueprint on elements, which
implies a solitary table can contain substances that have distinctive arrangements of properties. A
record can contain numerous tables
Entity: An entity is an arrangement of properties, like a database row. An entity can be upto
1MB in size.
Properties: A property is a name-value pair. Every entity can incorporate up to 252 properties to
store data. Every entity likewise has 3 system properties that determine a segment key, a row
key, and a timestamp.
8. What is AutoScaling in Azure?
Scaling by including extra instances is frequently referred to as scaling out. Windows Azure
likewise supports scaling up by utilizing bigger role rather than more role instances.By adding
and expelling role instances to your Windows Azure application while it is running, you can
adjust the execution of the application against its running costs.
An autoscaling solution reduces the amount of manual work engaged in dynamically scaling an
application.
9. What are the Features of Windows Azure?
Windows Azure runs and stores the information on Microsoft datacenters.
The main Features are :
1. Websites enable the designers to assemble the sites utilizing ASP.NET, PHP, etc and send
these websites utilizing FTP, Git and etc
2. QL Database, formally known as Azure database makes, broadens and scales the application
into the cloud utilizing Microsoft SQL Server.
3. This is Microsoft’s platform as a service that supports the Multi-level applications and
automated deployment.
10. What are the differences between an public cloud and a private cloud?
Private clouds are those that are constructed solely for an individual enterprise. They enable the
firm to have applications in the cloud while tending to concerns with respect to data security and
control that is frequently ailing in an public cloud environment. It is otherwise called an internal
cloud or enterprise cloud and dwells on the organization’s intranet or hosted data center where
the data is protected.
11. What is table storage in Windows Azure?
It is a NoSQL datastore which acknowledges verified calls from inside and outside the Windows
Azure cloud. Windows Azure tables are perfect for putting away organized, non-relational data
Table: A table is an accumulation of elements. Tables don’t implement a pattern on elements,
which implies a solitary table can contain substances that have distinctive arrangements of
properties. A record can contain numerous tables.
12. What is Windows Azure Portal?
Windows Azure Portal:To run an application, a designer gets to the Windows Azure portal
through his Web program, by logging in with a Windows Live ID. The User at that point picks
whether to create a host account for running applications, a storage account for storing data or
both.
Once the designer has a host account, He can utilize a Windows Azure portal to submit
applications to Windows Azure.
13. Explain Azure Fabric?
The Azure Fabric is the principle core concept. It gives a service called the Azure Fabric
Controller. It is called as OS for the Azure. Since it handles/oversees: