General
15 questions — answer mentally, then read the explanations
What you'll learn
- Try to answer each question before reading the explanation
- Cover General topics
Questions
Read each question and options, then check the explanation below.
Your company has an Azure Active Directory (Azure AD) tenant that is configured for hybrid coexistence with the on-premises Active Directory domain. The on-premise virtual environment consists of virtual machines (VMs) running on Windows Server 2012 R2 Hyper-V host servers. You have created some PowerShell scripts to automate the configuration of newly created VMs. You plan to create several new VMs. You need a solution that ensures the scripts are run on the new VMs. Which of the following is the best solution? Options are :
- A. Configure a SetupComplete.cmd batch file in the %winder%\setup\scripts directory.
- B. Configure a Group Policy Object (GPO) to run the scripts as logon scripts.
- C. Configure a Group Policy Object (GPO) to run the scripts as startup scripts.
- D. Place the scripts in a new virtual hard disk (VHD).
Explanation
Answer: Configure a SetupComplete.cmd batch file in the %winder%\setup\scripts directory.
Your company has an Azure Active Directory (Azure AD) tenant that is configured for hybrid coexistence with the on-premises Active Directory domain. You plan to deploy several new virtual machines (VMs) in Azure. The VMs will have the same operating system and custom software requirements. You configure a reference VM in the on-premise virtual environment. You then generalize the VM to create an image. You need to upload the image to Azure to ensure that it is available for selection when you create the new Azure VMs. Which PowerShell cmdlets should you use? Options are :
- A. Add-AVM
- B. Add-Azah
- C. Add-AZ Image
- D. Add-Az Image Data Disk
Explanation
Answer: Add-Azah
Your company has virtual machines (VMs) hosted in Microsoft Azure. The VMs are located in a single Azure virtual network named VNet1. The company has users that work remotely. The remote workers require access to the VMs on VNet1. You need to provide access for the remote workers. What should you do? Options are :
- A. Configure a Site-to-Site (S2S) VPN.
- B. Configure a VNet-to VNet VPN.
- C. Configure a Point-to-Site (P2S) VPN.
- D. Configure DirectAccess on a Windows Server 2012 server VM.
- E. Configure a Multi-Site VPN
Explanation
Answer: Configure a Point-to-Site (P2S) VPN.
Your company has two on-premises servers named SRV01 and SRV02. Developers have created an application that runs on SRV01. The application calls a service on SRV02 by IP address. You plan to migrate the application on Azure virtual machines (VMs). You have configured two VMs on a single subnet in an Azure virtual network. You need to configure the two VMs with static internal IP addresses. What should you do? Options are :
- A. Run the New-Azure RMVM Config PowerShell cmdlet.
- B. Run the Set-Azure Subnet PowerShell cmdlet.
- C. Modify the VM properties in the Azure Management Portal.
- D. Modify the IP properties in Windows Network and Sharing Center.
- E. Run the Set-Azure Static V Net IP PowerShell cmdlet.
Explanation
Answer: Run the Set-Azure Static V Net IP PowerShell cmdlet.
Your company has an Azure Active Directory (Azure AD) subscription. You need to deploy five virtual machines (VMs) to your company's virtual network subnet. The VMs will each have both a public and private IP address. Inbound and outbound security rules for all of these virtual machines must be identical. Which of the following is the least amount of network interfaces needed for this configuration? Options are :
- A. 5
- B. 10
- C. 20
- D. 40
Explanation
Answer: 5
Your company has an Azure Active Directory (Azure AD) subscription. You need to deploy five virtual machines (VMs) to your company's virtual network subnet. The VMs will each have both a public and private IP address. Inbound and outbound security rules for all of these virtual machines must be identical. Which of the following is the least amount of security groups needed for this configuration? Options are :
- A. 4
- B. 3
- C. 2
- D. 1
Explanation
Answer: 1
Your company's Azure subscription includes Azure virtual machines (VMs) that run Windows Server 2016. One of the VMs is backed up every day using Azure Backup Instant Restore. When the VM becomes infected with data encrypting ransomware, you decide to recover the VM's files. Which of the following is TRUE in this scenario? Options are :
- A. You can only recover the files to the infected VM.
- B. You can recover the files to any VM within the company��s subscription.
- C. You can only recover the files to a new VM.
- D. You will not be able to recover the files.
Explanation
Answer: You can only recover the files to the infected VM.
You administer a solution in Azure that is currently having performance issues. You need to find the cause of the performance issues pertaining to metrics on the Azure infrastructure. Which of the following is the tool you should use? Options are :
- A. Azure Traffic Analytics
- B. Azure Monitor
- C. Azure Activity Log
- D. Azure Advisor
Explanation
Answer: Azure Monitor
Your company has an Azure subscription that includes a Recovery Services vault. You want to use Azure Backup to schedule a backup of your company's virtual machines (VMs) to the Recovery Services vault. Which of the following VMs can you back up? Choose all that apply. Options are :
- A. VMs that run Windows 10.
- B. VMs that run Windows Server 2012 or higher.
- C. VMs that have NOT been shut down.
- D. VMs that run Debian 8.2+.
- E. VMs that have been shut down.
Explanation
Answer: VMs that run Windows 10.,VMs that run Windows Server 2012 or higher.,VMs that have NOT been shut down.,VMs that run Debian 8.2+.,VMs that have been shut down.
You have an Azure subscription that contains an Azure Active Directory (Azure AD) tenant named contoso.com and an Azure Kubernetes Service (AKS) cluster named AKS1. An administrator reports that she is unable to grant access to AKS1 to the users in contoso.com. You need to ensure that access to AKS1 can be granted to the contoso.com users. What should you do first? Options are :
- A. From contoso.com, modify the Organization relationships settings.
- B. From contoso.com, create an OAuth 2.0 authorization endpoint.
- C. Recreate AKS1.
- D. From AKS1, create a namespace.
Explanation
Answer: From contoso.com, create an OAuth 2.0 authorization endpoint.
You have a Microsoft 365 tenant and an Azure Active Directory (Azure AD) tenant named contoso.com. You plan to grant three users named User1, User2, and User3 access to a temporary Microsoft SharePoint document library named Library1. You need to create groups for the users. The solution must ensure that the groups are deleted automatically after 180 days. Which two groups should you create? Options are:
- A. a Security group that uses the Assigned membership type
- B. a Microsoft 365 group that uses the Dynamic User membership type
- C. a Security group that uses the Dynamic User membership type
- D. a Security group that uses the Dynamic Device membership type
Explanation
Answer: a Microsoft 365 group that uses the Dynamic User membership type
You recently created a new Azure subscription that contains a user named Admin1. Admin1 attempts to deploy an Azure Marketplace resource by using an Azure Resource Manager template. Admin1 deploys the template by using Azure PowerShell and receives the following error message: `User failed validation to purchase resources. Error message: `Legal terms have not been accepted for this item on this subscription. To accept legal terms, please go to the Azure portal (http://go.microsoft.com/fwlink/?LinkId=534873) and configure programmatic deployment for the Marketplace item or create it there for the first time.` You need to ensure that Admin1 can deploy the Marketplace resource successfully. What should you do? Options are :
- A. From Azure PowerShell, run the Set-Az Api Management Subscription cmdlet
- B. From the Azure portal, register Microsoft. Marketplace resource provider
- C. From Azure PowerShell, run the Set-Az Marketplace Terms cmdlet
- D. From the Azure portal, assign the Billing administrator role to Admin1
Explanation
Answer: From Azure PowerShell, run the Set-Az Marketplace Terms cmdlet
You have an Azure Active Directory (Azure AD) tenant that contains 5,000 user accounts. You create a new user account named AdminUser1. You need to assign the User administrator administrative role to AdminUser1. What should you do from the user account properties? Options are :
- A. From the Licenses blade, assign a new license
- B. From the Directory role blade, modify the directory role
- C. From the Groups blade, invite the user account to a new group
Explanation
Answer: From the Directory role blade, modify the directory role
You have an Azure Active Directory (Azure AD) tenant named contoso.onmicrosoft.com that contains 100 user accounts. You purchase 10 Azure AD Premium P2 licenses for the tenant. You need to ensure that 10 users can use all the Azure AD Premium features. What should you do? Options are :
- A. From the Licenses blade of Azure AD, assign a license
- B. From the Groups blade of each user, invite the users to a group
- C. From the Azure AD domain, add an enterprise application
- D. From the Directory role blade of each user, modify the directory role
Explanation
Answer: From the Licenses blade of Azure AD, assign a license
You have an Azure subscription named Subscription1 and an on-premises deployment of Microsoft System Center Service Manager. Subscription1 contains a virtual machine named VM1. You need to ensure that an alert is set in Service Manager when the amount of available memory on VM1 is below 10 per cent. What should you do first? Options are :
- A. Create an automation runbook
- B. Deploy a function app
- C. Deploy the IT Service Management Connector (ITSM)
- D. Create a notification
Explanation
Answer: Deploy the IT Service Management Connector (ITSM)
Today's exercise: Review & recall
Revisit questions you hesitated on and summarise key Azure concepts.
Steps
- 1
First pass
Answer each question before reading the explanation.
- 2
Second pass
Review explanations for any you missed.
- 3
Notes
Write down 3 Azure terms or patterns to remember.
