Question:- You have an Azure subscription that contains a resource group named RG1. RG1 contains multiple resources. You need to trigger an alert when the resources in RG1 consume US$1,000. What should you do?
Answer:- Budgets should be created to manage costs and alerts should be set to automatically notify if stakeholders are overspending. To set it up, one should go to the Azure Portal, select Cost Management + Billing -> Cost Management -> Go to Cost Management.
Question:- You have an Azure Kubernetes Service (AKS) cluster named Clus1 in a resource group named RG1. An administrator plans to manage Clus1 from an Azure AD-joined device. You need to ensure that the administrator can deploy the YAML application manifest file for a container application. You install the Azure CLI on the device. Which command should you run next?
Answer:- kubectl apply –f appl.yaml applies a configuration change to a resource from a file or stdin.
Question:- You have an Azure web app named App1 that is configured to run between two and five instances. There are currently three instances of App1 running. App1 has the following autoscale rules: Increase the instance count by one when the CPU percentage is greater or equal to 80. Decrease the instance count by one when the CPU percentage is less than or equal to 60. You are evaluating the following CPU percentage of utilization for App1: • 60 percent • 55 percent • 50 percent • 45 percent You need to identify which utilizations will cause App1 to scale in.
Answer:- Azure Monitor autoscaling allows you to scale the number of running instances up or down, based on telemetry data or metrics. Scale-in occurs when the instances are decreased. For this rule, the instances are decreased when the CPU usage is 60 percent or lower. Hence, the answer is 45 percent, 50 percent, and 55 percent.
Question:- You have an on-premises network that contains a Hyper-V host named Host1. Host1 runs Windows Server 2016 and hosts 10 virtual machines that run Windows Server 2016. You plan to replicate the virtual machines to Azure by using Azure Site Recovery. You create a Recovery Services vault named ASR1 and a Hyper-V site named Site1. You need to add Host1 to ASR1. What should you do?
Answer:- Download the installation file for the Azure Site Recovery Provider. Download the vault registration key. Install the Azure Site Recovery Provider on Host1 and register the server.
Question:- You have an Azure subscription named Subscription1 that contains a virtual network named VNet1. VNet1 is in a resource group named RG1. Subscription1 has a user named User1. User1 has the following roles: • Reader • Security admin • Security reader You need to ensure that User1 can assign the reader role for VNet1 to other users. What should you do?
Answer:- User1 should be assigned the owner role for VNet1.
Question:- A company hosts virtual machines (VMs) in an on-premises data center and in Azure. The on-premises and Azure-based VMs communicate using ExpressRoute. The company wants to be able to continue regular operations if the ExpressRoute connection fails. Failover connections must use the internet and must not require multiprotocol label switching (MPLS) support. You need to recommend a solution that provides continued operations. What should you recommend?
Answer:- In this case, a VPN connection should be set up.
Question:- You have a resource group named RG1. RG1 contains an Azure Storage account named storageaccount1 and a virtual machine named VM1 that runs Windows Server 2016. storageaccount1 contains the disk files for VM1. You apply a ReadOnly lock to RG1. What can you do from the Azure portal?
Answer:- View the keys of storageaccount1. ReadOnly allows authorized users to read a resource, but they cannot delete or update the resource. Applying this lock is similar to restricting all authorized users to the permissions granted by the reader role.
Question:- What is DevOps?
Answer:- Of course, this is one of the first Microsoft Azure DevOps interview questions that you will be asked. The full form of DevOps is Development and Operation’s Collaboration. It focuses on the 3Ps—Process, People, and (working) Product that stands for continuous integration and continuous delivery of value to end-users. In simple terms, DevOps, essentially, speeds up the process of delivery of applications and software services. This ability to continuously deliver minimizes the risk factor. This is possible through stakeholder and end-user feedback collection.
Question:- Why use DevOps?
Answer:- This is a common Azure DevOps interview question. Traditional software development always had a slow code deployment time after completion of development. And oftentimes, the Development Team and Operations Team or deployment team would get into arguments regarding its status blaming the server or the code for the issues. This is where DevOps enters with a solution. DevOps facilitates the delivery of smaller features to clients in a quick and efficient manner and allows seamless software delivery.
Question:- How does DevOps work?
Answer:- DevOps is the process of Operations and Development Engineers who work in collaboration in a complete project lifecycle, from the design and development to product releases and support.
Question:- What is Azure DevOps?
Answer:- The process includes testing automation, continuous integration, as well as continuous delivery. People with both development and operations skills work together and implement various tools for CI-CD and monitoring for quick response to customer’s requirements and fix issues and bugs. Azure DevOps is the new name for Microsoft VSTS (Visual Studio Team Services) and an application lifecycle management tool. It helps in project planning through Agile tools and templates. Other functionalities include version control of source code, management and execution of test plans, and management of branches. Additionally, Azure DevOps also helps in solution deployments across various platforms with the help of Azure Pipelines and allows continuous integration and continuous deployment.
Question:- What are the benefits of DevOps?
Answer:- The major benefits of DevOps are: • Customer satisfaction • More engagement and collaboration between Development and Operation teams • Faster code deployment in the market through continuous integration and delivery • Faster operational support • Higher efficiency • Strong infrastructure and IT performance • Continuous improvements and reduced failures • Transparency between teams/li> • Constant monitoring and better adaption
Question:- Name a few DevOps tools.
Answer:- Some popular DevOps tools are: • Git • Selenium • Jenkins • Puppet • Chef • Ansible • Nagios • Docker
Question:- What are the popular DevOps tools for Continuous Integration and Continuous Deployment?
Answer:- Azure Pipelines support macOS, Windows, and Linux. Following are a few popular tools for Continuous Integration: • Jenkins • TeamCity • Codeship • GitLab CI • CircleCI • Travis CI • Bamboo Following are some of the popular Continuous Deployment tools: • Jenkins • Azure Pipelines for Deployment • DeployBot • TeamCity • Bamboo • ElectricFlow • AWS CodeDeploy • Octopus Deploy • Shippable