Microsoft AZ-104 Practice Test 28 - Prepaway
Practice Exams:

Pass Microsoft AZ-104 Exam in First Attempt Guaranteed!

Get 100% Latest Exam Questions, Accurate & Verified Answers!

30 Days Free Updates, Instant Download!

Verified By Experts
Premium Bundle
$29.98
$79.99 $109.97

AZ-104 Premium Bundle


  • Premium File 606 Questions & Answers. Last update: Dec 02, 2026
  • Training Course 132 Lectures
  • Study Guide 458 Pages

Microsoft AZ-104 Practice Test 28

Question 270

The team proposes shortcuts for this situation: A retailer wants HTTPS ingress to web servers while denying direct SQL access from public IP ranges. Which proposed practice or practices introduce unacceptable risk despite seeming faster? Select TWO answers.

  1. Create an allow-any management rule with higher precedence than all denies.
  2. Approved traffic passes while restricted source and port combinations are denied with effective rule evidence and flow logs.
  3. Inspect NIC and subnet NSG associations, rule priorities, source/destination prefixes, service tags and connection troubleshoot results.
  4. Assume the NSG rule name proves its effective enforcement regardless of association.
  5. Apply least-privilege NSG inbound or outbound rules at the relevant subnet or NIC and verify rule priority and effective security rules.

Explanation

Correct Answer

A:

A retailer wants HTTPS ingress to web servers while denying direct SQL access from public IP ranges. “Create an allow-any management rule with higher precedence than all denies” would violate the requirement. NSG rules are evaluated by priority and direction; an allow at the wrong scope or an earlier conflicting rule can negate the intended segment boundary.

D:

A retailer wants HTTPS ingress to web servers while denying direct SQL access from public IP ranges. “Assume the NSG rule name proves its effective enforcement regardless of association” would violate the requirement. NSG rules are evaluated by priority and direction; an allow at the wrong scope or an earlier conflicting rule can negate the intended segment boundary.

Incorrect Answers

B:

Because a retailer wants HTTPS ingress to web servers while denying direct SQL access from public IP ranges, “Approved traffic passes while restricted source and port combinations are denied with effective rule evidence and flow logs” is the required outcome of a working control, not an action that weakens it. NSG rules are evaluated by priority and direction; an allow at the wrong scope or an earlier conflicting rule can negate the intended segment boundary.

C:

“Inspect NIC and subnet NSG associations, rule priorities, source/destination prefixes, service tags and connection troubleshoot results” is the relevant troubleshooting evidence, not a reason to bypass safeguards. NSG rules are evaluated by priority and direction; an allow at the wrong scope or an earlier conflicting rule can negate the intended segment boundary.

E:

A retailer wants HTTPS ingress to web servers while denying direct SQL access from public IP ranges. “Apply least-privilege NSG inbound or outbound rules at the relevant subnet or NIC and verify rule priority and effective security rules” is the controlled implementation, not an unsafe workaround. NSG rules are evaluated by priority and direction; an allow at the wrong scope or an earlier conflicting rule can negate the intended segment boundary. Confirm that approved traffic passes while restricted source and port combinations are denied with effective rule evidence and flow logs.

Question 271

Consider this implementation case: A research team attaches an NSG to a subnet but diagnostics show a conflicting NIC rule affects a particular VM. Which corrective action is best justified by the facts? Select the ONE best answer.

  1. Apply least-privilege NSG inbound or outbound rules at the relevant subnet or NIC and verify rule priority and effective security rules.
  2. Create an allow-any management rule with higher precedence than all denies.
  3. Ignore outbound access when investigating egress exposure.
  4. Remove all subnet NSGs because one application request failed (for the workflow where a research team attaches an NSG to a subnet but diagnostics show a conflicting NIC rule affects a particular VM).

Explanation

Correct Answer

A:

Apply least-privilege NSG inbound or outbound rules at the relevant subnet or NIC and verify rule priority and effective security rules. The relevant investigation is to nSG rules are evaluated by priority and direction; an allow at the wrong scope or an earlier conflicting rule can negate the intended segment boundary.

Incorrect Answers

B:

“Create an allow-any management rule with higher precedence than all denies” does not implement the control that the facts call for. Instead, apply least-privilege NSG inbound or outbound rules at the relevant subnet or NIC and verify rule priority and effective security rules.

C:

“Ignore outbound access when investigating egress exposure” would not meet the requirement. Instead, apply least-privilege NSG inbound or outbound rules at the relevant subnet or NIC and verify rule priority and effective security rules.

D:

“Remove all subnet NSGs because one application request failed” would not meet the requirement. Instead, apply least-privilege NSG inbound or outbound rules at the relevant subnet or NIC and verify rule priority and effective security rules.

Question 272

An engineer must defend the choice made for this situation: A research team attaches an NSG to a subnet but diagnostics show a conflicting NIC rule affects a particular VM. What technical distinction makes the safe approach different from the proposed shortcuts? Select the ONE best answer.

  1. NSG rules are evaluated by priority and direction; an allow at the wrong scope or an earlier conflicting rule can negate the intended segment boundary.
  2. The proposed approach is fully justified whenever the team can open every inbound port for a single administration task, with no separate verification.
  3. The safest way to handle this specific case is to assume the NSG rule name proves its effective enforcement regardless of association rather than verify the relevant boundary.
  4. A successful initial operation proves all downstream security and reliability requirements for network security groups priority and effective rules are satisfied in the circumstances where a research team attaches an nsg to a subnet but diagnostics show a conflicting nic rule affects a particular vm.

Explanation

Correct Answer

A:

A research team attaches an NSG to a subnet but diagnostics show a conflicting NIC rule affects a particular VM. NSG rules are evaluated by priority and direction; an allow at the wrong scope or an earlier conflicting rule can negate the intended segment boundary.

Incorrect Answers

B:

“The proposed approach is fully justified whenever the team can open every inbound port for a single administration task, with no separate verification” would not be the most direct first check for this failure. NSG rules are evaluated by priority and direction; an allow at the wrong scope or an earlier conflicting rule can negate the intended segment boundary.

C:

“The safest way to handle this specific case is to assume the NSG rule name proves its effective enforcement regardless of association rather than verify the relevant boundary” would not meet the requirement. NSG rules are evaluated by priority and direction; an allow at the wrong scope or an earlier conflicting rule can negate the intended segment boundary.

D:

“A successful initial operation proves all downstream security and reliability requirements for network security groups priority” would not be the most direct first check for this failure. NSG rules are evaluated by priority and direction; an allow at the wrong scope or an earlier conflicting rule can negate the intended segment boundary.

Question 273

A release reviewer is checking this case: A research team attaches an NSG to a subnet but diagnostics show a conflicting NIC rule affects a particular VM. Which evidence would demonstrate effectiveness rather than merely document that a change occurred? Select the ONE best answer.

  1. Approved traffic passes while restricted source and port combinations are denied with effective rule evidence and flow logs.
  2. Only the configuration summary for network security groups priority and effective rules is marked complete; no observable outcome from the case is collected.
  3. A change ticket records the intention to apply least-privilege NSG inbound or outbound rules at the relevant subnet or NIC and verify rule priority and effective security rules without testing the affected end-to-end behavior.
  4. An operator documents that the system can open every inbound port for a single administration task while no negative-case test is performed in the circumstances where a research team attaches an nsg to a subnet but diagnostics show a conflicting nic rule affects a particular vm.

Explanation

Correct Answer

A:

A research team attaches an NSG to a subnet but diagnostics show a conflicting NIC rule affects a particular VM. NSG rules are evaluated by priority and direction; an allow at the wrong scope or an earlier conflicting rule can negate the intended segment boundary. The direct diagnostic here is: Approved traffic passes while restricted source and port combinations are denied with effective rule evidence and flow logs.

Incorrect Answers

B:

“Only the configuration summary for network security groups priority and effective rules is marked complete; no observable outcome from the case is collected” would not be the most direct first check for this failure. NSG rules are evaluated by priority and direction; an allow at the wrong scope or an earlier conflicting rule can negate the intended segment boundary.

C:

“A change ticket records the intention to apply least-privilege NSG inbound or outbound rules at the relevant subnet or NIC and verify rule priority” would not be the most direct first check for this failure. NSG rules are evaluated by priority and direction; an allow at the wrong scope or an earlier conflicting rule can negate the intended segment boundary.

D:

“An operator documents that the system can open every inbound port for a single administration task while no negative-case test is performed in the circumstances where a research team attaches an nsg to a” would not be the most direct first check for this failure. NSG rules are evaluated by priority and direction; an allow at the wrong scope or an earlier conflicting rule can negate the intended segment boundary.

Question 274

Before changing the implementation, the team faces this situation: A research team attaches an NSG to a subnet but diagnostics show a conflicting NIC rule affects a particular VM. Which diagnostic inspection most usefully distinguishes the real cause from superficial symptoms? Select the ONE best answer.

  1. Consult only the implementation schedule for network security groups priority and effective rules, without inspecting the executing tool or workflow state.
  2. Collect only a screenshot showing that someone attempted to ignore outbound access when investigating egress exposure, then assume the root cause is known.
  3. Read a single high-level completion flag for the specific workflow where a research team attaches an NSG to a subnet but diagnostics show a conflicting NIC rule affects a particular VM; omit actual intermediate operations and error records.
  4. Inspect NIC and subnet NSG associations, rule priorities, source/destination prefixes, service tags and connection troubleshoot results.

Explanation

Correct Answer

D:

Because a research team attaches an NSG to a subnet but diagnostics show a conflicting NIC rule affects a particular VM, nSG rules are evaluated by priority and direction; an allow at the wrong scope or an earlier conflicting rule can negate the intended segment boundary.

Incorrect Answers

A:

“Consult only the implementation schedule for network security groups priority and effective rules, without inspecting the executing tool or workflow state” would not be the most direct first check for this failure. NSG rules are evaluated by priority and direction; an allow at the wrong scope or an earlier conflicting rule can negate the intended segment boundary.

B:

“Collect only a screenshot showing that someone attempted to ignore outbound access when investigating egress exposure, then assume the root cause is known” would not meet the requirement. NSG rules are evaluated by priority and direction; an allow at the wrong scope or an earlier conflicting rule can negate the intended segment boundary.

C:

“Read a single high-level completion flag for the specific workflow where a research team attaches an NSG to a subnet but diagnostics show a conflicting NIC rule affects a particular VM” would not be the most direct first check for this failure. NSG rules are evaluated by priority and direction; an allow at the wrong scope or an earlier conflicting rule can negate the intended segment boundary.

Question 275

Review the following case: A research team attaches an NSG to a subnet but diagnostics show a conflicting NIC rule affects a particular VM. Which candidate change should be rejected because they undermine the required control? Select the ONE best answer.

  1. Create an allow-any management rule with higher precedence than all denies.
  2. Apply least-privilege NSG inbound or outbound rules at the relevant subnet or NIC and verify rule priority and effective security rules.
  3. Inspect NIC and subnet NSG associations, rule priorities, source/destination prefixes, service tags and connection troubleshoot results.
  4. Approved traffic passes while restricted source and port combinations are denied with effective rule evidence and flow logs in the circumstances where a research team attaches an nsg to a subnet but diagnostics show a conflicting nic rule affects a particular vm.

Explanation

Correct Answer

A:

“Create an allow-any management rule with higher precedence than all denies” would violate the requirement.

Incorrect Answers

B:

“Apply least-privilege NSG inbound or outbound rules at the relevant subnet or NIC and verify rule priority and effective security rules” is the controlled implementation, not an unsafe workaround.

C:

“Inspect NIC and subnet NSG associations, rule priorities, source/destination prefixes, service tags and connection troubleshoot results” adds a relevant safeguard or verification step rather than weakening the solution.

D:

“Approved traffic passes while restricted source and port combinations are denied with effective rule evidence” adds a relevant safeguard or verification step rather than weakening the solution.

Question 276

A project team encounters this problem: A logistics service needs to permit app-to-database traffic only on the database port and audit unexpected outbound destinations. What should the architect implement first to reduce the actual failure risk? Select the ONE best answer.

  1. Remove all subnet NSGs because one application request failed (for the workflow where a logistics service needs to permit app-to-database traffic only on the database port and audit unexpected outbound destinations).
  2. Create an allow-any management rule with higher precedence than all denies.
  3. Apply least-privilege NSG inbound or outbound rules at the relevant subnet or NIC and verify rule priority and effective security rules.
  4. Ignore outbound access when investigating egress exposure.

Explanation

Correct Answer

C:

A logistics service needs to permit app-to-database traffic only on the database port and audit unexpected outbound destinations. NSG rules are evaluated by priority and direction; an allow at the wrong scope or an earlier conflicting rule can negate the intended segment boundary. Approved traffic passes while restricted source and port combinations are denied with effective rule evidence and flow logs.

Incorrect Answers

A:

A logistics service needs to permit app-to-database traffic only on the database port and audit unexpected outbound destinations. “Remove all subnet NSGs because one application request failed” would not meet the requirement. NSG rules are evaluated by priority and direction; an allow at the wrong scope or an earlier conflicting rule can negate the intended segment boundary. Instead, apply least-privilege NSG inbound or outbound rules at the relevant subnet or NIC and verify rule priority and effective security rules.

B:

“Create an allow-any management rule with higher precedence than all denies” does not implement the control that the facts call for. NSG rules are evaluated by priority and direction; an allow at the wrong scope or an earlier conflicting rule can negate the intended segment boundary. Instead, apply least-privilege NSG inbound or outbound rules at the relevant subnet or NIC and verify rule priority and effective security rules.

D:

A logistics service needs to permit app-to-database traffic only on the database port and audit unexpected outbound destinations. “Ignore outbound access when investigating egress exposure” would not meet the requirement. NSG rules are evaluated by priority and direction; an allow at the wrong scope or an earlier conflicting rule can negate the intended segment boundary. Instead, apply least-privilege NSG inbound or outbound rules at the relevant subnet or NIC and verify rule priority and effective security rules.

Question 277

A team is reviewing this behavior: A logistics service needs to permit app-to-database traffic only on the database port and audit unexpected outbound destinations. Which reasoning best describes the underlying design boundary? Select the ONE best answer.

  1. The safest way to handle this specific case is to assume the NSG rule name proves its effective enforcement regardless of association rather than verify the relevant boundary.
  2. The proposed approach is fully justified whenever the team can open every inbound port for a single administration task, with no separate verification.
  3. NSG rules are evaluated by priority and direction; an allow at the wrong scope or an earlier conflicting rule can negate the intended segment boundary.
  4. A successful initial operation proves all downstream security and reliability requirements for network security groups priority and effective rules are satisfied in the circumstances where a logistics service needs to permit app-to-database traffic only on the database port and audit unexpected outbound destinations.

Explanation

Correct Answer

C:

A logistics service needs to permit app-to-database traffic only on the database port and audit unexpected outbound destinations. NSG rules are evaluated by priority and direction; an allow at the wrong scope or an earlier conflicting rule can negate the intended segment boundary. Apply least-privilege NSG inbound or outbound rules at the relevant subnet or NIC and verify rule priority and effective security rules.

Incorrect Answers

A:

A logistics service needs to permit app-to-database traffic only on the database port and audit unexpected outbound destinations. “The safest way to handle this specific case is to assume the NSG rule name proves its effective enforcement regardless of association rather than verify the relevant boundary” would not meet the requirement. NSG rules are evaluated by priority and direction; an allow at the wrong scope or an earlier conflicting rule can negate the intended segment boundary. The implementation must apply least-privilege NSG inbound or outbound rules at the relevant subnet or NIC and verify rule priority and effective security rules.

B:

A logistics service needs to permit app-to-database traffic only on the database port and audit unexpected outbound destinations. “The proposed approach is fully justified whenever the team can open every inbound port for a single administration task, with no separate verification” does not fully explain the decisive technical boundary in this case. NSG rules are evaluated by priority and direction; an allow at the wrong scope or an earlier conflicting rule can negate the intended segment boundary.

D:

“A successful initial operation proves all downstream security and reliability requirements for network security groups priority” does not fully explain the decisive technical boundary in this case. NSG rules are evaluated by priority and direction; an allow at the wrong scope or an earlier conflicting rule can negate the intended segment boundary.

Question 278

After the intervention in this situation, A logistics service needs to permit app-to-database traffic only on the database port and audit unexpected outbound destinations. Which result should be required before the team closes the finding? Select the ONE best answer.

  1. Approved traffic passes while restricted source and port combinations are denied with effective rule evidence and flow logs.
  2. Only the configuration summary for network security groups priority and effective rules is marked complete; no observable outcome from the case is collected.
  3. An operator documents that the system can open every inbound port for a single administration task while no negative-case test is performed.
  4. A change ticket records the intention to apply least-privilege NSG inbound or outbound rules at the relevant subnet or NIC and verify rule priority and effective security rules without testing the affected end-to-end behavior in the circumstances where a logistics service needs to permit app-to-database traffic only on the database port and audit unexpected outbound destinations.

Explanation

Correct Answer

A:

A logistics service needs to permit app-to-database traffic only on the database port and audit unexpected outbound destinations. NSG rules are evaluated by priority and direction; an allow at the wrong scope or an earlier conflicting rule can negate the intended segment boundary. Approved traffic passes while restricted source and port combinations are denied with effective rule evidence and flow logs. If this test fails, inspect NIC and subnet NSG associations, rule priorities, source/destination prefixes, service tags and connection troubleshoot results.

Incorrect Answers

B:

“Only the configuration summary for network security groups priority and effective rules is marked complete; no observable outcome from the case is collected” alone does not establish all the required behavior. Approved traffic passes while restricted source and port combinations are denied with effective rule evidence and flow logs. NSG rules are evaluated by priority and direction; an allow at the wrong scope or an earlier conflicting rule can negate the intended segment boundary.

C:

Because a logistics service needs to permit app-to-database traffic only on the database port and audit unexpected outbound destinations, “An operator documents that the system can open every inbound port for a single administration task while no negative-case test is performed” alone does not establish all the required behavior. Approved traffic passes while restricted source and port combinations are denied with effective rule evidence and flow logs.

D:

A logistics service needs to permit app-to-database traffic only on the database port and audit unexpected outbound destinations. “A change ticket records the intention to apply least-privilege NSG inbound or outbound rules at the relevant subnet or NIC and verify rule priority” alone does not establish all the required behavior. Approved traffic passes while restricted source and port combinations are denied with effective rule evidence and flow logs.

Question 279

A case review notes this outcome: A logistics service needs to permit app-to-database traffic only on the database port and audit unexpected outbound destinations. Which technical records should the investigator correlate first? Select the ONE best answer.

  1. Read a single high-level completion flag for the specific workflow where a logistics service needs to permit app-to-database traffic only on the database port and audit unexpected outbound destinations; omit actual intermediate operations and error records.
  2. Inspect NIC and subnet NSG associations, rule priorities, source/destination prefixes, service tags and connection troubleshoot results.
  3. Consult only the implementation schedule for network security groups priority and effective rules, without inspecting the executing tool or workflow state.
  4. Collect only a screenshot showing that someone attempted to ignore outbound access when investigating egress exposure, then assume the root cause is known.

Explanation

Correct Answer

B:

A logistics service needs to permit app-to-database traffic only on the database port and audit unexpected outbound destinations. Inspect NIC and subnet NSG associations, rule priorities, source/destination prefixes, service tags and connection troubleshoot results. NSG rules are evaluated by priority and direction; an allow at the wrong scope or an earlier conflicting rule can negate the intended segment boundary. Approved traffic passes while restricted source and port combinations are denied with effective rule evidence and flow logs.

Incorrect Answers

A:

“Read a single high-level completion flag for the specific workflow where a logistics service needs to permit app-to-database traffic only on the database port and audit unexpected outbound destinations” would not be the most direct first check for this failure. Inspect NIC and subnet NSG associations, rule priorities, source/destination prefixes, service tags and connection troubleshoot results.

C:

“Consult only the implementation schedule for network security groups priority and effective rules, without inspecting the executing tool or workflow state” would not be the most direct first check for this failure. Inspect NIC and subnet NSG associations, rule priorities, source/destination prefixes, service tags and connection troubleshoot results.

D:

A logistics service needs to permit app-to-database traffic only on the database port and audit unexpected outbound destinations. “Collect only a screenshot showing that someone attempted to ignore outbound access when investigating egress exposure, then assume the root cause is known” would not meet the requirement. Inspect NIC and subnet NSG associations, rule priorities, source/destination prefixes, service tags and connection troubleshoot results. NSG rules are evaluated by priority and direction; an allow at the wrong scope or an earlier conflicting rule can negate the intended segment boundary.

Question 280

An operator is choosing expedient workarounds in this situation: A logistics service needs to permit app-to-database traffic only on the database port and audit unexpected outbound destinations. Which proposal or proposals would leave the material failure unresolved? Select TWO answers.

  1. Create an allow-any management rule with higher precedence than all denies.
  2. Apply least-privilege NSG inbound or outbound rules at the relevant subnet or NIC and verify rule priority and effective security rules.
  3. Assume the NSG rule name proves its effective enforcement regardless of association.
  4. Approved traffic passes while restricted source and port combinations are denied with effective rule evidence and flow logs.
  5. Inspect NIC and subnet NSG associations, rule priorities, source/destination prefixes, service tags and connection troubleshoot results in the circumstances where a logistics service needs to permit app-to-database traffic only on the database port and audit unexpected outbound destinations.

Explanation

Correct Answer

A:

A logistics service needs to permit app-to-database traffic only on the database port and audit unexpected outbound destinations. “Create an allow-any management rule with higher precedence than all denies” would violate the requirement. NSG rules are evaluated by priority and direction; an allow at the wrong scope or an earlier conflicting rule can negate the intended segment boundary.

C:

“Assume the NSG rule name proves its effective enforcement regardless of association” would violate the requirement. NSG rules are evaluated by priority and direction; an allow at the wrong scope or an earlier conflicting rule can negate the intended segment boundary.

Incorrect Answers

B:

“Apply least-privilege NSG inbound or outbound rules at the relevant subnet or NIC and verify rule priority and effective security rules” is the controlled implementation, not an unsafe workaround. NSG rules are evaluated by priority and direction; an allow at the wrong scope or an earlier conflicting rule can negate the intended segment boundary.

D:

A logistics service needs to permit app-to-database traffic only on the database port and audit unexpected outbound destinations. “Approved traffic passes while restricted source and port combinations are denied with effective rule evidence and flow logs” is the required outcome of a working control, not an action that weakens it. NSG rules are evaluated by priority and direction; an allow at the wrong scope or an earlier conflicting rule can negate the intended segment boundary.

E:

“Inspect NIC and subnet NSG associations, rule priorities, source/destination prefixes” adds a relevant safeguard or verification step rather than weakening the solution. NSG rules are evaluated by priority and direction; an allow at the wrong scope or an earlier conflicting rule can negate the intended segment boundary. Confirm that approved traffic passes while restricted source and port combinations are denied with effective rule evidence and flow logs.

Microsoft Azure Administrator (AZ-104) Practice Tests