AZURE INTERVIEW QUESTIONS (PART-1)

Updated: Jul 20, 2020




1. What is the difference between Block blob, Page Blob and append Blobs?

Block blobs are a collection of individual blocks with unique block ID. The block blobs allow the users to upload large amounts of data.
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.

Append blobs are optimized blocks that help in making the operations efficient.

Page blobs are a compilation of pages. They allow random read and write operations. While creating a blob, if the type is not specified they are set to block type by default.
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.


2. What is a Storage key?

Storage keys or Access Keys are used as an authentication mode for accessing the storage services account to manipulate information based on our requirements. In Windows Azure, we have an option to provide a Primary Access Key and a Secondary Access Key, even though we will use a single access key to authenticate our application to the storage. The main reason to provide the secondary access key is to avoid downtime to the application. If we need to change the application access key by regenerating the access key it takes quite some time to take effect; this provides a downtime.


3. What is Auto Scaling?


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 auto-scaling solution reduces the amount of manual work involved in dynamically scaling an application.


4. What Is A Role Instance?

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.


5. What are the roles implemented in Windows Azure?

There are three roles in Windows Azure -

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

2. Worker Role: It gives a solution of background service. It can run long activities.

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



6. What is log analytics?

The operational management service of the Log Analytics provides the entire requirement that runs the particular service. It manifests automation, security, log analytics and availability at a particular dashboard. It generates Power data source that enables the user to get the visuals of the raw data.


7. What is Azure Function?

Azure Function is a Serverless Compute Service that Runs code on Demand like Events or External-Invoke. Azure Functions can Scale up Automatically based on Demand. Azure functions are the evolution of Web Jobs. You can develop functions in C#, Node, Java, Python, etc. Internally, Azure functions use App services.


8. How to prevent public access without interruption of any service?

In that case, you need to create the NSG and associate your VMs if there is no NSG. Now, block the port 80/443 and allow only specific ports of azure which will fix the issue.
  -> Click on the VMs
  -> Click on the networking tab
  -> Click on the NSG
  -> Then create the Outbound deny rule for the internet.


9. What is NSG and How can you create the NSG?

NSG is nothing but its services will help you to allow or deny the specific port to communicate to your services within a subscription or outside of the subscription. It’ has inbound and outbound rules.

Inbound Rules: It defines the traffic coming from the internet to VMs or specific services or VMs.

Outboard Rules: It defines the traffic going to the internet from your VMs or specific services or VMs.

You need to follow steps to create the NSG and Associate to VMs.
  -> In All Services Search the NSG.
  -> Provide the Name, Location and Resource Group
  -> Click on the NSG and create the NSG.


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

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 the cloud.


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

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


12. What are virtual machine scale sets in Azure?

Virtual machine scale sets are Azure compute resources 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.


13. Are data disks supported within scale sets?

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 -
  1. Azure files (SMB shared drives)
  2. OS  drive
  3. Temp drive (local, not backed by Azure Storage)
  4. Azure data service (for example, Azure tables, Azure blobs)
  5. External data service (for example, a remote database)


14. What is an Availability Set?

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 to unplanned maintenance events.


15. What are Fault Domains?

A fault domain is a logical group of the 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.


16. Differentiate between AWS and Azure




That is it for the first article. More coming up in the next articles.

Happy learning :)






135 views1 comment

Recent Posts

See All
 

Subscribe Form

©2020 by Linux Advise