mediummultiple choiceObjective-mapped

A team wants to allow a subnet to access a storage account only from that subnet, but they do not want to create a private endpoint or change DNS. The storage account should still be reachable through its public endpoint, just not from other networks. What should the administrator configure?

Question 1mediummultiple choice
Full question →

A team wants to allow a subnet to access a storage account only from that subnet, but they do not want to create a private endpoint or change DNS. The storage account should still be reachable through its public endpoint, just not from other networks. What should the administrator configure?

Answer choices

Why each option matters

Good practice is not just finding the correct option. The wrong answers often show the exact trap the exam wants you to fall into.

A

Distractor review

A private endpoint for the storage account and a private DNS zone.

This changes access to a private IP and introduces DNS work that the team wants to avoid.

B

Distractor review

A public IP address for the subnet and a storage account firewall exception.

Subnets do not use public IPs for access control in this scenario.

C

Best answer

A service endpoint on the subnet and a storage firewall rule allowing that subnet.

Service endpoints keep the public endpoint but restrict access based on the VNet or subnet identity.

D

Distractor review

An NSG rule that permits outbound TCP 443 to the storage account.

NSGs allow traffic but do not restrict storage access at the service boundary.

Common exam trap

Common exam trap: authentication is not authorization

Logging in proves the user can authenticate. It does not automatically mean the user is allowed to enter privileged or configuration mode. Watch for AAA authorization, privilege level and command authorization details.

Technical deep dive

How to think about this question

This kind of question is testing the difference between identity and permission. A user may successfully log in to a router because authentication is working, but still fail to enter configuration mode because authorization is missing, misconfigured or mapped to a lower privilege level.

KKey Concepts to Remember

  • Authentication checks who the user is.
  • Authorization controls what the user is allowed to do after login.
  • Privilege levels affect access to EXEC and configuration commands.
  • AAA, TACACS+ and RADIUS can separate login success from command access.

TExam Day Tips

  • Do not assume successful login means full administrative access.
  • Look for words such as cannot enter configuration mode, privilege level, authorization or command access.
  • Separate login problems from permission problems before choosing the answer.

Related practice questions

Related AZ-104 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

More questions from this exam

Keep practising from the same exam bank, or move into a focused topic page if this question exposed a weak area.

FAQ

Questions learners often ask

What does this AZ-104 question test?

Authentication checks who the user is.

What is the correct answer to this question?

The correct answer is: A service endpoint on the subnet and a storage firewall rule allowing that subnet. — A service endpoint is the right fit when the organization wants to keep using the storage account’s public endpoint while restricting access to a specific VNet subnet. The service endpoint extends the subnet identity to the storage service, and the storage firewall can then allow only that subnet. This avoids private DNS changes and keeps the connectivity model simpler than a private endpoint. Why others are wrong: A private endpoint would meet the security goal but violates the stated no-DNS-change requirement. A public IP for the subnet is not how Azure grants service access. An NSG rule can permit outbound traffic, but the storage firewall still needs subnet-based authorization. The question is about retaining the public endpoint while restricting who can reach it, which is the service endpoint model.

What should I do if I get this AZ-104 question wrong?

Then try more questions from the same exam bank and focus on understanding why the wrong options are tempting.

Discussion

Loading comments…

Sign in to join the discussion.