Skip to main content
  1. Public practice questions
  2. AZ-104 Practice Exams | Azure Administrator Associate
  3. AZ-104 Practice Exam 7

Question 36 — AZ-104 Practice Exam 7

A company must provide SMB access to an Azure file share for on-premises users, but their firewall policy cannot open outbound TCP 445 to the internet. They also require secure, private connectivity. (Select one answer)

  1. Disable “secure transfer required” so that SMB can traverse without TLS over any port

  2. Mount the same file share using NFS and SMB simultaneously to avoid port 445

  3. Use a VPN or ExpressRoute to your Azure network and expose Azure Files via private endpoints

  4. Switch to HTTP-only access to the share to bypass port 445

Correct answers

  1. Use a VPN or ExpressRoute to your Azure network and expose Azure Files via private endpoints

Explanations

Correct:
Use a VPN or ExpressRoute to your Azure network and expose Azure Files via private endpoints
SMB uses TCP 445. If you can’t unblock 445 to the internet, a private connection (VPN/ExpressRoute) with private endpoints allows secure SMB access without opening 445 publicly.

Wrong:
Disable “secure transfer required” so that SMB can traverse without TLS over any port
This weakens security and doesn’t solve the port 445 requirement for SMB.
Mount the same file share using NFS and SMB simultaneously to avoid port 445
A single Azure file share cannot support SMB and NFS at the same time.
Switch to HTTP-only access to the share to bypass port 445
HTTP/HTTPS applies to REST access; it doesn’t replace SMB mounting for users who need a file share.