easymulti selectObjective-mapped

A team wants an Azure VM in a subnet to reach a storage account securely without opening the account to the entire internet. Which two configuration choices can be used to achieve this? Select two.

Question 1easymulti select
Full question →

A team wants an Azure VM in a subnet to reach a storage account securely without opening the account to the entire internet. Which two configuration choices can be used to achieve this? Select two.

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

Best answer

Private endpoint

A private endpoint gives the storage account a private IP address in the virtual network.

B

Best answer

Service endpoint

A service endpoint lets a subnet access the public storage endpoint while staying restricted to that subnet.

C

Distractor review

Enable anonymous blob access

Anonymous access removes authentication and is not a secure network-restriction method.

D

Distractor review

Move the account to the Archive tier

Access tier selection does not control which networks can reach the storage account.

E

Distractor review

Apply a delete lock to the storage account

A lock helps prevent deletion, but it does not allow or restrict network connectivity.

Common exam trap

Common exam trap: usable hosts are not the same as total addresses

Subnetting questions often tempt you into counting all addresses. In normal IPv4 subnets, the network and broadcast addresses are not usable host addresses.

Technical deep dive

How to think about this question

Subnetting questions test whether you can identify the network, broadcast address, usable range, mask and correct subnet. Slow down enough to calculate the block size correctly.

KKey Concepts to Remember

  • CIDR notation defines the prefix length.
  • Block size helps identify subnet boundaries.
  • Network and broadcast addresses are not usable hosts in normal IPv4 subnets.
  • The required host count determines the smallest suitable subnet.

TExam Day Tips

  • Write the block size before choosing the subnet.
  • Check whether the question asks for hosts, subnets or a specific address range.
  • Do not confuse /24, /25, /26 and /27 host counts.

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?

CIDR notation defines the prefix length.

What is the correct answer to this question?

The correct answer is: Private endpoint — Both private endpoints and service endpoints are valid ways to limit storage access to an Azure subnet. A private endpoint is the more isolated option because it places a private IP in the VNet. A service endpoint still uses the public endpoint, but the storage account can allow traffic only from the selected subnet. Either approach prevents open internet access when configured correctly. Why others are wrong: Anonymous access is not a security control and should not be used for private enterprise data. Archive tier selection affects data accessibility, not networking. A resource lock protects against deletion or modification, but it does not create a network boundary. The question is specifically about subnet-restricted access, so private and service endpoints are the correct choices.

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.