# 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
Microsoft Azure Interview Questions
It is a fully managed, open-source, compatible in-memory data store to power fast and scalable applications.
Redis cache is an open-source, in-memory data structure store, which is used as a database, cache, and message broker. Azure Redis Cache resembles the famous open-source Redis cache. It provides access to a secure and dedicated Redis cache that is managed by Microsoft and accessible from any application inside Azure.
Options for storing data includes: Azure files OS drive Scale set Temp drive Azure data service External data service
It is not supported by the Azure portal. We cannot use Azure Resource Manager to deploy a Virtual machine into a virtual network which was created using classic deployment.
A web role in Azure is a virtual machine instance running Microsoft IIS Web server that can accept and respond to HTTP or HTTPS requests.
Service Fabric enables us to build applications that consist of microservices. Stateless micro-service doesn’t maintain a mutable state outside a request. Azure Cloud Service’s worker role is an example of a stateless service. Stateful microservice maintains a mutable, authoritative state beyond the request and its response.
az vm create ` –resource-group myResourceGroup ` –name myVM –image win2016datacenter ` –admin-username Azureuser ` –admin-password myPassword12
It is a cloud search-as-a-service solution that delegates server and infrastructure management to Microsoft, leaving us with a ready-to-use service that we can populate with our data and then use to add search to our web or mobile application. Azure search allows us to easily add a robust search experience to our applications using a …
In Azure, each data disk can be up to 1 TB. The number of disks we can use depends upon the size of the virtual machine. Azure Managed Disks are the recommended disk storage offering to use with Azure Virtual Machines for persistent storage of data. We can use multiple Managed Disks with each Virtual …