BlackFriday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft Exam AZ-400 Topic 1 Question 106 Discussion

Actual exam question for Microsoft's AZ-400 exam
Question #: 106
Topic #: 1
[All AZ-400 Questions]

SIMULATION

Task 7

You need to prepare a network security group (NSG) named az400 38443478 nsgl to host an Azure DevOps pipeline agent. The solution must allow only the required outbound port for Azure DevOps and deny all other inbound and outbound access to the Internet

Show Suggested Answer Hide Answer
Suggested Answer: A

To prepare a Network Security Group (NSG) named az400-38443478-nsg1 for hosting an Azure DevOps pipeline agent, while allowing only the required outbound port for Azure DevOps and denying all other inbound and outbound access to the Internet, follow these steps:

Create the NSG:

Navigate to the Azure Portal.

Go to Network Security Groups and click on + Create.

Fill in the details, including the name az400-38443478-nsg1, and create the NSG.

Configure Outbound Security Rules:

Once the NSG is created, go to its settings.

Navigate to Outbound security rules.

Click on + Add to create a new rule.

Set the Destination port ranges to 443, which is the required port for Azure DevOps12.

Set the Protocol to TCP.

Set the Action to Allow.

Assign a Priority number (e.g., 100) that does not conflict with existing rules.

Provide a meaningful Name for the rule (e.g., AllowAzureDevOps).

Configure Default Rules to Deny All Other Traffic:

In the same Outbound security rules section, edit the default rule to deny all traffic.

Change the Action to Deny for the rule with the lowest priority (highest number).

Ensure that this rule applies to all protocols, source and destination IP ranges, and port ranges.

Associate the NSG with the Appropriate Resource:

Associate the NSG with the subnet or network interface of the virtual machine or resource where the Azure DevOps pipeline agent will be hosted.

By following these steps, you will ensure that the Azure DevOps pipeline agent can communicate with Azure DevOps services over the required port while blocking all other inbound and outbound Internet access, adhering to the principle of least privilege and security best practices.


Contribute your Thoughts:

Corinne
28 days ago
Wait, we're actually supposed to secure the pipeline agent? I thought it was just for coffee breaks.
upvoted 0 times
Lenita
7 days ago
It's important to only allow the necessary outbound port for Azure DevOps and restrict other access.
upvoted 0 times
...
Mi
10 days ago
The solution involves creating a network security group to control the traffic flow.
upvoted 0 times
...
Haydee
14 days ago
Yes, we need to secure the pipeline agent to prevent unauthorized access.
upvoted 0 times
...
...
Barney
1 months ago
Easy peasy, this is exactly what I would have done. Gotta love those restrictive NSGs!
upvoted 0 times
...
Cecil
1 months ago
Looks good! Keeping that internet access locked down is key for security.
upvoted 0 times
Hildegarde
13 days ago
Kaitlyn: Absolutely, limiting outbound ports is crucial to prevent unauthorized access.
upvoted 0 times
...
Kaitlyn
17 days ago
Definitely, we have to make sure we only allow what's necessary for Azure DevOps.
upvoted 0 times
...
Nada
23 days ago
I agree, security is so important when setting up network access.
upvoted 0 times
...
...
Milly
1 months ago
Do you have any ideas on how to achieve the required configuration?
upvoted 0 times
...
Antonio
1 months ago
I agree, setting up network security groups can be tricky.
upvoted 0 times
...
Milly
1 months ago
I think this task is challenging.
upvoted 0 times
...

Save Cancel