ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 112 - AZ-720 discussion

Report
Export

A company has a pay-as-you-go subscription named Subl1.

The company has a virtual machine (VM) named VM1 in a subnet named Subnet1.

You create the following network security group (NSG) named NSG1 and associate it with Subnet1.

You observe that an application on VM1 is unable to send email to recipient outside the company You need to resolve the issue. What should you do?

A.
Configure the protocol for the NSG1 rule with priority of 100 to TCP.
Answers
A.
Configure the protocol for the NSG1 rule with priority of 100 to TCP.
B.
Configure the source and destination ports for the NSG1 rule with a priority of 100 to 587.
Answers
B.
Configure the source and destination ports for the NSG1 rule with a priority of 100 to 587.
C.
Migrate Sub1 to a cloud service provider subscription
Answers
C.
Migrate Sub1 to a cloud service provider subscription
D.
Remove the NSG1 rule with a priority of 2000.
Answers
D.
Remove the NSG1 rule with a priority of 2000.
E.
Assign NSG1 to the network interface on VM1.
Answers
E.
Assign NSG1 to the network interface on VM1.
Suggested answer: B

Explanation:

To resolve the issue where the application on VM1 is unable to send email to recipients outside the company, you should modify the NSG1 rule with a priority of 100 to allow outbound traffic on TCP port 587. The correct answer is therefore:

1. Configure the source and destination ports for the NSG1 rule with a priority of 100 to 587.

The NSG1 rule with priority 100 currently allows all outbound traffic (source: any, destination: any, protocol: any). To restrict the outbound traffic to only TCP port 587, modify the rule to use the following configuration:

Name: Allow_Outbound_Email

Priority: 100

Source: Any

Destination: Any

Protocol: TCP

Source Port Range: *

Destination Port Range: 587

Action: Allow

Once you have updated the NSG1 rule, the application on VM1 should be able to send email to recipients outside the company.

Reference: https://docs.microsoft.com/en-us/azure/virtual-network/manage-network-securitygroup#managing-rules-in-an-nsg

asked 02/10/2024
Franziska Kreuz
36 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first