You are planning the deployment of Azure File Sync. You have an on-premises Windows Server 2022 named FS01 and an Azure Storage account named storage1. The storage1 account contains an Azure file share named share1.
For security reasons, the firewall on storage1 is enabled and configured to allow access only from selected virtual networks and IP addresses.
You need to configure the environment to allow FS01 to synchronize files with share1.
Which of the following actions can you perform to allow FS01 to connect to storage1? (Select two.)
- Create a private endpoint for the File service of storage1.Answer
- Add the public IP address of FS01 to the firewall settings of storage1.Answer
- CEnable the 'Allow trusted Microsoft services to access this storage account' setting on storage1.
- DMap the local synchronization path on FS01 to a second server endpoint in another sync group.
Answer
Create a private endpoint for the File service of storage1, and add the public IP address of FS01 to the firewall settings of storage1.
To establish connection from an on-premises server to a firewalled storage account, you can either create a private endpoint for the File service of storage1 (which routes traffic over a private connection like VPN/ExpressRoute) or add the public IP address of FS01 to the firewall allowed list (which allows public traffic from the server).
Step-by-Step Solution
Key Concept
Configuring network access and firewalls for Azure Files and Azure File Sync.