πŸ”

AZ-104 β€” questions

Page 12 of 18 Β· 350 total questions.

Topic 4 Β· Question 333

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. VM1 was deployed by using a custom Azure Resource Manager template named ARM1.json. You receive a notification that VM1 will be affected by maintenance. You need to move VM1 to a different host immediately. Solution: From the resource group blade, move VM1 to another subscription. Does this meet the goal?

  • AYes
  • BNo (correct answer)
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: No.

Topic 4 Β· Question 334

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. VM1 was deployed by using a custom Azure Resource Manager template named ARM1.json. You receive a notification that VM1 will be affected by maintenance. You need to move VM1 to a different host immediately. Solution: From the VM1 Redeploy + reapply blade, you select Redeploy. Does this meet the goal?

  • AYes (correct answer)
  • BNo
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Yes.

Topic 4 Β· Question 335

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. VM1 was deployed by using a custom Azure Resource Manager template named ARM1.json. You receive a notification that VM1 will be affected by maintenance. You need to move VM1 to a different host immediately. Solution: From the VM1 Updates blade, select One-time update. Does this meet the goal?

  • AYes
  • BNo (correct answer)
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: No.

Topic 5 Β· Question 340

You have the Azure virtual networks shown in the following table. To which virtual networks can you establish a peering connection from VNet1?

  • AVNet2 andVNet3 only
  • BVNet2 only
  • CVNet3 and VNet4 only (correct answer)
  • DVNet2, VNet3, and VNet4
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: VNet3 and VNet4 only.

Topic 5 Β· Question 341 Β· Select all that apply

You have an Azure subscription that contains a virtual network named VNet1. VNet1 contains four subnets named Gateway, Perimeter, NVA, and Production. The NVA subnet contains two network virtual appliances (NVAs) that will perform network traffic inspection between the Perimeter subnet and the Production subnet. You need to implement an Azure load balancer for the NVAs. The solution must meet the following requirements: β€’ The NVAs must run in an active-active configuration that uses automatic failover. β€’ The load balancer must load balance traffic to two services on the Production subnet. The services have different IP addresses. Which three actions should you perform? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.

  • ADeploy a basic load balancer
  • BDeploy a standard load balancer (correct answer)
  • CAdd two load balancing rules that have HA Ports and Floating IP enabled (correct answer)
  • DAdd two load balancing rules that have HA Ports enabled and Floating IP disabled
  • EAdd a frontend IP configuration, a backend pool, and a health probe
  • FAdd a frontend IP configuration, two backend pools, and a health probe (correct answer)
Reveal answer & explanation
Correct answer: B, C, F

The correct answer is B, C, F. Option B: Deploy a standard load balancer Option C: Add two load balancing rules that have HA Ports and Floating IP enabled Option F: Add a frontend IP configuration, two backend pools, and a health probe

Explanation

Azure Load Balancer distributes layer-4 traffic across healthy backends in a region for availability.

Topic 5 Β· Question 342

You have an Azure subscription named Subscription1 that contains two Azure virtual networks named VNet1 and VNet2. VNet1 contains a VPN gateway named VPNGW1 that uses static routing. There is a site-to-site VPN connection between your on-premises network and VNet1. On a computer named Client1 that runs Windows 10, you configure a point-to-site VPN connection to VNet1. You configure virtual network peering between VNet1 and VNet2. You verify that you can connect to VNet2 from the on-premises network. Client1 is unable to connect to VNet2. You need to ensure that you can connect Client1 to VNet2. What should you do?

  • ADownload and re-install the VPN client configuration package on Client1. (correct answer)
  • BSelect Allow gateway transit on VNet1.
  • CSelect Allow gateway transit on VNet2.
  • DEnable BGP on VPNGW1
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Download and re-install the VPN client configuration package on Client1.

Topic 5 Β· Question 344

You have an Azure subscription that contains the resources in the following table. To which subnets can you apply NSG1?

  • Athe subnets on VNet1 only
  • Bthe subnets on VNet2 and VNet3 only
  • Cthe subnets on VNet2 only
  • Dthe subnets on VNet3 only (correct answer)
  • Ethe subnets on VNet1, VNet2, and VNet3
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: the subnets on VNet3 only.

Topic 5 Β· Question 347

You have an Azure web app named webapp1. You have a virtual network named VNET1 and an Azure virtual machine named VM1 that hosts a MySQL database. VM1 connects to VNET1. You need to ensure that webapp1 can access the data hosted on VM1. What should you do?

  • ADeploy an internal load balancer
  • BPeer VNET1 to another virtual network
  • CConnect webapp1 to VNET1 (correct answer)
  • DDeploy an Azure Application Gateway
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Connect webapp1 to VNET1.

Topic 5 Β· Question 348

You create an Azure VM named VM1 that runs Windows Server 2019. VM1 is configured as shown in the exhibit. (Click the Exhibit tab.) You need to enable Desired State Configuration for VM1. What should you do first?

  • AConnect to VM1.
  • BStart VM1. (correct answer)
  • CCapture a snapshot of VM1.
  • DConfigure a DNS name for VM1.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Start VM1.

Topic 5 Β· Question 349

You have five Azure virtual machines that run Windows Server 2016. The virtual machines are configured as web servers. You have an Azure load balancer named LB1 that provides load balancing services for the virtual machines. You need to ensure that visitors are serviced by the same web server for each request. What should you configure?

  • AFloating IP (direct server return) to Disabled
  • BSession persistence to None
  • CFloating IP (direct server return) to Enabled
  • DSession persistence to Client IP (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Session persistence to Client IP.

Topic 5 Β· Question 350

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 subscription that contains the following resources: β€’ A virtual network that has a subnet named Subnet1 β€’ Two network security groups (NSGs) named NSG-VM1 and NSG-Subnet1 β€’ A virtual machine named VM1 that has the required Windows Server configurations to allow Remote Desktop connections NSG-Subnet1 has the default inbound security rules only. NSG-VM1 has the default inbound security rules and the following custom inbound security rule: β€’ Priority: 100 β€’ Source: Any β€’ Source port range: * β€’ Destination: * β€’ Destination port range: 3389 β€’ Protocol: UDP β€’ Action: Allow VM1 has a public IP address and is connected to Subnet1. NSG-VM1 is associated to the network interface of VM1. NSG-Subnet1 is associated to Subnet1. You need to be able to establish Remote Desktop connections from the internet to VM1. Solution: You add an inbound security rule to NSG-Subnet1 that allows connections from the Any source to the *destination for port range 3389 and uses the TCP protocol. You remove NSG-VM1 from the network interface of VM1. Does this meet the goal?

  • AYes (correct answer)
  • BNo
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Yes.

Topic 5 Β· Question 351

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 subscription that contains the following resources: β€’ A virtual network that has a subnet named Subnet1 β€’ Two network security groups (NSGs) named NSG-VM1 and NSG-Subnet1 β€’ A virtual machine named VM1 that has the required Windows Server configurations to allow Remote Desktop connections NSG-Subnet1 has the default inbound security rules only. NSG-VM1 has the default inbound security rules and the following custom inbound security rule: β€’ Priority: 100 β€’ Source: Any β€’ Source port range: * β€’ Destination: * β€’ Destination port range: 3389 Protocol: UDP - β€’ Action: Allow VM1 has a public IP address and is connected to Subnet1. NSG-VM1 is associated to the network interface of VM1. NSG-Subnet1 is associated to Subnet1. You need to be able to establish Remote Desktop connections from the internet to VM1. Solution: You add an inbound security rule to NSG-Subnet1 that allows connections from the internet source to the VirtualNetwork destination for port range 3389 and uses the UDP protocol. Does this meet the goal?

  • AYes
  • BNo (correct answer)
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: No.

Topic 5 Β· Question 352

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 subscription that contains the following resources: β€’ A virtual network that has a subnet named Subnet1 β€’ Two network security groups (NSGs) named NSG-VM1 and NSG-Subnet1 β€’ A virtual machine named VM1 that has the required Windows Server configurations to allow Remote Desktop connections NSG-Subnet1 has the default inbound security rules only. NSG-VM1 has the default inbound security rules and the following custom inbound security rule: β€’ Priority: 100 β€’ Source: Any β€’ Source port range: * β€’ Destination: * β€’ Destination port range: 3389 β€’ Protocol: UDP β€’ Action: Allow VM1 has a public IP address and is connected to Subnet1. NSG-VM1 is associated to the network interface of VM1. NSG-Subnet1 is associated to Subnet1. You need to be able to establish Remote Desktop connections from the internet to VM1. Solution: You add an inbound security rule to NSG-Subnet1 and NSG-VM1 that allows connections from the internet source to the VirtualNetwork destination for port range 3389 and uses the TCP protocol. Does this meet the goal?

  • AYes (correct answer)
  • BNo
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Yes.

Topic 5 Β· Question 354

You have an Azure subscription that contains a virtual network named VNET1. VNET1 contains the subnets shown in the following table. Each virtual machine uses a static IP address. You need to create network security groups (NSGs) to meet following requirements: β€’ Allow web requests from the internet to VM3, VM4, VM5, and VM6. β€’ Allow all connections between VM1 and VM2. β€’ Allow Remote Desktop connections to VM1. β€’ Prevent all other network traffic to VNET1. What is the minimum number of NSGs you should create?

  • A1
  • B3 (correct answer)
  • C4
  • D12
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: 3.

Topic 5 Β· Question 355

You have an Azure subscription that contains the resources shown in the following table. The Not allowed resource types Azure policy that has policy enforcement enabled is assigned to RG1 and uses the following parameters: Microsoft.Network/virtualNetworks Microsoft.Compute/virtualMachines In RG1, you need to create a new virtual machine named VM2, and then connect VM2 to VNET1. What should you do first?

  • ARemove Microsoft.Compute/virtualMachines from the policy. (correct answer)
  • BCreate an Azure Resource Manager template
  • CAdd a subnet to VNET1.
  • DRemove Microsoft.Network/virtualNetworks from the policy.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Remove Microsoft.Compute/virtualMachines from the policy.

Topic 5 Β· Question 356

Your company has an Azure subscription named Subscription1. The company also has two on-premises servers named Server1 and Server2 that run Windows Server 2016. Server1 is configured as a DNS server that has a primary DNS zone named adatum.com. Adatum.com contains 1,000 DNS records. You manage Server1 and Subscription1 from Server2. Server2 has the following tools installed: β€’ The DNS Manager console β€’ Azure PowerShell β€’ Azure CLI 2.0 You need to move the adatum.com zone to an Azure DNS zone in Subscription1. The solution must minimize administrative effort. What should you use?

  • AAzure CLI (correct answer)
  • BAzure PowerShell
  • Cthe Azure portal
  • Dthe DNS Manager console
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Azure CLI.

Topic 5 Β· Question 357

You have a public load balancer that balances ports 80 and 443 across three virtual machines named VM1, VM2, and VM3. You need to direct all the Remote Desktop Protocol (RDP) connections to VM3 only. What should you configure?

  • Aan inbound NAT rule (correct answer)
  • Ba new public load balancer for VM3
  • Ca frontend IP configuration
  • Da load balancing rule
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: an inbound NAT rule.

Topic 5 Β· Question 361

You have an Azure subscription that contains the resources in the following table. VM1 and VM2 are deployed from the same template and host line-of-business applications. You configure the network security group (NSG) shown in the exhibit. (Click the Exhibit tab.) You need to prevent users of VM1 and VM2 from accessing websites on the Internet over TCP port 80. What should you do?

  • ADisassociate the NSG from a network interface
  • BChange the Port_80 inbound security rule.
  • CAssociate the NSG to Subnet1. (correct answer)
  • DChange the DenyWebSites outbound security rule.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Associate the NSG to Subnet1.

Explanation

A Network Security Group (NSG) applies allow/deny rules to control traffic at the subnet or NIC level.

Topic 5 Β· Question 362

You have two subscriptions named Subscription1 and Subscription2. Each subscription is associated to a different Azure AD tenant. Subscription1 contains a virtual network named VNet1. VNet1 contains an Azure virtual machine named VM1 and has an IP address space of 10.0.0.0/16. Subscription2 contains a virtual network named VNet2. VNet2 contains an Azure virtual machine named VM2 and has an IP address space of 10.10.0.0/24. You need to connect VNet1 to VNet2. What should you do first?

  • AMove VM1 to Subscription2.
  • BMove VNet1 to Subscription2.
  • CModify the IP address space of VNet2.
  • DProvision virtual network gateways. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Provision virtual network gateways.

Topic 5 Β· Question 363 Β· Select all that apply

You plan to create an Azure virtual machine named VM1 that will be configured as shown in the following exhibit. The planned disk configurations for VM1 are shown in the following exhibit. You need to ensure that VM1 can be created in an Availability Zone. Which two settings should you modify? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.

  • AUse managed disks (correct answer)
  • BOS disk type
  • CAvailability options (correct answer)
  • DSize
  • EImage
Reveal answer & explanation
Correct answer: A, C

The correct answer is A, C. Option A: Use managed disks Option C: Availability options

Explanation

Azure Managed Disks provide durable block storage for VMs and simplify disk management.

Showing questions 221–240 of 350 Β· Page 12 of 18