AWS Certification Training: PwC Academy
- 172k Enrolled Learners
- Weekend/Weekday
- Live Class
Gartner in its latest release of Magic Quadrant has listed Azure as the second most dominating cloud provider for Infrastructure as a Service. What does this mean? Obviously, there are a lot of companies looking for Azure-certified professionals, which is why it is important to upskill from Azure solution architect training. And we at edureka are here to set you up for your next Azure Interview! Welcome to this blog on Azure Interview Questions and Answers.
We have compiled a list of top Azure interview questions, which revolve around the roles of an Azure Solution Architect, Developer, and System Admin.
Want to Upskill yourself to get ahead in your career? Check out the Top Trending Technologies.
Before moving ahead, you may go through the webinar recording of Azure Interview Questions, where our instructor has shared his experience and expertise that will help you to crack any Azure Interview:
In this Azure Interview Questions and Answers tutorial, you shall get a mock up on the kind of questions which you may face in your interviews on Microsoft Azure, the concepts explained here are essential for any Solution Architect in the making.
Section 1: General Cloud Questions
Section 2: Basic Azure Questions
Section 3: Azure Interview Questions
IAAS | PAAS | SAAS |
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 will. | Platform as a Service, gives you a platform to publish without giving the access to the underlying software or OS. | 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: Azure VM, Amazon EC2. | For example: Web Apps, Mobile Apps in Azure. | 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. |
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.
Explanation: 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 and gives you that service exclusively. For eg: Hosting your website on your servers, or hosting your website with a 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.
Course Name | Upcoming Batches | Fees |
Azure Data Engineering Certification Training | 22nd June,2024 (Weekend Batch) | ₹19,995 |
Azure Data Engineering Certification Training | 6th July,2024 (Weekend Batch) | ₹19,995 |
Answer: D. Hybrid Cloud
Explanation: This type of architecture would be a hybrid cloud. Why? We are using both, 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).
Related Learning: Azure DevOps Interview Questions
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.
Answer: B 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.
Answer: D. All of the mentioned
Explanation: Microsoft has also released SDKs for both Java and Ruby to allow applications written in those languages to place calls to the Azure Service Platform API for the AppFabric Service.
You can learn more from the Azure cloud engineer certification training.
Explanation: Roles are not 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:
Let’s discuss each of these roles in detail:
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.
Apart from this Azure Interview Questions Blog, if you want to get trained by professionals on this technology, you can opt for a structured training from Edureka! Click below to learn more.
Explanation: 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.
Related Article: Azure Virtual Network Tutorial
Explanation: Virtual machine scale sets are Azure compute resources that you can use to deploy and manage a set of identical VMs. With all VMs configured the same, scale sets are designed to support true auto-scale, 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.
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: 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 be created within the availability set to provide for a highly available application 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.
Explanation: A faulty domain is a logical group of underlying hardware that shares a common power source and network switch, similar to a rack within an on-premise data-centers. When you create VMs within the availability set, the Azure platform automatically distributes your VMs across these default domains. This approach limits the impact of potential physical hardware failures, network outages, or power interruptions.
Explanation: An updated domain is a logical group of underlying hardware that can undergo maintenance or can be rebooted at the same time. When you create VMs within the availability set, the Azure platform automatically distributes your VMs across these updated 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 updated domain is rebooted at a time.
Explanation: 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.
Explanation: Yes. A scale set is an implicit availability set with 5 fault domains and 5 updated domains. Scale sets of more than 100 VMs span multiple placement groups, which are equivalent to multiple availability sets. An available 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.
Explanation: 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”.
Explanation: 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.
Explanation: 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.
Explanation: Azure AD has around 2600 pre-integrated applications. All pre-integrated applications support a single sign-on (SSO). SSO lets you use your organizational credentials to access your apps. Some of the applications also support automated provisioning and de-provisioning.
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.
Explanation: 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 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.
Elevate your career with Azure DevOps Certification—where cloud meets excellence!
Explanation: 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.
Explanation: 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 using the same subscription, you can add them as co-admins.
Azure AD has a different set of admin roles to manage 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.
Explanation: Managed Disks eliminates the limits associated with storage accounts. However, the number of managed disks per subscription is limited to 2000 by default.
Explanation: 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 cleaned up. It’s 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.
Find out our Azure Architect Training in Top Cities/Countries
India | Other Cities/Countries |
Bangalore | Toronto |
Hyderabad | Singapore |
Chennai | Dubai |
Pune | Philippines |
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: 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.
Explanation: Usernames can be a maximum of 20 characters in length and cannot end in a period (“.”).
The following usernames are not allowed:
Explanation: Passwords must be 12 – 123 characters in length and meet 3 out of the following 4 complexity requirements:
The following passwords are not allowed:
Related Article: Difference Between AWS vs Azure!
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.
# 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
# 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
$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
az vm create ` --resource-group myResourceGroup ` --name myVM --image win2016datacenter ` --admin-username azureuser ` --admin-password myPassword12
Power State | Description |
Starting | Indicates the virtual machine is being started |
Running | Indicates that the virtual machine is running |
Stopping | Indicates that the virtual machine is being stopped |
Stopped | Indicates that the virtual machine is stopped |
Deallocating | Indicates that the virtual machine is being deallocated |
Deallocated | Indicates that the virtual machine is completely removed from the hypervisor but still available in the control plane. Virtual Machines in the deallocated state do not incur compute charges. |
Get-AzureRmVM ` -ResourceGroupName myResourceGroup ` -Name myVM ` -Status | Select @{n="Status"; e={$_.Statuses[1].Code}}
Stop-AzureRmVM -ResourceGroupName myResourceGroupVM -Name "myVM" -Force
Explanation: The following are some common reason for a cache disconnect.
Explanation: 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.
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.
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:
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.
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: 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.
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:
Improve your Azure interview preparation with our AI 900 certification course. This course covers the most significant topics like ML and NLP, etc. and these help you clear the Azure interview easily. To know more explore our course today!
I hope you enjoyed these Azure Interview Questions. The topics that you learnt in this blog are the most sought-after skill sets that recruiters look for in an Azure Professional. For a detailed study on Azure, you can refer our Azure Tutorial.
We at Edureka! are here to help you with every step on your journey to becoming an Azure Professional. Therefore, in addition to these Azure Interview Questions, we have created a curriculum that covers exactly what you need to crack the Azure Exam!
Course Name | Date | Details |
---|---|---|
Azure Certification Training: PwC Academy | Class Starts on 21st September,2024 21st September SAT&SUN (Weekend Batch) | View Details |
Azure Certification Training: PwC Academy | Class Starts on 19th October,2024 19th October SAT&SUN (Weekend Batch) | View Details |
edureka.co
31. Is it possible to add an existing VM to an availability set?
Not possible add existing VM to availability set but there is an workaround. You may delete VM which will keep VHD in Storage account which can be redeployed using powershell commands & can be added in to availability set.
great