πŸ”

AZ-104 β€” questions

Page 15 of 18 Β· 350 total questions.

Topic 5 Β· Question 428

You have an on-premises network. You have an Azure subscription that contains three virtual networks named VNET1. VNET2. and VNET3. The virtual networks are peered and connected to the on-premises network. The subscription contains the virtual machines shown in the following table. You need to monitor connectivity between the virtual machines and the on-premises network by using Connection Monitor. What is the minimum number of connection monitors you should deploy?

Exhibit 1 for question 428
  • A1
  • B2 (correct answer)
  • C3
  • D4
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: 2.

Topic 5 Β· Question 430

You have an Azure subscription that contains a storage account. The account stores website data. You need to ensure that inbound user traffic uses the Microsoft point-of-presence (POP) closest to the user's location. What should you configure?

  • Aprivate endpoints
  • BAzure Firewall rules
  • CRouting preference (correct answer)
  • Dload balancing
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Routing preference.

Topic 5 Β· Question 431

You have two Azure virtual machines named VM1 and VM2 that run Windows Server. The virtual machines are in a subnet named Subnet1. Subnet1 is in a virtual network named VNet1. You need to prevent VM1 from accessing VM2 on port 3389. What should you do?

  • ACreate a network security group (NSG) that has an outbound security rule to deny destination port 3389 and apply the NSG to the network interface of VM1. (correct answer)
  • BConfigure Azure Bastion in VNet1.
  • CCreate a network security group (NSG) that has an outbound security rule to deny source port 3389 and apply the NSG to Subnet1.
  • DCreate a network security group (NSG) that has an inbound security rule to deny source port 3389 and apply the NSG to Subnet1.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Create a network security group (NSG) that has an outbound security rule to deny destination port 3389 and apply the NSG to the network interface of VM1.

Explanation

A Network Security Group (NSG) filters inbound and outbound traffic to subnets and NICs with allow/deny rules. A Network Security Group (NSG) applies allow/deny rules to control traffic at the subnet or NIC level.

Topic 5 Β· Question 432

You have an Azure subscription that contains the resources shown in the following table. You need to manage outbound traffic from VNET1 by using Firewall1. What should you do first?

Exhibit 1 for question 432
  • AConfigure the Hybrid Connection Manager.
  • BUpgrade ASP1 to the Premium SKU.
  • CCreate a route table. (correct answer)
  • DCreate an Azure Network Watcher.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Create a route table.

Topic 5 Β· Question 433

You have an Azure subscription that contains the resources shown in the following table. All the resources connect to a virtual network named VNet1. You plan to deploy an Azure Bastion host named Bastion1 to VNet1. Which resources can be protected by using Bastion1?

Exhibit 1 for question 433
  • AVM1 only (correct answer)
  • Bcontoso.com only
  • CApp1 and contoso.com only
  • DVM1 and contoso.com only
  • EVM1, App1, and contoso.com
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: VM1 only.

Topic 5 Β· Question 434

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?

  • ASession persistence to None
  • Ba health probe
  • CSession persistence to Client IP and protocol (correct answer)
  • DIdle Time-out (minutes) to 20
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Session persistence to Client IP and protocol.

Topic 5 Β· Question 435

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?

  • Aa health probe
  • BFloating IP (direct server return) to Enabled
  • CSession persistence to Client IP and protocol (correct answer)
  • DProtocol to UDP
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Session persistence to Client IP and protocol.

Topic 5 Β· Question 436

You have an Azure subscription that contains 10 virtual machines and the resources shown in the following table. You need to ensure that Bastion1 can support 100 concurrent SSH users. The solution must minimize administrative effort. What should you do first?

Exhibit 1 for question 436
  • AResize the subnet of Bastion1
  • BConfigure host scaling.
  • CCreate a network security group (NSG)
  • DUpgrade Bastion1 to the Standard SKU (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Upgrade Bastion1 to the Standard SKU

Explanation

Azure Bastion provides secure RDP/SSH access to VMs through the portal without exposing public IPs.

Topic 5 Β· Question 437

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?

  • ASession persistence to Client IP and protocol (correct answer)
  • BProtocol to UDP
  • CSession persistence to None
  • DFloating IP (direct server return) to Disabled
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Session persistence to Client IP and protocol.

Topic 5 Β· Question 439

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 Enabled
  • BSession persistence to Client IP (correct answer)
  • CProtocol to UDP
  • DIdle Time-out (minutes) to 20
Reveal answer & explanation
Correct answer: B

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

Topic 5 Β· Question 440

You have an Azure subscription that has the public IP addresses shown in the following table. You plan to deploy an Azure Bastion Basic SKU host named Bastion1. Which IP addresses can you use?

Exhibit 1 for question 440
  • AIP1 only (correct answer)
  • BIP1 and IP2 only
  • CIP3, IP4, and IP5 only
  • DIP1, IP2, IP4, and IP5 only
  • EIP1, IP2, IP3, IP4, and IP5
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: IP1 only.

Topic 5 Β· Question 441

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
  • BFloating IP (direct server return) to Enabled
  • Ca health probe
  • 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 442

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 Enabled
  • BIdle Time-out (minutes) to 20
  • Ca health probe
  • 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 443

You have two Azure subscriptions named Sub1 and Sub2. Sub1 contains a virtual machine named VM1 and a storage account named storage1. VM1 is associated to the resources shown in the following table. You need to move VM1 to Sub2. Which resources should you move to Sub2?

Exhibit 1 for question 443
  • AVM1, Disk1, and NetInt1 only
  • BVM1, Disk1, and VNet1 only
  • CVM1, Disk1, and storage1 only
  • DVM1, Disk1, NetInt1, and VNet1 (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: VM1, Disk1, NetInt1, and VNet1.

Topic 5 Β· Question 444

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?

  • ASession persistence to Client IP and protocol (correct answer)
  • BIdle Time-out (minutes) to 20
  • CSession persistence to None
  • DFloating IP (direct server return) to Enabled
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Session persistence to Client IP and protocol.

Topic 5 Β· Question 445

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
  • BIdle Time-out (minutes) to 20
  • Ca health probe
  • 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 446

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?

  • ASession persistence to Client IP (correct answer)
  • BIdle Time-out (minutes) to 20
  • CSession persistence to None
  • DProtocol to UDP
Reveal answer & explanation
Correct answer: A

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

Topic 5 Β· Question 447

You have an Azure subscription. You create a routing table named RT1. You need to add a route to RT1 that specifies the next hop IP address. Which next hop type should you select?

  • AInternet
  • BVirtual network gateway
  • CVirtual network
  • DVirtual appliance (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Virtual appliance.

Topic 5 Β· Question 448

You have two Azure subscriptions named Sub1 and Sub2 that are linked to separate Microsoft Entra tenants. You have the virtual networks shown in the following table. Which virtual networks can you peer with VNet1?

Exhibit 1 for question 448
  • AVNet2 only
  • BVNet2 and VNet3 only
  • CVNet2 and VNet4 only
  • DVNet2, VNet3, and VNet4 only
  • EVNet2, VNet3, VNet4, and VNet5 (correct answer)
Reveal answer & explanation
Correct answer: E

The correct answer is E. Option E: VNet2, VNet3, VNet4, and VNet5.

Topic 5 Β· Question 449

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 app named App1 that is installed on two Azure virtual machines named VM1 and VM2. Connections to App1 are managed by using an Azure Load Balancer. The effective network security configurations for VM2 are shown in the following exhibit. You discover that connections to App1 from 131.107.100.50 over TCP port 443 fail. You verify that the Load Balancer rules are configured correctly. You need to ensure that connections to App1 can be established successfully from 131.107.100.50 over TCP port 443. Solution: You create an inbound security rule that allows any traffic from the AzureLoadBalancer source and has a priority of 150. Does this meet the goal?

Exhibit 1 for question 449
  • AYes (correct answer)
  • BNo
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Yes.

Showing questions 281–300 of 350 Β· Page 15 of 18