mediummultiple choiceObjective-mapped

A web API running in an Azure App Service needs to read and write blobs in a storage account. The operations team does not want to store secrets in app settings or rotate credentials manually. What should they enable on the App Service?

Question 1mediummultiple choice
Full question →

A web API running in an Azure App Service needs to read and write blobs in a storage account. The operations team does not want to store secrets in app settings or rotate credentials manually. What should they enable on the App Service?

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 storage account access key stored in Key Vault

This still depends on a secret and adds rotation overhead that the team wants to avoid.

B

Best answer

A system-assigned managed identity

A system-assigned managed identity lets the app authenticate without storing any credentials.

C

Distractor review

A shared access signature embedded in the application settings

A SAS token is still a secret and must be protected and renewed before it expires.

D

Distractor review

A service endpoint on the App Service integration subnet

A service endpoint changes network access paths, but it does not provide authentication to storage.

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: A system-assigned managed identity — A system-assigned managed identity is the best answer because it gives the App Service an identity in Microsoft Entra ID without needing stored secrets. After enabling it, you can grant the identity an appropriate storage role, such as Storage Blob Data Contributor, at the required scope. This approach removes password and key management from the application and aligns with least-credential operational practice. Why others are wrong: Storing an access key in Key Vault still leaves you with a secret to manage and rotate. A SAS token is also a secret and expires, so it creates ongoing administration. A service endpoint only helps network routing to the storage service; it does not authenticate the app or replace credentials.

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.