mediummultiple choiceObjective-mapped

An application on a VM in subnet AppSubnet must access a storage account over the public endpoint. The security team wants to allow traffic only from AppSubnet and does not want to deploy a private endpoint. What should the administrator configure?

Question 1mediummultiple choice
Full question →

An application on a VM in subnet AppSubnet must access a storage account over the public endpoint. The security team wants to allow traffic only from AppSubnet and does not want to deploy a private endpoint. 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

Disable the storage account firewall and rely on the VM's source IP address.

Disabling the firewall would allow broader access and would not restrict usage to AppSubnet as required.

B

Best answer

Enable the Microsoft.Storage service endpoint on AppSubnet and allow that virtual network in the storage account firewall.

A service endpoint extends the subnet identity to the storage service while still using the public endpoint, which matches the requirement to avoid a private endpoint. After enabling the endpoint on AppSubnet, you can allow that virtual network in the storage account firewall so only traffic from the approved subnet can reach the account. This is a common network-control pattern for Azure Storage.

C

Distractor review

Create a private endpoint and leave the firewall set to allow all networks.

A private endpoint would create private IP access, which the requirement explicitly says not to deploy. Allowing all networks would also remove the subnet restriction.

D

Distractor review

Grant the VM Contributor access to the storage account and the network rule will be enforced automatically.

RBAC permissions do not control network reachability. Contributor access does not limit storage traffic to a specific subnet.

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: Enable the Microsoft.Storage service endpoint on AppSubnet and allow that virtual network in the storage account firewall. — The correct approach is to enable a Microsoft.Storage service endpoint on the subnet and then allow that virtual network in the storage account firewall. This keeps access on the public endpoint while restricting which subnet can reach the account. It is the right choice when the business wants subnet-based network filtering but does not need a private IP address for the storage service. Why others are wrong: Disabling the firewall would remove the restriction entirely. A private endpoint would satisfy secure access, but the question explicitly says not to use one. RBAC permissions are about authorization after network access is established, not about allowing or blocking traffic from a subnet. The network firewall and service endpoint are the relevant controls here.

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.