ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 180 - AZ-800 discussion

Report
Export

SIMULATION LAB 4

You need to register SRV1 to sync Azure file shares The registration must use the 34646045 Storage Sync Service.

The required source files are located in a folder named \\dc1.contoso.com\install.

You do NOT need to configure file share synchronization at this time and you do NOT need to update the agent.

A.
See the solution of this Task below
Answers
A.
See the solution of this Task below
Suggested answer: A

Explanation:

One possible solution to register SRV1 to sync Azure file shares using the 34646045 Storage Sync Service is to use the Register-AzStorageSyncServer cmdlet from the Az.StorageSync module. This cmdlet establishes a trust relationship between the server and the Storage Sync Service, which is required for creating server endpoints and syncing files. Here are the steps to register SRV1 using the cmdlet:

On SRV1, open PowerShell as an administrator and run the following command to install the Az.StorageSync module if it is not already installed:

Install-Module -Name Az.StorageSync

Run the following command to import the Az.StorageSync module:

Import-Module -Name Az.StorageSync

Run the following command to sign in to your Azure account and select the subscription that contains the 34646045 Storage Sync Service:

Connect-AzAccount

Select-AzSubscription -SubscriptionId <your-subscription-id>

Run the following command to register SRV1 with the 34646045 Storage Sync Service. You need to specify the resource group name and the Storage Sync Service name as parameters:

Register-AzStorageSyncServer -ResourceGroupName <your-resource-group-name> -StorageSyncServiceName 34646045

Wait for the registration to complete. You can verify the registration status by checking the Registered servers tab on the Azure portal or by running the following command:

Get-AzStorageSyncServer -ResourceGroupName <your-resource-group-name> -StorageSyncServiceName 34646045

Now, SRV1 is registered with the 34646045 Storage Sync Service and ready to sync Azure file shares. You can create server endpoints on SRV1 and cloud endpoints on the Azure file shares to define the sync topology.

asked 02/10/2024
vladimir tolkunov
34 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first