AZ-104 Exam Answers PDF
Document Details
Uploaded by ClearedXenon
FPT University
Microsoft
Tags
Summary
This document contains exam questions and answers related to Microsoft Azure. The questions cover topics like virtual machines, Azure Active Directory (Azure AD), and conditional access policies. It's intended for preparation of the Microsoft AZ-104 exam.
Full Transcript
6/18/24, 1:06 AM AZ-104 Exam - Free Actual Q&As, Page 1 | ExamTopics - Expert Verified, Online, Free....
6/18/24, 1:06 AM AZ-104 Exam - Free Actual Q&As, Page 1 | ExamTopics - Expert Verified, Online, Free. Custom View Settings Topic 1 - Question Set 1 Question #1 Topic 1 Your company has serval departments. Each department has a number of virtual machines (VMs). The company has an Azure subscription that contains a resource group named RG1. All VMs are located in RG1. You want to associate each VM with its respective department. What should you do? A. Create Azure Management Groups for each department. B. Create a resource group for each department. C. Assign tags to the virtual machines. D. Modify the settings of the virtual machines. Correct Answer: C Reference: https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-using-tags Community vote distribution C (93%) 7% Question #2 Topic 1 Note: The question is included in a number of questions that depicts the identical set-up. However, every question has a distinctive result. Establish if the solution satisfies the requirements. Your company has an Azure Active Directory (Azure AD) subscription. You want to implement an Azure AD conditional access policy. The policy must be configured to require members of the Global Administrators group to use Multi-Factor Authentication and an Azure AD-joined device when they connect to Azure AD from untrusted locations. Solution: You access the multi-factor authentication page to alter the user settings. Does the solution meet the goal? A. Yes B. No Correct Answer: B Community vote distribution B (100%) https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 1/555 6/18/24, 1:06 AM AZ-104 Exam - Free Actual Q&As, Page 1 | ExamTopics Question #3 Topic 1 Note: The question is included in a number of questions that depicts the identical set-up. However, every question has a distinctive result. Establish if the solution satisfies the requirements. Your company has an Azure Active Directory (Azure AD) subscription. You want to implement an Azure AD conditional access policy. The policy must be configured to require members of the Global Administrators group to use Multi-Factor Authentication and an Azure AD-joined device when they connect to Azure AD from untrusted locations. Solution: You access the Azure portal to alter the session control of the Azure AD conditional access policy. Does the solution meet the goal? A. Yes B. No Correct Answer: B Community vote distribution B (88%) 12% Question #4 Topic 1 Note: The question is included in a number of questions that depicts the identical set-up. However, every question has a distinctive result. Establish if the solution satisfies the requirements. Your company has an Azure Active Directory (Azure AD) subscription. You want to implement an Azure AD conditional access policy. The policy must be configured to require members of the Global Administrators group to use Multi-Factor Authentication and an Azure AD-joined device when they connect to Azure AD from untrusted locations. Solution: You access the Azure portal to alter the grant control of the Azure AD conditional access policy. Does the solution meet the goal? A. Yes B. No Correct Answer: A Community vote distribution A (93%) 7% https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 2/555 6/18/24, 1:06 AM AZ-104 Exam - Free Actual Q&As, Page 1 | ExamTopics Question #5 Topic 1 You are planning to deploy an Ubuntu Server virtual machine to your company's Azure subscription. You are required to implement a custom deployment that includes adding a particular trusted root certification authority (CA). Which of the following should you use to create the virtual machine? A. The New-AzureRmVm cmdlet. B. The New-AzVM cmdlet. C. The Create-AzVM cmdlet. D. The az vm create command. Correct Answer: C Once Cloud-init.txt has been created, you can deploy the VM with az vm create cmdlet, using the --custom-data parameter to provide the full path to the cloud- init.txt file. Reference: https://docs.microsoft.com/en-us/azure/virtual-machines/linux/tutorial-automate-vm-deployment Community vote distribution D (99%) Question #6 Topic 1 Note: The question is included in a number of questions that depicts the identical set-up. However, every question has a distinctive result. Establish if the solution satisfies the requirements. Your company makes use of Multi-Factor Authentication for when users are not in the office. The Per Authentication option has been configured as the usage model. After the acquisition of a smaller business and the addition of the new staff to Azure Active Directory (Azure AD) obtains a different company and adding the new employees to Azure Active Directory (Azure AD), you are informed that these employees should also make use of Multi-Factor Authentication. To achieve this, the Per Enabled User setting must be set for the usage model. Solution: You reconfigure the existing usage model via the Azure portal. Does the solution meet the goal? A. Yes B. No Correct Answer: B Since it is not possible to change the usage model of an existing provider as it is right now, you have to create a new one and reactivate your existing server with activation credentials from the new provider. Reference: https://365lab.net/2015/04/11/switch-usage-model-in-azure-multi-factor-authentication-server/ Community vote distribution B (94%) 6% https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 3/555 6/18/24, 1:06 AM AZ-104 Exam - Free Actual Q&As, Page 1 | ExamTopics Question #7 Topic 1 Note: The question is included in a number of questions that depicts the identical set-up. However, every question has a distinctive result. Establish if the solution satisfies the requirements. Your company's Azure solution makes use of Multi-Factor Authentication for when users are not in the office. The Per Authentication option has been configured as the usage model. After the acquisition of a smaller business and the addition of the new staff to Azure Active Directory (Azure AD) obtains a different company and adding the new employees to Azure Active Directory (Azure AD), you are informed that these employees should also make use of Multi-Factor Authentication. To achieve this, the Per Enabled User setting must be set for the usage model. Solution: You reconfigure the existing usage model via the Azure CLI. Does the solution meet the goal? A. Yes B. No Correct Answer: B Since it is not possible to change the usage model of an existing provider as it is right now, you have to create a new one and reactivate your existing server with activation credentials from the new provider. Reference: https://365lab.net/2015/04/11/switch-usage-model-in-azure-multi-factor-authentication-server/ Community vote distribution B (90%) 10% Question #8 Topic 1 Note: The question is included in a number of questions that depicts the identical set-up. However, every question has a distinctive result. Establish if the solution satisfies the requirements. Your company's Azure solution makes use of Multi-Factor Authentication for when users are not in the office. The Per Authentication option has been configured as the usage model. After the acquisition of a smaller business and the addition of the new staff to Azure Active Directory (Azure AD) obtains a different company and adding the new employees to Azure Active Directory (Azure AD), you are informed that these employees should also make use of Multi-Factor Authentication. To achieve this, the Per Enabled User setting must be set for the usage model. Solution: You create a new Multi-Factor Authentication provider with a backup from the existing Multi-Factor Authentication provider data. Does the solution meet the goal? A. Yes B. No Correct Answer: A Since it is not possible to change the usage model of an existing provider as it is right now, you have to create a new one and reactivate your existing server with activation credentials from the new provider. Reference: https://365lab.net/2015/04/11/switch-usage-model-in-azure-multi-factor-authentication-server/ Community vote distribution B (81%) A (19%) https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 4/555 6/18/24, 1:06 AM AZ-104 Exam - Free Actual Q&As, Page 1 | ExamTopics Question #9 Topic 1 Note: The question is included in a number of questions that depicts the identical set-up. However, every question has a distinctive result. Establish if the solution satisfies the requirements. Your company has an Azure Active Directory (Azure AD) tenant named weyland.com that is configured for hybrid coexistence with the on- premises Active Directory domain. You have a server named DirSync1 that is configured as a DirSync server. You create a new user account in the on-premise Active Directory. You now need to replicate the user information to Azure AD immediately. Solution: You run the Start-ADSyncSyncCycle -PolicyType Initial PowerShell cmdlet. Does the solution meet the goal? A. Yes B. No Correct Answer: A Reference: https://blog.kloud.com.au/2016/03/08/azure-ad-connect-manual-sync-cycle-with-powershell-start-adsyncsynccycle/ Community vote distribution B (64%) A (35%) Question #10 Topic 1 Note: The question is included in a number of questions that depicts the identical set-up. However, every question has a distinctive result. Establish if the solution satisfies the requirements. Your company has an Azure Active Directory (Azure AD) tenant named weyland.com that is configured for hybrid coexistence with the on- premises Active Directory domain. You have a server named DirSync1 that is configured as a DirSync server. You create a new user account in the on-premise Active Directory. You now need to replicate the user information to Azure AD immediately. Solution: You use Active Directory Sites and Services to force replication of the Global Catalog on a domain controller. Does the solution meet the goal? A. Yes B. No Correct Answer: B Community vote distribution B (100%) https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 5/555 6/18/24, 1:06 AM AZ-104 Exam - Free Actual Q&As, Page 1 | ExamTopics Question #11 Topic 1 Note: The question is included in a number of questions that depicts the identical set-up. However, every question has a distinctive result. Establish if the solution satisfies the requirements. Your company has an Azure Active Directory (Azure AD) tenant named weyland.com that is configured for hybrid coexistence with the on- premises Active Directory domain. You have a server named DirSync1 that is configured as a DirSync server. You create a new user account in the on-premise Active Directory. You now need to replicate the user information to Azure AD immediately. Solution: You restart the NetLogon service on a domain controller. Does the solution meet the goal? A. Yes B. No Correct Answer: B Community vote distribution B (100%) Question #12 Topic 1 Your company has a Microsoft Azure subscription. The company has datacenters in Los Angeles and New York. You are configuring the two datacenters as geo-clustered sites for site resiliency. You need to recommend an Azure storage redundancy option. You have the following data storage requirements: ✑ Data must be stored on multiple nodes. ✑ Data must be stored on nodes in separate geographic locations. ✑ Data can be read from the secondary location as well as from the primary location. Which of the following Azure stored redundancy options should you recommend? A. Geo-redundant storage B. Read-only geo-redundant storage C. Zone-redundant storage D. Locally redundant storage Correct Answer: B ג ג RA-GRS allows you to have higher read availability for your storage account by providing €read only € access to the data replicated to the secondary location. Once you enable this feature, the secondary location may be used to achieve higher availability in the event the data is not available in the primary region. This is an ג€opt-inג€ feature which requires the storage account be geo-replicated. Reference: https://docs.microsoft.com/en-us/azure/storage/common/storage-redundancy Community vote distribution B (88%) 10% https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 6/555 6/18/24, 1:06 AM AZ-104 Exam - Free Actual Q&As, Page 1 | ExamTopics Question #13 Topic 1 Note: The question is included in a number of questions that depicts the identical set-up. However, every question has a distinctive result. Establish if the solution satisfies the requirements. Your company has an azure subscription that includes a storage account, a resource group, a blob container and a file share. A colleague named Jon Ross makes use of a solitary Azure Resource Manager (ARM) template to deploy a virtual machine and an additional Azure Storage account. You want to review the ARM template that was used by Jon Ross. Solution: You access the Virtual Machine blade. Does the solution meet the goal? A. Yes B. No Correct Answer: B You should use the Resource Group blade Reference: https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-export-template Community vote distribution B (100%) https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 7/555 6/18/24, 1:06 AM AZ-104 Exam - Free Actual Q&As, Page 1 | ExamTopics Question #14 Topic 1 Note: The question is included in a number of questions that depicts the identical set-up. However, every question has a distinctive result. Establish if the solution satisfies the requirements. Your company has an azure subscription that includes a storage account, a resource group, a blob container and a file share. A colleague named Jon Ross makes use of a solitary Azure Resource Manager (ARM) template to deploy a virtual machine and an additional Azure Storage account. You want to review the ARM template that was used by Jon Ross. Solution: You access the Resource Group blade. Does the solution meet the goal? A. Yes B. No Correct Answer: A To view a template from deployment history: 1. Go to the resource group for your new resource group. Notice that the portal shows the result of the last deployment. Select this link. 2. You see a history of deployments for the group. In your case, the portal probably lists only one deployment. Select this deployment. 3. The portal displays a summary of the deployment. The summary includes the status of the deployment and its operations and the values that you provided for parameters. To see the template that you used for the deployment, select View template. Reference: https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-export-template Community vote distribution A (100%) https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 8/555 6/18/24, 1:06 AM AZ-104 Exam - Free Actual Q&As, Page 1 | ExamTopics Question #15 Topic 1 Note: The question is included in a number of questions that depicts the identical set-up. However, every question has a distinctive result. Establish if the solution satisfies the requirements. Your company has an azure subscription that includes a storage account, a resource group, a blob container and a file share. A colleague named Jon Ross makes use of a solitary Azure Resource Manager (ARM) template to deploy a virtual machine and an additional Azure Storage account. You want to review the ARM template that was used by Jon Ross. Solution: You access the Container blade. Does the solution meet the goal? A. Yes B. No Correct Answer: B You should use the Resource Group blade Reference: https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-export-template Community vote distribution B (100%) Question #16 Topic 1 Your company has three virtual machines (VMs) that are included in an availability set. You try to resize one of the VMs, which returns an allocation failure message. It is imperative that the VM is resized. Which of the following actions should you take? A. You should only stop one of the VMs. B. You should stop two of the VMs. C. You should stop all three VMs. D. You should remove the necessary VM from the availability set. Correct Answer: C If the VM you wish to resize is part of an availability set, then you must stop all VMs in the availability set before changing the size of any VM in the availability set. The reason all VMs in the availability set must be stopped before performing the resize operation to a size that requires different hardware is that all running VMs in the availability set must be using the same physical hardware cluster. Therefore, if a change of physical hardware cluster is required to change the VM size then all VMs must be first stopped and then restarted one-by-one to a different physical hardware clusters. Reference: https://azure.microsoft.com/es-es/blog/resize-virtual-machines/ Community vote distribution C (95%) 3% https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 9/555 6/18/24, 1:06 AM AZ-104 Exam - Free Actual Q&As, Page 1 | ExamTopics Question #17 Topic 1 You have an Azure virtual machine (VM) that has a single data disk. You have been tasked with attaching this data disk to another Azure VM. You need to make sure that your strategy allows for the virtual machines to be offline for the least amount of time possible. Which of the following is the action you should take FIRST? A. Stop the VM that includes the data disk. B. Stop the VM that the data disk must be attached to. C. Detach the data disk. D. Delete the VM that includes the data disk. Correct Answer: A Reference: https://docs.microsoft.com/en-us/azure/virtual-machines/windows/detach-disk https://docs.microsoft.com/en-us/azure/lab-services/devtest- lab-attach-detach-data-disk Community vote distribution C (72%) A (27%) Question #18 Topic 1 Your company has an Azure subscription. You need to deploy a number of Azure virtual machines (VMs) using Azure Resource Manager (ARM) templates. You have been informed that the VMs will be included in a single availability set. You are required to make sure that the ARM template you configure allows for as many VMs as possible to remain accessible in the event of fabric failure or maintenance. Which of the following is the value that you should configure for the platformFaultDomainCount property? A. 10 B. 30 C. Min Value D. Max Value Correct Answer: D The number of fault domains for managed availability sets varies by region - either two or three per region. Reference: https://docs.microsoft.com/en-us/azure/virtual-machines/windows/manage-availability Community vote distribution D (100%) https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 10/555 6/18/24, 1:06 AM AZ-104 Exam - Free Actual Q&As, Page 1 | ExamTopics Question #19 Topic 1 Your company has an Azure subscription. You need to deploy a number of Azure virtual machines (VMs) using Azure Resource Manager (ARM) templates. You have been informed that the VMs will be included in a single availability set. You are required to make sure that the ARM template you configure allows for as many VMs as possible to remain accessible in the event of fabric failure or maintenance. Which of the following is the value that you should configure for the platformUpdateDomainCount property? A. 10 B. 20 C. 30 D. 40 Correct Answer: B Each virtual machine in your availability set is assigned an update domain and a fault domain by the underlying Azure platform. For a given availability set, five non-user-configurable update domains are assigned by default (Resource Manager deployments can then be increased to provide up to 20 update domains) to indicate groups of virtual machines and underlying physical hardware that can be rebooted at the same time. Reference: https://docs.microsoft.com/en-us/azure/virtual-machines/availability-set-overview Community vote distribution B (100%) https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 11/555 6/18/24, 1:06 AM AZ-104 Exam - Free Actual Q&As, Page 1 | ExamTopics Question #20 Topic 1 DRAG DROP - You have downloaded an Azure Resource Manager (ARM) template to deploy numerous virtual machines (VMs). The ARM template is based on a current VM, but must be adapted to reference an administrative password. You need to make sure that the password cannot be stored in plain text. You are preparing to create the necessary components to achieve your goal. Which of the following should you create to achieve your goal? Answer by dragging the correct option from the list to the answer area. Select and Place: https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 12/555 6/18/24, 1:06 AM AZ-104 Exam - Free Actual Q&As, Page 1 | ExamTopics Correct Answer: You can use a template that allows you to deploy a simple Windows VM by retrieving the password that is stored in a Key Vault. Therefore, the password is never put in plain text in the template parameter file. https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 13/555 6/18/24, 1:06 AM AZ-104 Exam - Free Actual Q&As, Page 1 | ExamTopics Question #21 Topic 1 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? A. Configure a SetupComplete.cmd batch file in the %windir%\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). Correct Answer: A After you deploy a Virtual Machine you typically need to make some changes before it's ready to use. This is something you can do manually or you could use Remote PowerShell to automate the configuration of your VM after deployment for example. But now there's a third alternative available allowing you customize your VM: the CustomScriptextension. This CustomScript extension is executed by the VM Agent and it's very straightforward: you specify which files it needs to download from your storage account and which file it needs to execute. You can even specify arguments that need to be passed to the script. The only requirement is that you execute a.ps1 file. Reference: https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/add-a-custom-script-to-windows-setup https://azure.microsoft.com/en-us/blog/automating-vm-customization-tasks-using-custom-script-extension/ Community vote distribution A (60%) C (40%) Question #22 Topic 1 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? A. Add-AzVM B. Add-AzVhd C. Add-AzImage D. Add-AzImageDataDisk Correct Answer: B The Add-AzVhd cmdlet uploads on-premises virtual hard disks, in.vhd file format, to a blob storage account as fixed virtual hard disks. Reference: https://docs.microsoft.com/en-us/azure/virtual-machines/windows/upload-generalized-managed Community vote distribution B (91%) 9% https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 14/555 6/18/24, 1:06 AM AZ-104 Exam - Free Actual Q&As, Page 1 | ExamTopics Question #23 Topic 1 DRAG DROP - Your company has an Azure subscription that includes a number of Azure virtual machines (VMs), which are all part of the same virtual network. Your company also has an on-premises Hyper-V server that hosts a VM, named VM1, which must be replicated to Azure. Which of the following objects that must be created to achieve this goal? Answer by dragging the correct option from the list to the answer area. Select and Place: Correct Answer: https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 15/555 6/18/24, 1:06 AM AZ-104 Exam - Free Actual Q&As, Page 1 | ExamTopics Question #24 Topic 1 Note: The question is included in a number of questions that depicts the identical set-up. However, every question has a distinctive result. Establish if the solution satisfies the requirements. Your company's Azure subscription includes two Azure networks named VirtualNetworkA and VirtualNetworkB. VirtualNetworkA includes a VPN gateway that is configured to make use of static routing. Also, a site-to-site VPN connection exists between your company's on- premises network and VirtualNetworkA. You have configured a point-to-site VPN connection to VirtualNetworkA from a workstation running Windows 10. After configuring virtual network peering between VirtualNetworkA and VirtualNetworkB, you confirm that you are able to access VirtualNetworkB from the company's on-premises network. However, you find that you cannot establish a connection to VirtualNetworkB from the Windows 10 workstation. You have to make sure that a connection to VirtualNetworkB can be established from the Windows 10 workstation. Solution: You choose the Allow gateway transit setting on VirtualNetworkA. Does the solution meet the goal? A. Yes B. No Correct Answer: B Reference: https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-about-point-to-site-routing Community vote distribution B (100%) Question #25 Topic 1 Note: The question is included in a number of questions that depicts the identical set-up. However, every question has a distinctive result. Establish if the solution satisfies the requirements. Your company's Azure subscription includes two Azure networks named VirtualNetworkA and VirtualNetworkB. VirtualNetworkA includes a VPN gateway that is configured to make use of static routing. Also, a site-to-site VPN connection exists between your company's on- premises network and VirtualNetworkA. You have configured a point-to-site VPN connection to VirtualNetworkA from a workstation running Windows 10. After configuring virtual network peering between VirtualNetworkA and VirtualNetworkB, you confirm that you are able to access VirtualNetworkB from the company's on-premises network. However, you find that you cannot establish a connection to VirtualNetworkB from the Windows 10 workstation. You have to make sure that a connection to VirtualNetworkB can be established from the Windows 10 workstation. Solution: You choose the Allow gateway transit setting on VirtualNetworkB. Does the solution meet the goal? A. Yes B. No Correct Answer: B Reference: https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-about-point-to-site-routing Community vote distribution B (100%) https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 16/555 6/18/24, 1:06 AM AZ-104 Exam - Free Actual Q&As, Page 1 | ExamTopics Question #26 Topic 1 Note: The question is included in a number of questions that depicts the identical set-up. However, every question has a distinctive result. Establish if the solution satisfies the requirements. Your company's Azure subscription includes two Azure networks named VirtualNetworkA and VirtualNetworkB. VirtualNetworkA includes a VPN gateway that is configured to make use of static routing. Also, a site-to-site VPN connection exists between your company's on- premises network and VirtualNetworkA. You have configured a point-to-site VPN connection to VirtualNetworkA from a workstation running Windows 10. After configuring virtual network peering between VirtualNetworkA and VirtualNetworkB, you confirm that you are able to access VirtualNetworkB from the company's on-premises network. However, you find that you cannot establish a connection to VirtualNetworkB from the Windows 10 workstation. You have to make sure that a connection to VirtualNetworkB can be established from the Windows 10 workstation. Solution: You download and re-install the VPN client configuration package on the Windows 10 workstation. Does the solution meet the goal? A. Yes B. No Correct Answer: A Reference: https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-about-point-to-site-routing Community vote distribution A (97%) Question #27 Topic 1 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? A. Configure a Site-to-Site (S2S) VPN. B. Configure a VNet-toVNet 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 Correct Answer: C A Point-to-Site (P2S) VPN gateway connection lets you create a secure connection to your virtual network from an individual client computer. Reference: https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-about-vpngateways Community vote distribution C (93%) 7% https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 17/555 6/18/24, 1:06 AM AZ-104 Exam - Free Actual Q&As, Page 1 | ExamTopics Question #28 Topic 1 Note: The question is included in a number of questions that depicts the identical set-up. However, every question has a distinctive result. Establish if the solution satisfies the requirements. Your company has a Microsoft SQL Server Always On availability group configured on their Azure virtual machines (VMs). You need to configure an Azure internal load balancer as a listener for the availability group. Solution: You create an HTTP health probe on port 1433. Does the solution meet the goal? A. Yes B. No Correct Answer: B Community vote distribution B (100%) Question #29 Topic 1 Note: The question is included in a number of questions that depicts the identical set-up. However, every question has a distinctive result. Establish if the solution satisfies the requirements. Your company has a Microsoft SQL Server Always On availability group configured on their Azure virtual machines (VMs). You need to configure an Azure internal load balancer as a listener for the availability group. Solution: You set Session persistence to Client IP. Does the solution meet the goal? A. Yes B. No Correct Answer: B Reference: https://docs.microsoft.com/en-us/azure/virtual-machines/windows/sql/virtual-machines-windows-portal-sql-alwayson-int-listener Community vote distribution B (63%) A (38%) Question #30 Topic 1 Note: The question is included in a number of questions that depicts the identical set-up. However, every question has a distinctive result. Establish if the solution satisfies the requirements. Your company has a Microsoft SQL Server Always On availability group configured on their Azure virtual machines (VMs). You need to configure an Azure internal load balancer as a listener for the availability group. Solution: You enable Floating IP. Does the solution meet the goal? A. Yes B. No Correct Answer: A Community vote distribution A (79%) B (18%) 4% https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 18/555 6/18/24, 1:06 AM AZ-104 Exam - Free Actual Q&As, Page 1 | ExamTopics Question #31 Topic 1 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? A. Run the New-AzureRMVMConfig PowerShell cmdlet. B. Run the Set-AzureSubnet 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-AzureStaticVNetIP PowerShell cmdlet. Correct Answer: E Specify a static internal IP for a previously created VM If you want to set a static IP address for a VM that you previously created, you can do so by using the following cmdlets. If you already set an IP address for the VM and you want to change it to a different IP address, you'll need to remove the existing static IP address before running these cmdlets. See the instructions below to remove a static IP. For this procedure, you'll use the Update-AzureVM cmdlet. The Update-AzureVM cmdlet restarts the VM as part of the update process. The DIP that you specify will be assigned after the VM restarts. In this example, we set the IP address for VM2, which is located in cloud service StaticDemo. Get-AzureVM -ServiceName StaticDemo -Name VM2 | Set-AzureStaticVNetIP -IPAddress 192.168.4.7 | Update-AzureVM Community vote distribution E (67%) C (33%) Question #32 Topic 1 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? A. 5 B. 10 C. 20 D. 40 Correct Answer: A Community vote distribution A (95%) 5% https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 19/555 6/18/24, 1:06 AM AZ-104 Exam - Free Actual Q&As, Page 1 | ExamTopics Question #33 Topic 1 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? A. 4 B. 3 C. 2 D. 1 Correct Answer: D Community vote distribution D (100%) Question #34 Topic 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? 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. Correct Answer: A Community vote distribution B (63%) A (25%) 12% Question #35 Topic 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 are required to restore the VM. Which of the following actions should you take? A. You should restore the VM after deleting the infected VM. B. You should restore the VM to any VM within the company's subscription. C. You should restore the VM to a new Azure VM. D. You should restore the VM to an on-premise Windows device. Correct Answer: B Community vote distribution C (87%) 11% https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 20/555 6/18/24, 1:06 AM AZ-104 Exam - Free Actual Q&As, Page 1 | ExamTopics Question #36 Topic 1 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? A. Azure Traffic Analytics B. Azure Monitor C. Azure Activity Log D. Azure Advisor Correct Answer: B Metrics in Azure Monitor are stored in a time-series database which is optimized for analyzing time-stamped data. This makes metrics particularly suited for alerting and fast detection of issues. Reference: https://docs.microsoft.com/en-us/azure/azure-monitor/platform/data-platform Community vote distribution B (100%) Question #37 Topic 1 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. 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. Correct Answer: ABCDE Azure Backup supports backup of 64-bit Windows server operating system from Windows Server 2008. Azure Backup supports backup of 64-bit Windows 10 operating system. Azure Backup supports backup of 64-bit Debian operating system from Debian 7.9+. Azure Backup supports backup of VM that are shutdown or offline. Reference: https://docs.microsoft.com/en-us/azure/backup/backup-support-matrix-iaas https://docs.microsoft.com/en-us/azure/virtual- machines/linux/endorsed-distros Community vote distribution ABCDE (90%) 7% https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 21/555 6/18/24, 1:06 AM AZ-104 Exam - Free Actual Q&As, Page 1 | ExamTopics Question #38 Topic 1 Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution. After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. You have an Azure Active Directory (Azure AD) tenant named contoso.com. You have a CSV file that contains the names and email addresses of 500 external users. You need to create a guest user account in contoso.com for each of the 500 external users. Solution: You create a PowerShell script that runs the New-AzureADUser cmdlet for each user. Does this meet the goal? A. Yes B. No Correct Answer: B The New-AzureADUser cmdlet creates a user in Azure Active Directory (Azure AD). Instead use the New-AzureADMSInvitation cmdlet which is used to invite a new external user to your directory. Reference: https://docs.microsoft.com/en-us/powershell/module/azuread/new-azureadmsinvitation Community vote distribution B (91%) 9% Question #39 Topic 1 Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution. After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. You have an Azure Active Directory (Azure AD) tenant named contoso.com. You have a CSV file that contains the names and email addresses of 500 external users. You need to create a guest user account in contoso.com for each of the 500 external users. Solution: From Azure AD in the Azure portal, you use the Bulk create user operation. Does this meet the goal? A. Yes B. No Correct Answer: B Instead use the New-AzureADMSInvitation cmdlet which is used to invite a new external user to your directory. Reference: https://docs.microsoft.com/en-us/powershell/module/azuread/new-azureadmsinvitation Community vote distribution B (92%) 8% https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 22/555 6/18/24, 1:06 AM AZ-104 Exam - Free Actual Q&As, Page 1 | ExamTopics Question #40 Topic 1 Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution. After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. You have an Azure Active Directory (Azure AD) tenant named contoso.com. You have a CSV file that contains the names and email addresses of 500 external users. You need to create a guest user account in contoso.com for each of the 500 external users. Solution: You create a PowerShell script that runs the New-AzureADMSInvitation cmdlet for each external user. Does this meet the goal? A. Yes B. No Correct Answer: A Use the New-AzureADMSInvitation cmdlet which is used to invite a new external user to your directory. Reference: https://docs.microsoft.com/en-us/powershell/module/azuread/new-azureadmsinvitation Community vote distribution A (89%) 11% https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 23/555 6/18/24, 1:06 AM AZ-104 Exam - Free Actual Q&As, Page 1 | ExamTopics Topic 2 - Question Set 2 Question #1 Topic 2 HOTSPOT - You have an Azure subscription named Subscription1 that contains a resource group named RG1. In RG1, you create an internal load balancer named LB1 and a public load balancer named LB2. You need to ensure that an administrator named Admin1 can manage LB1 and LB2. The solution must follow the principle of least privilege. Which role should you assign to Admin1 for each task? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point. Hot Area: Correct Answer: The Network Contributor role lets you manage networks, but not access them. Reference: https://docs.microsoft.com/en-us/azure/role-based-access-control/built-in-roles https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 24/555 6/18/24, 1:06 AM AZ-104 Exam - Free Actual Q&As, Page 1 | ExamTopics Question #2 Topic 2 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? 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. Correct Answer: B Reference: https://kubernetes.io/docs/reference/access-authn-authz/authentication/ Community vote distribution B (93%) 6% Question #3 Topic 2 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? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point. A. a Microsoft 365 group that uses the Assigned membership type B. a Security group that uses the Assigned membership type C. a Microsoft 365 group that uses the Dynamic User membership type D. a Security group that uses the Dynamic User membership type E. a Security group that uses the Dynamic Device membership type Correct Answer: AC You can set expiration policy only for Office 365 groups in Azure Active Directory (Azure AD). Note: With the increase in usage of Office 365 Groups, administrators and users need a way to clean up unused groups. Expiration policies can help remove inactive groups from the system and make things cleaner. When a group expires, all of its associated services (the mailbox, Planner, SharePoint site, etc.) are also deleted. You can set up a rule for dynamic membership on security groups or Office 365 groups. Incorrect Answers: B, D, E: You can set expiration policy only for Office 365 groups in Azure Active Directory (Azure AD). Reference: https://docs.microsoft.com/en-us/office365/admin/create-groups/office-365-groups-expiration-policy?view=o365-worldwide Community vote distribution AC (92%) 6% https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 25/555 6/18/24, 1:06 AM AZ-104 Exam - Free Actual Q&As, Page 1 | ExamTopics Question #4 Topic 2 HOTSPOT - You have an Azure Active Directory (Azure AD) tenant named contoso.com that contains the users shown in the following table: User3 is the owner of Group1. Group2 is a member of Group1. You configure an access review named Review1 as shown in the following exhibit: For each of the following statements, select Yes if the statement is true. Otherwise, select No. https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 26/555 6/18/24, 1:06 AM AZ-104 Exam - Free Actual Q&As, Page 1 | ExamTopics NOTE: Each correct selection is worth one point. Hot Area: Correct Answer: Reference: https://docs.microsoft.com/en-us/azure/active-directory/governance/create-access-review https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 27/555 6/18/24, 1:06 AM AZ-104 Exam - Free Actual Q&As, Page 1 | ExamTopics Question #5 Topic 2 HOTSPOT - You have the Azure management groups shown in the following table: You add Azure subscriptions to the management groups as shown in the following table: You create the Azure policies shown in the following table: For each of the following statements, select Yes if the statement is true. Otherwise, select No. NOTE: Each correct selection is worth one point. Hot Area: Correct Answer: Box 1: No - Virtual networks are not allowed at the root and is inherited. Deny overrides allowed. Box 2: Yes - Virtual Machines can be created on a Management Group provided the user has the required RBAC permissions. Box 3: Yes - Subscriptions can be moved between Management Groups provided the user has the required RBAC permissions. https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 28/555 6/18/24, 1:06 AM AZ-104 Exam - Free Actual Q&As, Page 1 | ExamTopics Reference: https://docs.microsoft.com/en-us/azure/governance/management-groups/overview https://docs.microsoft.com/en- us/azure/governance/management-groups/manage#moving-management-groups-and-subscriptions Question #6 Topic 2 You have an Azure policy as shown in the following exhibit: What is the effect of the policy? A. You are prevented from creating Azure SQL servers anywhere in Subscription 1. B. You can create Azure SQL servers in ContosoRG1 only. C. You are prevented from creating Azure SQL Servers in ContosoRG1 only. D. You can create Azure SQL servers in any resource group within Subscription 1. Correct Answer: B You are prevented from creating Azure SQL servers anywhere in Subscription 1 with the exception of ContosoRG1 Community vote distribution B (100%) https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 29/555 6/18/24, 1:06 AM AZ-104 Exam - Free Actual Q&As, Page 1 | ExamTopics Question #7 Topic 2 HOTSPOT - You have an Azure subscription that contains the resources shown in the following table: You assign a policy to RG6 as shown in the following table: To RG6, you apply the tag: RGroup: RG6. You deploy a virtual network named VNET2 to RG6. Which tags apply to VNET1 and VNET2? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point. Hot Area: Correct Answer: VNET1: Department: D1, and Label:Value1 only. Tags applied to the resource group or subscription are not inherited by the resources. Note: Azure Policy allows you to use either built-in or custom-defined policy definitions and assign them to either a specific resource group or across a whole Azure subscription. VNET2: Label:Value1 only. https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 30/555 6/18/24, 1:06 AM AZ-104 Exam - Free Actual Q&As, Page 1 | ExamTopics Incorrect Answers: RGROUP: RG6 - Tags applied to the resource group or subscription are not inherited by the resources. Reference: https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/tag-policies Question #8 Topic 2 You have an Azure subscription named AZPT1 that contains the resources shown in the following table: You create a new Azure subscription named AZPT2. You need to identify which resources can be moved to AZPT2. Which resources should you identify? A. VM1, storage1, VNET1, and VM1Managed only B. VM1 and VM1Managed only C. VM1, storage1, VNET1, VM1Managed, and RVAULT1 D. RVAULT1 only Correct Answer: C You can move a VM and its associated resources to a different subscription by using the Azure portal. You can now move an Azure Recovery Service (ASR) Vault to either a new resource group within the current subscription or to a new subscription. Reference: https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/move-resource-group-and-subscription Community vote distribution C (90%) 10% https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 31/555 6/18/24, 1:06 AM AZ-104 Exam - Free Actual Q&As, Page 1 | ExamTopics Question #9 Topic 2 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? A. From Azure PowerShell, run the Set-AzApiManagementSubscription cmdlet B. From the Azure portal, register the Microsoft.Marketplace resource provider C. From Azure PowerShell, run the Set-AzMarketplaceTerms cmdlet D. From the Azure portal, assign the Billing administrator role to Admin1 Correct Answer: C Reference: https://docs.microsoft.com/en-us/powershell/module/az.marketplaceordering/set-azmarketplaceterms?view=azps-4.1.0 Community vote distribution C (100%) Question #10 Topic 2 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? 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 Correct Answer: B Assign a role to a user - 1. Sign in to the Azure portal with an account that's a global admin or privileged role admin for the directory. 2. Select Azure Active Directory, select Users, and then select a specific user from the list. 3. For the selected user, select Directory role, select Add role, and then pick the appropriate admin roles from the Directory roles list, such as Conditional access administrator. 4. Press Select to save. Reference: https://docs.microsoft.com/en-us/azure/active-directory/fundamentals/active-directory-users-assign-role-azure-portal Community vote distribution B (100%) https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 32/555 6/18/24, 1:06 AM AZ-104 Exam - Free Actual Q&As, Page 1 | ExamTopics Question #11 Topic 2 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? 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 Correct Answer: A Reference: https://docs.microsoft.com/en-us/azure/active-directory/fundamentals/license-users-groups Community vote distribution A (92%) 8% Question #12 Topic 2 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 percent. What should you do first? A. Create an automation runbook B. Deploy a function app C. Deploy the IT Service Management Connector (ITSM) D. Create a notification Correct Answer: C The IT Service Management Connector (ITSMC) allows you to connect Azure and a supported IT Service Management (ITSM) product/service, such as the Microsoft System Center Service Manager. With ITSMC, you can create work items in ITSM tool, based on your Azure alerts (metric alerts, Activity Log alerts and Log Analytics alerts). Reference: https://docs.microsoft.com/en-us/azure/azure-monitor/platform/itsmc-overview Community vote distribution C (88%) 9% https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 33/555 6/18/24, 1:06 AM AZ-104 Exam - Free Actual Q&As, Page 1 | ExamTopics Question #13 Topic 2 You sign up for Azure Active Directory (Azure AD) Premium P2. You need to add a user named [email protected] as an administrator on all the computers that will be joined to the Azure AD domain. What should you configure in Azure AD? A. Device settings from the Devices blade B. Providers from the MFA Server blade C. User settings from the Users blade D. General settings from the Groups blade Correct Answer: A When you connect a Windows device with Azure AD using an Azure AD join, Azure AD adds the following security principles to the local administrators group on the device: ✑ The Azure AD global administrator role ✑ The Azure AD device administrator role ✑ The user performing the Azure AD join In the Azure portal, you can manage the device administrator role on the Devices page. To open the Devices page: 1. Sign in to your Azure portal as a global administrator or device administrator. 2. On the left navbar, click Azure Active Directory. 3. In the Manage section, click Devices. 4. On the Devices page, click Device settings. 5. To modify the device administrator role, configure Additional local administrators on Azure AD joined devices. Reference: https://docs.microsoft.com/en-us/azure/active-directory/devices/assign-local-admin Community vote distribution A (100%) https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 34/555 6/18/24, 1:06 AM AZ-104 Exam - Free Actual Q&As, Page 1 | ExamTopics Question #14 Topic 2 HOTSPOT - You have Azure Active Directory tenant named Contoso.com that includes following users: Contoso.com includes following Windows 10 devices: You create following security groups in Contoso.com: For each of the following statements, select Yes if the statement is true. Otherwise, select No. NOTE: Each correct selection is worth one point. Hot Area: Correct Answer: Box 1: Yes - User1 is a Cloud Device Administrator. Device2 is Azure AD joined. Group1 has the assigned to join type. User1 is the owner of Group1. Note: Assigned groups - Manually add users or devices into a static group. Azure AD joined or hybrid Azure AD joined devices utilize an organizational account in Azure AD Box 2: No - User2 is a User Administrator. Device1 is Azure AD registered. Group1 has the assigned join type, and the owner is User1. Note: Azure AD registered devices utilize an account managed by the end user, this account is either a Microsoft account or another locally managed credential. https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 35/555 6/18/24, 1:06 AM AZ-104 Exam - Free Actual Q&As, Page 1 | ExamTopics Box 3: Yes - User2 is a User Administrator. Device2 is Azure AD joined. Group2 has the Dynamic Device join type, and the owner is User2. Reference: https://docs.microsoft.com/en-us/azure/active-directory/devices/overview Question #15 Topic 2 You have an Azure subscription that contains a resource group named RG26. RG26 is set to the West Europe location and is used to create temporary resources for a project. RG26 contains the resources shown in the following table. SQLDB01 is backed up to RGV1. When the project is complete, you attempt to delete RG26 from the Azure portal. The deletion fails. You need to delete RG26. What should you do first? A. Delete VM1 B. Stop VM1 C. Stop the backup of SQLDB01 D. Delete sa001 Correct Answer: C Community vote distribution C (100%) https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 36/555 6/18/24, 1:06 AM AZ-104 Exam - Free Actual Q&As, Page 1 | ExamTopics Question #16 Topic 2 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? A. Remove User1 from the Security Reader and Reader roles for Subscription1. B. Assign User1 the User Access Administrator role for VNet1. C. Assign User1 the Network Contributor role for VNet1. D. Assign User1 the Network Contributor role for RG1. Correct Answer: B Has full access to all resources including the right to delegate access to others. Note: There are several versions of this question in the exam. The question has two possible correct answers: ✑ Assign User1 the User Access Administrator role for VNet1. ✑ Assign User1 the Owner role for VNet1. Other incorrect answer options you may see on the exam include the following: ✑ Assign User1 the Contributor role for VNet1. ✑ Remove User1 from the Security Reader and Reader roles for Subscription1. Assign User1 the Contributor role for Subscription1. ✑ Remove User1 from the Security Reader role for Subscription1. Assign User1 the Contributor role for RG1. Reference: https://docs.microsoft.com/en-us/azure/role-based-access-control/overview Community vote distribution B (85%) C (15%) https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 37/555 6/18/24, 1:06 AM AZ-104 Exam - Free Actual Q&As, Page 1 | ExamTopics Question #17 Topic 2 You have an Azure Active Directory (Azure AD) tenant named contosocloud.onmicrosoft.com. Your company has a public DNS zone for contoso.com. You add contoso.com as a custom domain name to Azure AD. You need to ensure that Azure can verify the domain name. Which type of DNS record should you create? A. MX B. NSEC C. PTR D. RRSIG Correct Answer: A To verify your custom domain name (example) 1. Sign in to the Azure portal using a Global administrator account for the directory. 2. Select Azure Active Directory, and then select Custom domain names. 3. On the Fabrikam - Custom domain names page, select the custom domain name, Contoso. 4. On the Contoso page, select Verify to make sure your custom domain is properly registered and is valid for Azure AD. Use either the TXT or the MX record type. Note: There are several versions of this question in the exam. The question can have two correct answers: 1. MX 2. TXT The question can also have other incorrect answer options, including the following: 1. SRV 2. NSEC3 Reference: https://docs.microsoft.com/en-us/azure/dns/dns-web-sites-custom-domain Community vote distribution A (100%) https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 38/555 6/18/24, 1:06 AM AZ-104 Exam - Free Actual Q&As, Page 1 | ExamTopics Question #18 Topic 2 Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution. After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. You have an Azure Directory (Azure AD) tenant named Adatum and an Azure Subscription named Subscription1. Adatum contains a group named Developers. Subscription1 contains a resource group named Dev. You need to provide the Developers group with the ability to create Azure logic apps in the Dev resource group. Solution: On Subscription1, you assign the DevTest Labs User role to the Developers group. Does this meet the goal? A. Yes B. No Correct Answer: B DevTest Labs User role only lets you connect, start, restart, and shutdown virtual machines in your Azure DevTest Labs. The Logic App Contributor role lets you manage logic app, but not access to them. It provides access to view, edit, and update a logic app. Reference: https://docs.microsoft.com/en-us/azure/role-based-access-control/built-in-roles https://docs.microsoft.com/en-us/azure/logic-apps/logic- apps-securing-a-logic-app Community vote distribution B (100%) Question #19 Topic 2 Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution. After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. You have an Azure Directory (Azure AD) tenant named Adatum and an Azure Subscription named Subscription1. Adatum contains a group named Developers. Subscription1 contains a resource group named Dev. You need to provide the Developers group with the ability to create Azure logic apps in the Dev resource group. Solution: On Subscription1, you assign the Logic App Operator role to the Developers group. Does this meet the goal? A. Yes B. No Correct Answer: B You would need the Logic App Contributor role. Reference: https://docs.microsoft.com/en-us/azure/role-based-access-control/built-in-roles https://docs.microsoft.com/en-us/azure/logic-apps/logic- apps-securing-a-logic-app Community vote distribution B (100%) https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 39/555 6/18/24, 1:06 AM AZ-104 Exam - Free Actual Q&As, Page 1 | ExamTopics Question #20 Topic 2 Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution. After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. You have an Azure Directory (Azure AD) tenant named Adatum and an Azure Subscription named Subscription1. Adatum contains a group named Developers. Subscription1 contains a resource group named Dev. You need to provide the Developers group with the ability to create Azure logic apps in the Dev resource group. Solution: On Dev, you assign the Contributor role to the Developers group. Does this meet the goal? A. Yes B. No Correct Answer: A The Contributor role can manage all resources (and add resources) in a Resource Group. Community vote distribution A (100%) https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 40/555 6/18/24, 1:06 AM AZ-104 Exam - Free Actual Q&As, Page 1 | ExamTopics Question #21 Topic 2 DRAG DROP - You have an Azure subscription that is used by four departments in your company. The subscription contains 10 resource groups. Each department uses resources in several resource groups. You need to send a report to the finance department. The report must detail the costs for each department. Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order. Select and Place: Correct Answer: Box 1: Assign a tag to each resource. You apply tags to your Azure resources giving metadata to logically organize them into a taxonomy. After you apply tags, you can retrieve all the resources in your subscription with that tag name and value. Each resource or resource group can have a maximum of 15 tag name/value pairs. Tags applied to the resource group are not inherited by the resources in that resource group. Box 2: From the Cost analysis blade, filter the view by tag After you get your services running, regularly check how much they're costing you. You can see the current spend and burn rate in Azure portal. 1. Visit the Subscriptions blade in Azure portal and select a subscription. You should see the cost breakdown and burn rate in the popup blade. 2. Click Cost analysis in the list to the left to see the cost breakdown by resource. Wait 24 hours after you add a service for the data to populate. 3. You can filter by different properties like tags, resource group, and timespan. Click Apply to confirm the filters and Download if you want to export the view to a Comma-Separated Values (.csv) file. Box 3: Download the usage report Reference: https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-using-tags https://docs.microsoft.com/en- us/azure/billing/billing-getting-started https://www.examtopics.com/exams/microsoft/az-104/custom-view/ 41/555 6/18/24, 1:06 AM AZ-104 Exam - Free Actual Q&As, Page 1 | ExamTopics Question #22 Topic 2 You have an Azure subscription named Subscription1 that contains an Azure Log Analytics workspace named Workspace1. You need to vi