Pass Your Microsoft AZ-104 Exam Easy!

Microsoft AZ-104 Exam Questions & Answers, Accurate & Verified By IT Experts

Instant Download, Free Fast Updates, 99.6% Pass Rate

AZ-104 Premium Bundle

$79.99

Microsoft AZ-104 Premium Bundle

AZ-104 Premium File: 606 Questions & Answers

Last Update: Sep 24, 2026

AZ-104 Training Course: 132 Video Lectures

AZ-104 PDF Study Guide: 458 Pages

AZ-104 Bundle gives you unlimited access to "AZ-104" files. However, this does not replace the need for a .vce exam simulator. To download VCE exam simulator click here
Microsoft AZ-104 Premium Bundle
Microsoft AZ-104 Premium Bundle

AZ-104 Premium File: 606 Questions & Answers

Last Update: Sep 24, 2026

AZ-104 Training Course: 132 Video Lectures

AZ-104 PDF Study Guide: 458 Pages

$79.99

AZ-104 Bundle gives you unlimited access to "AZ-104" files. However, this does not replace the need for a .vce exam simulator. To download your .vce exam simulator click here

Microsoft AZ-104 Practice Test 38

Question 370

Both subnet and NIC NSGs apply to a VM. Which effective protection must a new rule account for?

  1. The lower-priority-number deny rule wins when its tuple matches
  2. Correct the NIC's ASG association and verify rule scope
  3. Evaluate both applied NSGs and their combined allow/deny outcome
  4. Read only the NIC-level effective security rules and treat a permit there as overriding a deny in the attached subnet NSG.

Explanation

Correct Answer

C:

'Evaluate both applied NSGs and their combined allow/deny outcome' fits the case in which both subnet and NIC NSGs apply to a VM because traffic must satisfy relevant security checks at each applicable network boundary. By contrast, 'The lower-priority-number deny rule wins when its tuple matches' addresses a different condition: Azure NSGs evaluate matching rules in ascending priority; a broad later allow cannot override an earlier deny; it would not establish the outcome needed for this particular Azure resource. For 'Evaluate both applied NSGs and their combined allow/deny outcome', confirm the supported prerequisites and authorized scope, then verify the observed service behavior before describing the change as complete.

Incorrect Answers

A:

'The lower-priority-number deny rule wins when its tuple matches' applies to a different feature boundary because Azure NSGs evaluate matching rules in ascending priority; a broad later allow cannot override an earlier deny. In the stated scenario where both subnet and NIC NSGs apply to a VM, 'The lower-priority-number deny rule wins when its tuple matches' does not satisfy the mechanism that traffic must satisfy relevant security checks at each applicable network boundary. The necessary action is 'Evaluate both applied NSGs and their combined allow/deny outcome', which should be checked against this Azure resource's actual permissions and state.

B:

The nearby action 'Correct the NIC's ASG association and verify rule scope' is associated with this separate need: an application security group name was added to an NSG rule but one backend NIC isn't a member. That is because nSGs match eligible NIC group membership, not merely a similarly named application tag. Here both subnet and NIC NSGs apply to a VM, so 'Correct the NIC's ASG association and verify rule scope' misses the fact that traffic must satisfy relevant security checks at each applicable network boundary. 'Evaluate both applied NSGs and their combined allow/deny outcome' is the more defensible action; confirm its behavior in the target service before calling the task complete.

D:

When both a subnet NSG and a network-interface NSG apply, a connection must pass the applicable rules at both scopes for its direction. An allow on the NIC does not erase a matching deny on the subnet, and the reverse can also fail. The scenario explicitly says both NSGs are attached, so inspecting only one level gives an incomplete access decision. Evaluate the same source/destination address, protocol, and port tuple through both effective rule sets before adding a rule or declaring the VM protected.

Question 371

A lab NSG permits Any source to Any destination on Any port, contrary to the app's limited needs. What should replace it?

  1. The lower-priority-number deny rule wins when its tuple matches
  2. Match the correct destination port and leave client source port appropriately broad
  3. Use narrowly scoped source, destination, protocol and port rules
  4. Review outbound NSG rules and the flow's direction-specific tuple

Explanation

Correct Answer

C:

'Use narrowly scoped source, destination, protocol and port rules' fits the case in which a lab NSG permits Any source to Any destination on Any port, contrary to the app's limited needs because broad Any-to-Any rules violate least privilege and expand reachability. By contrast, 'The lower-priority-number deny rule wins when its tuple matches' addresses a different condition: Azure NSGs evaluate matching rules in ascending priority; a broad later allow cannot override an earlier deny; it would not establish the outcome needed for this particular Azure resource. For 'Use narrowly scoped source, destination, protocol and port rules', confirm the supported prerequisites and authorized scope, then verify the observed service behavior before describing the change as complete.

Incorrect Answers

A:

The nearby action 'The lower-priority-number deny rule wins when its tuple matches' is associated with this separate need: two inbound NSG rules exist: broad Allow priority 200 and narrow Deny priority 100. That is because Azure NSGs evaluate matching rules in ascending priority; a broad later allow cannot override an earlier deny. Here a lab NSG permits Any source to Any destination on Any port, contrary to the app's limited needs, so 'The lower-priority-number deny rule wins when its tuple matches' misses the fact that broad Any-to-Any rules violate least privilege and expand reachability. 'Use narrowly scoped source, destination, protocol and port rules' is the more defensible action; confirm its behavior in the target service before calling the task complete.

B:

'Match the correct destination port and leave client source port appropriately broad' solves another task because client source ports are usually ephemeral; confusing source/destination fields prevents intended connections. For the situation where a lab NSG permits Any source to Any destination on Any port, contrary to the app's limited needs, this distractor misses the requirement that broad Any-to-Any rules violate least privilege and expand reachability. Unlike 'Match the correct destination port and leave client source port appropriately broad', 'Use narrowly scoped source, destination, protocol and port rules' directly targets that requirement; its success must be confirmed at the authorized resource scope.

D:

'Review outbound NSG rules and the flow's direction-specific tuple' applies to a different feature boundary because inbound allow is not general permission for new outbound connections. In the stated scenario where a lab NSG permits Any source to Any destination on Any port, contrary to the app's limited needs, 'Review outbound NSG rules and the flow's direction-specific tuple' does not satisfy the mechanism that broad Any-to-Any rules violate least privilege and expand reachability. The necessary action is 'Use narrowly scoped source, destination, protocol and port rules', which should be checked against this Azure resource's actual permissions and state.

Question 372

A public frontend should contact only one backend service on TCP 8443. What NSG rule is appropriate?

  1. The lower-priority-number deny rule wins when its tuple matches
  2. Correct source/destination addresses, ports and protocol for actual packet direction
  3. Trace effective subnet and NIC security rules for the same five-tuple
  4. Review outbound NSG rules and the flow's direction-specific tuple
  5. Allow the frontend ASG or subnet to the backend on required TCP 8443 only

Explanation

Correct Answer

E:

'Allow the frontend ASG or subnet to the backend on required TCP 8443 only' fits the case in which a public frontend should contact only one backend service on TCP 8443 because a constrained five-tuple protects the backend without an unnecessary global service allow. By contrast, 'The lower-priority-number deny rule wins when its tuple matches' addresses a different condition: Azure NSGs evaluate matching rules in ascending priority; a broad later allow cannot override an earlier deny; it would not establish the outcome needed for this particular Azure resource. For 'Allow the frontend ASG or subnet to the backend on required TCP 8443 only', confirm the supported prerequisites and authorized scope, then verify the observed service behavior before describing the change as complete.

Incorrect Answers

A:

'The lower-priority-number deny rule wins when its tuple matches' solves another task because Azure NSGs evaluate matching rules in ascending priority; a broad later allow cannot override an earlier deny. For the situation where a public frontend should contact only one backend service on TCP 8443, this distractor misses the requirement that a constrained five-tuple protects the backend without an unnecessary global service allow. Unlike 'The lower-priority-number deny rule wins when its tuple matches', 'Allow the frontend ASG or subnet to the backend on required TCP 8443 only' directly targets that requirement; its success must be confirmed at the authorized resource scope.

B:

When an engineer writes a five-tuple NSG rule but swaps source prefix and destination prefix, the action 'Correct source/destination addresses, ports and protocol for actual packet direction' can be relevant: NSG rule matching depends on each field in the connection tuple. For the different problem of a public frontend should contact only one backend service on TCP 8443, 'Correct source/destination addresses, ports and protocol for actual packet direction' misses the mechanism that a constrained five-tuple protects the backend without an unnecessary global service allow. Choosing 'Correct source/destination addresses, ports and protocol for actual packet direction' would address that other need, whereas 'Allow the frontend ASG or subnet to the backend on required TCP 8443 only' is intended to solve the stated condition.

C:

'Trace effective subnet and NIC security rules for the same five-tuple' applies to a different feature boundary because a subnet allow cannot force a separately applicable NIC-level deny to permit traffic. In the stated scenario where a public frontend should contact only one backend service on TCP 8443, 'Trace effective subnet and NIC security rules for the same five-tuple' does not satisfy the mechanism that a constrained five-tuple protects the backend without an unnecessary global service allow. The necessary action is 'Allow the frontend ASG or subnet to the backend on required TCP 8443 only', which should be checked against this Azure resource's actual permissions and state.

D:

The nearby action 'Review outbound NSG rules and the flow's direction-specific tuple' is associated with this separate need: a VM can accept inbound HTTPS but cannot initiate a connection to a remote API. That is because inbound allow is not general permission for new outbound connections. Here a public frontend should contact only one backend service on TCP 8443, so 'Review outbound NSG rules and the flow's direction-specific tuple' misses the fact that a constrained five-tuple protects the backend without an unnecessary global service allow. 'Allow the frontend ASG or subnet to the backend on required TCP 8443 only' is the more defensible action; confirm its behavior in the target service before calling the task complete.

Question 373

A team uses NSG rules but wants to block HTTP requests containing malicious URLs. Which service layer is needed?

  1. The lower-priority-number deny rule wins when its tuple matches
  2. Use application security groups in supported NSG source/destination rules
  3. Use a supported WAF or application-layer firewall for HTTP inspection
  4. Review outbound NSG rules and the flow's direction-specific tuple

Explanation

Correct Answer

C:

'Use a supported WAF or application-layer firewall for HTTP inspection' fits the case in which a team uses NSG rules but wants to block HTTP requests containing malicious URLs because nSGs mainly filter network tuples, not request paths and application payload patterns. By contrast, 'The lower-priority-number deny rule wins when its tuple matches' addresses a different condition: Azure NSGs evaluate matching rules in ascending priority; a broad later allow cannot override an earlier deny; it would not establish the outcome needed for this particular Azure resource. For 'Use a supported WAF or application-layer firewall for HTTP inspection', confirm the supported prerequisites and authorized scope, then verify the observed service behavior before describing the change as complete.

Incorrect Answers

A:

When two inbound NSG rules exist: broad Allow priority 200 and narrow Deny priority 100, the action 'The lower-priority-number deny rule wins when its tuple matches' can be relevant: Azure NSGs evaluate matching rules in ascending priority; a broad later allow cannot override an earlier deny. For the different problem of a team uses NSG rules but wants to block HTTP requests containing malicious URLs, 'The lower-priority-number deny rule wins when its tuple matches' misses the mechanism that nSGs mainly filter network tuples, not request paths and application payload patterns. Choosing 'The lower-priority-number deny rule wins when its tuple matches' would address that other need, whereas 'Use a supported WAF or application-layer firewall for HTTP inspection' is intended to solve the stated condition.

B:

'Use application security groups in supported NSG source/destination rules' applies to a different feature boundary because aSGs group eligible NICs for rule matching instead of static address lists. In the stated scenario where a team uses NSG rules but wants to block HTTP requests containing malicious URLs, 'Use application security groups in supported NSG source/destination rules' does not satisfy the mechanism that nSGs mainly filter network tuples, not request paths and application payload patterns. The necessary action is 'Use a supported WAF or application-layer firewall for HTTP inspection', which should be checked against this Azure resource's actual permissions and state.

D:

'Review outbound NSG rules and the flow's direction-specific tuple' solves another task because inbound allow is not general permission for new outbound connections. For the situation where a team uses NSG rules but wants to block HTTP requests containing malicious URLs, this distractor misses the requirement that nSGs mainly filter network tuples, not request paths and application payload patterns. Unlike 'Review outbound NSG rules and the flow's direction-specific tuple', 'Use a supported WAF or application-layer firewall for HTTP inspection' directly targets that requirement; its success must be confirmed at the authorized resource scope.

Question 374

An NSG deny appears at the NIC even though the subnet allow exists. How should the packet path be reviewed (Select TWO distinct actions.)

  1. Delete the subnet NSG without inspecting the NIC NSG
  2. Disable NSG logging before troubleshooting the denied connection
  3. Assume an allow at the subnet automatically overrides a deny on the NIC
  4. Inspect the effective subnet NSG rules for the blocked flow
  5. Inspect the effective network-interface NSG rules for the same flow
  6. Raise VM vCPU quota to resolve a denied TCP port

Explanation

Correct Answers

D:

'Inspect the effective subnet NSG rules for the blocked flow' fits the case in which an NSG deny appears at the NIC even though the subnet allow exists because subnet NSG filtering is one separate point in the VM packet path. By contrast, 'Delete the subnet NSG without inspecting the NIC NSG' addresses a different condition: the second applicable NSG can still deny the same flow, so this is not diagnostic; it would not establish the outcome needed for this particular Azure resource. For 'Inspect the effective subnet NSG rules for the blocked flow', confirm the supported prerequisites and authorized scope, then verify the observed service behavior before describing the change as complete.

E:

'Inspect the effective network-interface NSG rules for the same flow' fits the case in which an NSG deny appears at the NIC even though the subnet allow exists because a NIC NSG can block traffic even after the subnet-level policy permits it. By contrast, 'Disable NSG logging before troubleshooting the denied connection' addresses a different condition: removing security evidence neither permits the flow nor identifies the rule blocking it; it would not establish the outcome needed for this particular Azure resource. For 'Inspect the effective network-interface NSG rules for the same flow', confirm the supported prerequisites and authorized scope, then verify the observed service behavior before describing the change as complete.

Incorrect Answers

A:

'Delete the subnet NSG without inspecting the NIC NSG' fails the stated scenario where an NSG deny appears at the NIC even though the subnet allow exists because the second applicable NSG can still deny the same flow, so this is not diagnostic. The required multi-part resolution instead needs a subnet allow cannot force a separately applicable NIC-level deny to permit traffic, which 'Delete the subnet NSG without inspecting the NIC NSG' does not establish. Do not count 'Delete the subnet NSG without inspecting the NIC NSG' among the mandatory actions; confirm the specific service's effective permissions, network path, or deployment result before treating the design as complete.

B:

'Disable NSG logging before troubleshooting the denied connection' fails the stated scenario where an NSG deny appears at the NIC even though the subnet allow exists because removing security evidence neither permits the flow nor identifies the rule blocking it. The required multi-part resolution instead needs a subnet allow cannot force a separately applicable NIC-level deny to permit traffic, which 'Disable NSG logging before troubleshooting the denied connection' does not establish. Do not count 'Disable NSG logging before troubleshooting the denied connection' among the mandatory actions; confirm the specific service's effective permissions, network path, or deployment result before treating the design as complete.

C:

'Assume an allow at the subnet automatically overrides a deny on the NIC' fails the stated scenario where an NSG deny appears at the NIC even though the subnet allow exists because traffic must satisfy both relevant security boundaries where both NSGs apply. The required multi-part resolution instead needs a subnet allow cannot force a separately applicable NIC-level deny to permit traffic, which 'Assume an allow at the subnet automatically overrides a deny on the NIC' does not establish. Do not count 'Assume an allow at the subnet automatically overrides a deny on the NIC' among the mandatory actions; confirm the specific service's effective permissions, network path, or deployment result before treating the design as complete.

F:

'Raise VM vCPU quota to resolve a denied TCP port' fails the stated scenario where an NSG deny appears at the NIC even though the subnet allow exists because compute quota cannot alter NSG packet filtering decisions. The required multi-part resolution instead needs a subnet allow cannot force a separately applicable NIC-level deny to permit traffic, which 'Raise VM vCPU quota to resolve a denied TCP port' does not establish. Do not count 'Raise VM vCPU quota to resolve a denied TCP port' among the mandatory actions; confirm the specific service's effective permissions, network path, or deployment result before treating the design as complete.

Question 375

A new custom NSG allow should supersede a broad default deny. What matters?

  1. Create an allow rule with the correct ports but a priority number evaluated after the matching deny rule
  2. Use a valid custom rule with higher evaluation priority and the correct tuple
  3. The lower-priority-number deny rule wins when its tuple matches
  4. Trace effective subnet and NIC security rules for the same five-tuple
  5. Compare only the rule priority values while ignoring whether the rule source, destination and ports match the packet

Explanation

Correct Answer

B:

Azure network security groups evaluate matching rules according to priority, with a lower numeric priority evaluated before higher numbers and default rules applied after relevant custom rules. A custom allow therefore needs an appropriate priority AND source, destination, protocol, port and direction that match the actual packet. An allow rule placed after a matching deny will not override the deny. Likewise, a high-priority allow with an incorrect tuple is never selected for the traffic. Check effective subnet and NIC rules for the actual flow and verify that the intended allow precedes any applicable deny without unnecessarily opening unrelated traffic.

Incorrect Answers

A:

Azure NSG rules use their priority and matching five-tuple to decide which rule applies first. A custom allow that matches the requested flow but is evaluated after a deny will not permit the traffic. The administrator must choose an appropriate higher-priority rule and verify source, destination, protocol and ports. Correct match conditions alone cannot override a deny that is processed first.

C:

When two inbound NSG rules exist: broad Allow priority 200 and narrow Deny priority 100, the action 'The lower-priority-number deny rule wins when its tuple matches' can be relevant: Azure NSGs evaluate matching rules in ascending priority; a broad later allow cannot override an earlier deny. For the different problem of a new custom NSG allow should supersede a broad default deny, 'The lower-priority-number deny rule wins when its tuple matches' misses the mechanism that built-in default rules apply only after more specific custom rules that match first. Choosing 'The lower-priority-number deny rule wins when its tuple matches' would address that other need, whereas 'Use a valid custom rule with higher evaluation priority and the correct tuple' is intended to solve the stated condition.

D:

'Trace effective subnet and NIC security rules for the same five-tuple' applies to a different feature boundary because a subnet allow cannot force a separately applicable NIC-level deny to permit traffic. In the stated scenario where a new custom NSG allow should supersede a broad default deny, 'Trace effective subnet and NIC security rules for the same five-tuple' does not satisfy the mechanism that built-in default rules apply only after more specific custom rules that match first. The necessary action is 'Use a valid custom rule with higher evaluation priority and the correct tuple', which should be checked against this Azure resource's actual permissions and state.

E:

An NSG rule can have a numerically higher evaluation priority yet be irrelevant if its tuple does not match the actual flow. The requirement is an allow that supersedes a broad deny for the intended traffic, which needs both appropriate priority and correct match conditions. Looking only at the numbers can misdiagnose the reason packets are blocked and risks creating a rule with unintended access.

Question 376

An Azure NSG has an inbound Allow rule for TCP 443 from `10.0.0.0/24` with priority 250 and a broad inbound Deny for TCP 443 from any source with priority 300. A packet arrives from `10.0.0.5` on TCP 443. Which evaluation determines the result?

  1. Change the packet source IP to a different subnet to decide which rule previously matched.
  2. Always prefer Deny over Allow regardless of rule priority when both rules could match.
  3. Match the packet tuple and apply the numerically lowest-priority-number matching rule: Allow 250 wins for this packet.
  4. Create a new Allow at priority 400 and expect it to override both earlier matching rules.

Explanation

Correct Answer

C:

Azure NSGs examine applicable inbound rules in ascending order of priority number and stop when a rule matches the traffic five-tuple, including source and destination, protocol and ports. The packet source 10.0.0.5 belongs to the Allow rule's 10.0.0.0/24 source prefix, and its TCP 443 destination also matches. That Allow at priority 250 is evaluated before the broader Deny at 300 and therefore allows the packet through this NSG. Other NSGs, routes and application listeners may still constrain the end-to-end connection, but they do not change which of these two NSG rules wins.

Incorrect Answers

A:

Changing a packet or rule condition would test a different connection rather than evaluate the given traffic. The current source `10.0.0.5` lies within `10.0.0.0/24`, and TCP 443 matches both listed inbound rules. Azure NSGs process applicable rules by ascending numerical priority until the first match. For this specified packet, Allow 250 is encountered before Deny 300. Altering the input does not answer which existing rule determines the stated request.

B:

NSG rules are not evaluated by a blanket principle that Deny always overrides Allow. The decisive facts are the traffic five-tuple and numeric priority ordering, where a smaller number has higher precedence. In this case the packet matches an Allow at 250 before reaching the Deny at 300. Treating Deny as absolute would incorrectly predict a block; it would not describe the Azure NSG first-matching-rule evaluation model for these exact rules.

D:

Priority number 400 is evaluated after both the existing Allow 250 and Deny 300, not before them. Adding a later rule cannot override a first-match decision that has already been made for a packet matching an earlier rule. The existing Allow 250 already determines this source's NSG disposition. If policy requires a different result, the administrator must change an appropriate earlier matching rule or its priority, not append a lower-precedence Allow and assume it will take effect.

Question 377

An Azure VM initiated a TCP connection that is already permitted and established through its NSG. A team proposes adding a separate inbound NSG allow rule solely for reply packets from that same connection. Which NSG behavior determines whether this is necessary?

  1. Review the unrelated outbound rule list but assume replies always require a new inbound allow
  2. Check effective security rules without accounting for existing tracked connection state
  3. Use NSG stateful connection tracking: replies to the established permitted flow do not require a separate inbound allow rule
  4. Swap source and destination prefixes in the original outbound allow rule to admit replies

Explanation

Correct Answer

C:

Azure network security groups are stateful: when a permitted TCP connection is established, the platform maintains a flow record. Replies that belong to the same allowed connection are permitted even if there is no separately written inbound rule for the reversed five-tuple. The VM in this scenario has already initiated an authorized connection, so another inbound NSG allow solely for its return traffic is unnecessary. This does not authorize a new inbound connection initiated by a remote host; that would require its own applicable inbound permit. An observed packet loss still warrants inspection of the host firewall, route/NAT path and application, rather than assuming NSG statefulness is failing.

Incorrect Answers

A:

Outbound NSG rules govern new flows initiated from the VM, and confirming the original outbound allow can be useful if a new connection fails. Here, however, the connection is already established and permitted, and the question asks only whether another inbound allow is required for its return packets. Azure network security groups keep flow records and are stateful; return traffic belonging to the allowed flow is permitted without a new reversed rule. Reviewing the same outbound rule and assuming an inbound reply allow is required misses that stateful behavior. If an actual response fails, investigate the host firewall, application and other path controls separately.

B:

Effective-rule inspection and tools such as IP flow verify are useful when diagnosing a genuinely blocked new connection, but they do not themselves explain why reply packets for a currently established permitted flow need no separate inbound ACL entry. The question states the TCP flow has already been allowed, so the decisive feature is the NSG flow record. State tracking associates return packets with that existing flow and permits them without an additional inbound authorization. If symptoms persist despite that, gather evidence at the guest operating system, listener, NAT or intermediate network devices instead of automatically adding a broad reverse allow rule.

D:

Reversing the source and destination address prefixes in an outbound NSG rule changes the match for new outbound traffic; it is not the correct way to admit response packets belonging to an existing permitted TCP connection. NSG stateful flow tracking already provides that reverse direction for the established flow. An incorrectly broad reversed rule could also grant access that was not part of the original requirement or fail to match the intended direction. Treat a new inbound session and a response to an outbound session as different authorization events, and inspect evidence from the actual flow before changing network policy.

Question 378

An engineer writes a five-tuple NSG rule but swaps source prefix and destination prefix. What should be reviewed?

  1. Use application security groups in supported NSG source/destination rules
  2. Correct the NIC's ASG association and verify rule scope
  3. Match the correct destination port and leave client source port appropriately broad
  4. Correct source/destination addresses, ports and protocol for actual packet direction

Explanation

Correct Answer

D:

'Correct source/destination addresses, ports and protocol for actual packet direction' fits the case in which an engineer writes a five-tuple NSG rule but swaps source prefix and destination prefix because NSG rule matching depends on each field in the connection tuple. By contrast, 'Use application security groups in supported NSG source/destination rules' addresses a different condition: aSGs group eligible NICs for rule matching instead of static address lists; it would not establish the outcome needed for this particular Azure resource. For 'Correct source/destination addresses, ports and protocol for actual packet direction', confirm the supported prerequisites and authorized scope, then verify the observed service behavior before describing the change as complete.

Incorrect Answers

A:

'Use application security groups in supported NSG source/destination rules' applies to a different feature boundary because aSGs group eligible NICs for rule matching instead of static address lists. In the stated scenario where an engineer writes a five-tuple NSG rule but swaps source prefix and destination prefix, 'Use application security groups in supported NSG source/destination rules' does not satisfy the mechanism that NSG rule matching depends on each field in the connection tuple. The necessary action is 'Correct source/destination addresses, ports and protocol for actual packet direction', which should be checked against this Azure resource's actual permissions and state.

B:

The nearby action 'Correct the NIC's ASG association and verify rule scope' is associated with this separate need: an application security group name was added to an NSG rule but one backend NIC isn't a member. That is because nSGs match eligible NIC group membership, not merely a similarly named application tag. Here an engineer writes a five-tuple NSG rule but swaps source prefix and destination prefix, so 'Correct the NIC's ASG association and verify rule scope' misses the fact that NSG rule matching depends on each field in the connection tuple. 'Correct source/destination addresses, ports and protocol for actual packet direction' is the more defensible action; confirm its behavior in the target service before calling the task complete.

C:

'Match the correct destination port and leave client source port appropriately broad' solves another task because client source ports are usually ephemeral; confusing source/destination fields prevents intended connections. For the situation where an engineer writes a five-tuple NSG rule but swaps source prefix and destination prefix, this distractor misses the requirement that NSG rule matching depends on each field in the connection tuple. Unlike 'Match the correct destination port and leave client source port appropriately broad', 'Correct source/destination addresses, ports and protocol for actual packet direction' directly targets that requirement; its success must be confirmed at the authorized resource scope.

Question 379

An application security group name was added to an NSG rule but one backend NIC isn't a member. What is the likely problem?

  1. Trace effective subnet and NIC security rules for the same five-tuple
  2. Correct source/destination addresses, ports and protocol for actual packet direction
  3. Evaluate both applied NSGs and their combined allow/deny outcome
  4. Correct the NIC's ASG association and verify rule scope

Explanation

Correct Answer

D:

'Correct the NIC's ASG association and verify rule scope' fits the case in which an application security group name was added to an NSG rule but one backend NIC isn't a member because nSGs match eligible NIC group membership, not merely a similarly named application tag. By contrast, 'Trace effective subnet and NIC security rules for the same five-tuple' addresses a different condition: a subnet allow cannot force a separately applicable NIC-level deny to permit traffic; it would not establish the outcome needed for this particular Azure resource. For 'Correct the NIC's ASG association and verify rule scope', confirm the supported prerequisites and authorized scope, then verify the observed service behavior before describing the change as complete.

Incorrect Answers

A:

The nearby action 'Trace effective subnet and NIC security rules for the same five-tuple' is associated with this separate need: an NSG deny appears at the NIC even though the subnet allow exists. That is because a subnet allow cannot force a separately applicable NIC-level deny to permit traffic. Here an application security group name was added to an NSG rule but one backend NIC isn't a member, so 'Trace effective subnet and NIC security rules for the same five-tuple' misses the fact that nSGs match eligible NIC group membership, not merely a similarly named application tag. 'Correct the NIC's ASG association and verify rule scope' is the more defensible action; confirm its behavior in the target service before calling the task complete.

B:

'Correct source/destination addresses, ports and protocol for actual packet direction' solves another task because NSG rule matching depends on each field in the connection tuple. For the situation where an application security group name was added to an NSG rule but one backend NIC isn't a member, this distractor misses the requirement that nSGs match eligible NIC group membership, not merely a similarly named application tag. Unlike 'Correct source/destination addresses, ports and protocol for actual packet direction', 'Correct the NIC's ASG association and verify rule scope' directly targets that requirement; its success must be confirmed at the authorized resource scope.

C:

When both subnet and NIC NSGs apply to a VM, the action 'Evaluate both applied NSGs and their combined allow/deny outcome' can be relevant: traffic must satisfy relevant security checks at each applicable network boundary. For the different problem of an application security group name was added to an NSG rule but one backend NIC isn't a member, 'Evaluate both applied NSGs and their combined allow/deny outcome' misses the mechanism that nSGs match eligible NIC group membership, not merely a similarly named application tag. Choosing 'Evaluate both applied NSGs and their combined allow/deny outcome' would address that other need, whereas 'Correct the NIC's ASG association and verify rule scope' is intended to solve the stated condition.

Question 380

Before deleting a suspicious NSG deny, the operator wants objective evidence of which rule blocks a test connection. Which diagnostic fits?

  1. Inspect effective security rules or Network Watcher IP flow verify
  2. Account for NSG stateful flow tracking for permitted connections
  3. Sort NSG rule priority numbers alone without matching the actual packet source, destination, protocol and ports to the effective rule set.
  4. Use a valid custom rule with higher evaluation priority and the correct tuple

Explanation

Correct Answer

A:

'Inspect effective security rules or Network Watcher IP flow verify' fits the case in which before deleting a suspicious NSG deny, the operator wants objective evidence of which rule blocks a test connection because effective-rule tooling identifies matched rules; wholesale deletion is premature. By contrast, 'Account for NSG stateful flow tracking for permitted connections' addresses a different condition: allowed established flows normally permit return traffic without a separate inverse rule; it would not establish the outcome needed for this particular Azure resource. For 'Inspect effective security rules or Network Watcher IP flow verify', confirm the supported prerequisites and authorized scope, then verify the observed service behavior before describing the change as complete.

Incorrect Answers

B:

When a response packet is blocked according to a team that already allowed the original outbound TCP connection, the action 'Account for NSG stateful flow tracking for permitted connections' can be relevant: allowed established flows normally permit return traffic without a separate inverse rule. For the different problem of before deleting a suspicious NSG deny, the operator wants objective evidence of which rule blocks a test connection, 'Account for NSG stateful flow tracking for permitted connections' misses the mechanism that effective-rule tooling identifies matched rules; wholesale deletion is premature. Choosing 'Account for NSG stateful flow tracking for permitted connections' would address that other need, whereas 'Inspect effective security rules or Network Watcher IP flow verify' is intended to solve the stated condition.

C:

Azure NSG rules are evaluated by priority among rules whose direction, addresses, protocol and port ranges match the packet. The lowest number is not proof of a block if the rule does not match the test flow. The operator needs objective evidence of the particular denying rule before changing a security control. Network Watcher IP flow verify and effective security-rule inspection can evaluate the real five-tuple and relevant subnet/NIC policy. A priority-only list can point to the wrong rule and encourage an unnecessary or unsafe deletion.

D:

The nearby action 'Use a valid custom rule with higher evaluation priority and the correct tuple' is associated with this separate need: a new custom NSG allow should supersede a broad default deny. That is because built-in default rules apply only after more specific custom rules that match first. Here before deleting a suspicious NSG deny, the operator wants objective evidence of which rule blocks a test connection, so 'Use a valid custom rule with higher evaluation priority and the correct tuple' misses the fact that effective-rule tooling identifies matched rules; wholesale deletion is premature. 'Inspect effective security rules or Network Watcher IP flow verify' is the more defensible action; confirm its behavior in the target service before calling the task complete.


Microsoft Azure Administrator (AZ-104) Practice Tests

Purchase Individually

AZ-104 Premium File

Premium File
AZ-104 Premium File
606 Q&A
$76.99$69.99

AZ-104 Training Video Course

Training Course
AZ-104 Training Video Course
132 Lectures
$27.49$24.99

AZ-104 Study Guide

Study Guide
AZ-104 Study Guide
458 PDF Pages
$27.49$24.99

Site Search:

 

VISA, MasterCard, AmericanExpress, UnionPay

SPECIAL OFFER: GET 10% OFF

ExamCollection Premium

ExamCollection Premium Files

Pass your Exam with ExamCollection's PREMIUM files!

  • ExamCollection Certified Safe Files
  • Guaranteed to have ACTUAL Exam Questions
  • Up-to-Date Exam Study Material - Verified by Experts
  • Instant Downloads
Enter Your Email Address to Receive Your 10% Off Discount Code
A Confirmation Link will be sent to this email address to verify your login
We value your privacy. We will not rent or sell your email address

SPECIAL OFFER: GET 10% OFF

Use Discount Code:

MIN10OFF

A confirmation link was sent to your e-mail.
Please check your mailbox for a message from support@examcollection.com and follow the directions.

Next

Download Free Demo of VCE Exam Simulator

Experience Avanset VCE Exam Simulator for yourself.

Simply submit your e-mail address below to get started with our interactive software demo of your free trial.

Free Demo Limits: In the demo version you will be able to access only first 5 questions from exam.