AZ-104 Implement and Manage Storage Practice Question
This AZ-104 practice question tests your understanding of implement and manage storage. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
Exhibit
Requirement summary:
- Azure VMs in AppSubnet must access StorageAccount1
- Only AppSubnet should be allowed
- The storage account should remain reachable through its public endpoint
- No private IP is required
Based on the exhibit, what should the administrator configure to meet the storage access requirement?
Exhibit
Requirement summary:
- Azure VMs in AppSubnet must access StorageAccount1
- Only AppSubnet should be allowed
- The storage account should remain reachable through its public endpoint
- No private IP is required
A
Enable the Microsoft.Storage service endpoint on AppSubnet and allow that subnet on the storage account.
A service endpoint lets the subnet reach the storage service over the Azure backbone while the storage account still uses its public endpoint. Combined with the storage account's network rules, access can be restricted to AppSubnet only.
B
Create a private endpoint and disable all public network access.
Why wrong: That would change the design to private-only access, which is not what the requirement asks for.
C
Create a VPN gateway between the subnet and the storage account.
Why wrong: VPN gateways provide network connectivity between networks, not service-level access control to a storage account.
D
Attach a NAT gateway to the subnet and add a route table entry.
Why wrong: NAT gateway handles outbound translation, but it does not restrict which subnets may access the storage account.
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Enable the Microsoft.Storage service endpoint on AppSubnet and allow that subnet on the storage account.
Option A is correct because enabling the Microsoft.Storage service endpoint on AppSubnet allows traffic from that subnet to be routed directly to the storage account over the Azure backbone network, bypassing the internet. By then configuring the storage account firewall to allow access only from that subnet, the administrator ensures that only resources within AppSubnet can access the storage account, meeting the requirement for restricted access.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
✓
Enable the Microsoft.Storage service endpoint on AppSubnet and allow that subnet on the storage account.
Why this is correct
A service endpoint lets the subnet reach the storage service over the Azure backbone while the storage account still uses its public endpoint. Combined with the storage account's network rules, access can be restricted to AppSubnet only.
Related concept
Read the scenario before looking for a memorised answer.
✗
Create a private endpoint and disable all public network access.
Why it's wrong here
That would change the design to private-only access, which is not what the requirement asks for.
When this WOULD be correct
This option would be correct in a scenario where the requirement is to ensure that the storage account is accessible only from a specific virtual network and not from the public internet, and the subnet is already configured to use the private endpoint. For example, if the question states: 'The storage account must not be accessible from the public internet, and only resources in VNet1 should be able to access it.'
✗
Create a VPN gateway between the subnet and the storage account.
Why it's wrong here
VPN gateways provide network connectivity between networks, not service-level access control to a storage account.
When this WOULD be correct
This option would be correct if the question required connecting an on-premises network to an Azure storage account securely over the internet, such as in a hybrid scenario where on-premises servers need to access Azure Files via a site-to-site VPN.
✗
Attach a NAT gateway to the subnet and add a route table entry.
Why it's wrong here
NATgateway handles outbound translation, but it does not restrict which subnets may access the storage account.
When this WOULD be correct
If the requirement were to allow virtual machines in a private subnet to access the internet (e.g., for downloading updates) while blocking inbound traffic, attaching a NATgateway to the subnet and adding a route table entry would be correct.
Option-by-option analysis
Why each answer is right or wrong
Understanding why wrong answers are wrong — and when they would be correct — is what separates a 750 score from a 900. The AZ-104 exam frequently reuses these exact scenarios with slightly different constraints.
✓Enable the Microsoft.Storage service endpoint on AppSubnet and allow that subnet on the storage account.Correct answer▾
Why this is correct
A service endpoint lets the subnet reach the storage service over the Azure backbone while the storage account still uses its public endpoint. Combined with the storage account's network rules, access can be restricted to AppSubnet only.
✗Create a private endpoint and disable all public network access.Wrong answer — click to see why▾
Why this is wrong here
The question requires allowing access from a specific subnet (AppSubnet) to a storage account. A private endpoint would assign a private IP to the storage account within a virtual network, but the requirement is to allow access from AppSubnet, not to disable all public access. Disabling all public network access would block other necessary connections, such as from on-premises or other services.
★ When this WOULD be the correct answer
This option would be correct in a scenario where the requirement is to ensure that the storage account is accessible only from a specific virtual network and not from the public internet, and the subnet is already configured to use the private endpoint. For example, if the question states: 'The storage account must not be accessible from the public internet, and only resources in VNet1 should be able to access it.'
Why candidates choose this
Candidates may think that a private endpoint provides the most secure access by removing public exposure, and they might overlook that the question specifically asks for allowing access from a subnet, not blocking all other access.
✗Create a VPN gateway between the subnet and the storage account.Wrong answer — click to see why▾
Why this is wrong here
A VPN gateway connects on-premises networks to Azure, not subnets within Azure to Azure services. The requirement is to allow a subnet within the same virtual network to access a storage account, which is achieved via service endpoints or private endpoints, not a VPN.
★ When this WOULD be the correct answer
This option would be correct if the question required connecting an on-premises network to an Azure storage account securely over the internet, such as in a hybrid scenario where on-premises servers need to access Azure Files via a site-to-site VPN.
Why candidates choose this
Candidates may think a VPN provides secure connectivity between any two endpoints, including subnets and storage accounts, without understanding that VPNs are for cross-premises connections, not intra-VNet communication.
✗Attach a NAT gateway to the subnet and add a route table entry.Wrong answer — click to see why▾
Why this is wrong here
A NAT gateway provides outbound internet connectivity for private subnets but does not enable private access to Azure storage from a subnet. The requirement is to allow the subnet to access the storage account, which is achieved via service endpoints or private endpoints, not NAT.
★ When this WOULD be the correct answer
If the requirement were to allow virtual machines in a private subnet to access the internet (e.g., for downloading updates) while blocking inbound traffic, attaching a NAT gateway to the subnet and adding a route table entry would be correct.
Why candidates choose this
Candidates may confuse NAT gateway with providing private connectivity to Azure services, thinking it creates a direct path, or they may overcomplicate the solution by adding network address translation instead of using simpler service endpoints.
Analysis generated from the official AZ-104blueprint and verified against question context. The “when correct” sections are what AI assistants cite when candidates ask “what’s the difference between these options?”
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates often confuse service endpoints with private endpoints, assuming private endpoints are always required for secure access, when in fact service endpoints are simpler and sufficient for scenarios where only subnet-level restriction is needed without full network isolation.
Detailed technical explanation
How to think about this question
Service endpoints extend the virtual network identity to Azure services, allowing traffic to flow over the Microsoft backbone without traversing the internet. When a service endpoint is enabled on a subnet, Azure automatically adds a route for the service’s public IP prefixes to the subnet’s route table, ensuring traffic is optimized and secure. In contrast, private endpoints use a private IP from the VNet and require DNS configuration to resolve the storage account’s FQDN to that private IP, which adds complexity but provides complete network isolation.
KKey Concepts to Remember
Read the scenario before looking for a memorised answer.
Find the constraint that changes the correct option.
Eliminate answers that are true in general but not in this case.
TExam Day Tips
→Watch for words such as best, first, most likely and least administrative effort.
→Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
A media company stores terabytes of video archives that are accessed once a year for audit purposes. Moving these objects to a cold storage tier (Azure Archive, S3 Glacier, or Google Nearline) costs a fraction of hot storage. Questions like this test whether you understand storage tiers, access frequency tradeoffs, and retrieval latency requirements.
Visual reference
Related glossary terms
Concepts from this question explained
These glossary pages explain the core terms tested in this AZ-104 question in full detail.
Implement and Manage Storage — This question tests Implement and Manage Storage — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: Enable the Microsoft.Storage service endpoint on AppSubnet and allow that subnet on the storage account. — Option A is correct because enabling the Microsoft.Storage service endpoint on AppSubnet allows traffic from that subnet to be routed directly to the storage account over the Azure backbone network, bypassing the internet. By then configuring the storage account firewall to allow access only from that subnet, the administrator ensures that only resources within AppSubnet can access the storage account, meeting the requirement for restricted access.
What should I do if I get this AZ-104 question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
This AZ-104 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AZ-104 exam.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.