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 virtual machine named VM1 that runs Windows Server 2016.
You need to create an alert in Azure when more than two error events are logged to the System event log on VM1 within an hour.
Solution: You create an Azure Log Analytics workspace and configure the data settings. You add the Microsoft Monitoring Agent VM extension to VM1. You create an alert in Azure Monitor and specify the Log Analytics workspace as the source.
Does this meet the goal?
A. Yes
B. No
Show Answer
Correct Answer: A
Explanation: Yes. The Microsoft Monitoring Agent could be deployed to an Azure VM as a VM extension. Once configured to collect System event log errors into the Log Analytics workspace, Azure Monitor can create a log alert for more than two matching events within an hour.
Question 65
HOTSPOT
-
Your company purchases a new Azure subscription.
You create a file named Deploy.json as shown in the following exhibit.
You connect to the subscription and run the following cmdlet.
New-AzDeployment -Location westus -TemplateFile “deploy.json”
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Show Answer
Correct Answer: Yes
No
Yes
Explanation: The template creates resource groups RG0, RG1, and RG2 (copyIndex starts at 0). RG1 receives a CanNotDelete lock, which still allows creating resources. RG2 receives a ReadOnly lock, which blocks creating a VM. RG3 is not created, so it can be created manually if the name is available.
Question 65
You have an app named App1 that runs on an Azure web app named webapp1.
The developers at your company upload an update of App1 to a Git repository named Git1.
Webapp1 has the deployment slots shown in the following table.
You need to ensure that the App1 update is tested before the update is made available to users.
Which two actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
A. Swap the slots
B. Deploy the App1 update to webapp1-prod, and then test the update
C. Stop webapp1-prod
D. Deploy the App1 update to webapp1-test, and then test the update
E. Stop webapp1-test
Show Answer
Correct Answer: D, A
Explanation: Deploy the update to the staging slot, webapp1-test, and test it there. Once it is verified, swap the slots to make the updated app available in production.
Question 65
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 need to ensure that an Azure Active Directory (Azure AD) user named Admin1 is assigned the required role to enable Traffic Analytics for an Azure subscription.
Solution: You assign the Network Contributor role at the subscription level to Admin1.
Does this meet the goal?
A. Yes
B. No
Show Answer
Correct Answer: A
Explanation: Yes. Network Contributor is an accepted subscription-level role for enabling Traffic Analytics. The Log Analytics workspace used for the analysis must also be accessible.
Question 66
HOTSPOT
-
You have an Azure Storage account named storage1 that contains a container named container1. The container1 container stores thousands of image files.
You plan to use an Azure Resource Manager (ARM) template to create a blob inventory rule named rule1.
You need to ensure that only blobs whose names start with the word finance are stored daily as a CSV file in container1.
How should you complete rule1? To answer, select the options in the answer area.
NOTE: Each correct answer is worth one point.
Explanation: Inventory filters apply to blob types and blob name prefixes. The images are standard block blobs, and prefixMatch uses the container name followed by the blob name prefix (container1/finance) to match blobs whose names start with 'finance' in container1. CSV is the inventory output format and schedule is already daily.
Question 66
You have an Azure subscription that contains the resources shown in the following table.
All virtual machines run Windows Server 2016.
On VM1, you back up a folder named Folder1 as shown in the following exhibit.
You plan to restore the backup to a different virtual machine.
You need to restore the backup to VM2.
What should you do first?
A. From VM1, install the Windows Server Backup feature.
B. From VM2, install the Microsoft Azure Recovery Services Agent.
C. From VM1, install the Microsoft Azure Recovery Services Agent.
D. From VM2, install the Windows Server Backup feature.
Show Answer
Correct Answer: B
Explanation: The backup shown is a files-and-folders backup made with the Microsoft Azure Recovery Services (MARS) Agent. To restore it onto a different machine, first install the MARS Agent on the target machine, VM2. Windows Server Backup is not required for this restore.
Question 66
HOTSPOT -
You have an Azure subscription that contains the resources shown in the following table.
VMSS1 is set to VM (virtual machines) orchestration mode.
You need to deploy a new Azure virtual machine named VM1, and then add VM1 to VMSS1.
Which resource group and location should you use to deploy VM1? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
Show Answer
Correct Answer: Resource group: RG1 only
Location: West US only
Explanation: To add VM1 to VMSS1 in VM orchestration mode, deploy it in the same resource group and region as the scale set. The location of RG1 itself does not restrict where its resources can be deployed.
Question 67
You have an Azure subscription that contains the resources shown in the following table.
LB1 is configured as shown in the following table.
You plan to create new inbound NAT rules that meet the following requirements:
✑ Provide Remote Desktop access to VM1 from the internet by using port 3389.
✑ Provide Remote Desktop access to VM2 from the internet by using port 3389.
What should you create on LB1 before you can create the new inbound NAT rules?
A. a frontend IP address
B. a load balancing rule
C. a health probe
D. a backend pool
Show Answer
Correct Answer: A
Explanation: LB1 already has a frontend IP address, but two NAT rules cannot use the same frontend IP and frontend port (3389) for different VMs. Create an additional frontend IP address so each VM can be reached on port 3389. The backend pool, health probe, and load-balancing rule already exist, and NAT rules do not require a load-balancing rule or health probe.
Question 67
You have an Azure subscription that contains an Azure Storage account.
You plan to create an Azure container instance named container1 that will use a Docker image named Image1. Image1 contains a Microsoft SQL Server instance that requires persistent storage.
You need to configure a storage service for Container1.
What should you use?
A. Azure Files
B. Azure Blob storage
C. Azure Queue storage
D. Azure Table storage
Show Answer
Correct Answer: A
Explanation: Use Azure Files. Azure Container Instances can mount an Azure file share as persistent storage, so the SQL Server container’s data can persist beyond the container’s lifecycle. Blob, Queue, and Table storage do not provide the file-share volume needed here.
Question 68
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
Show Answer
Correct Answer: C
Explanation: Stop the backup of SQLDB01 first. The Recovery Services vault (RGV1) contains a protected backup item, which must be addressed before the vault—and therefore RG26—can be deleted. Stopping VM1 or deleting sa001 does not resolve that backup dependency.
$19
Get all 558 questions with detailed answers and explanations
Instant download HTML + PDF delivered the moment payment clears.
Secure Stripe checkout we never see or store your card details.
7-day refund if files are defective see our refund policy.