Optimizing File Services Flashcards Preview

MCSA 70-411 - Global Knowledge > Optimizing File Services > Flashcards

Flashcards in Optimizing File Services Deck (178):
1

  1. What is DFSR? 
  2. What is DFSN?
  3. What is the DFS Management Console? 
  4. What is the FSRM Console?

  1. Distributed File System (DFS)Replication 
  2. Distributed File System (DFS) Namespace 
  3. You use the Distributed File System (DFS) Management Console to manage DFS namespaces and DFS replication. 
  4. File Server Resource Manager (FSRM) is a role service in Windows Server that enables you to manage and classify data stored on file servers. You can use File Server Resource Manager to automatically classify files, perform tasks based on these classifications, set quotas on folders, and create reports monitoring storage usage.

2

Get-DfsnAccess

Gets permissions for a DFS namespace folder.

3

Get-DfsnFolder

Gets settings for a DFS namespace folder.

4

Get-DfsnFolderTarget

Gets settings for targets of a DFS namespace folder.

5

Get-DfsnRoot

Gets settings for DFS namespaces.

6

Get-DfsnRootTarget

Gets settings for root targets of a DFS namespace.

7

Get-DfsnServerConfiguration

Gets DFS namespace settings for a DFSN root server.

8

Grant-DfsnAccess

Grants permissions to users and groups to access a DFS namespace folder.

9

Move-DfsnFolder

Moves or renames a DFS namespace folder.

10

New-DfsnFolder

Creates a folder in a DFS namespace.

11

New-DfsnFolderTarget

Adds a target to a DFS namespace folder.

12

New-DfsnRoot

Creates a DFS namespace.

13

New-DfsnRootTarget

Adds a root target to a DFS namespace.

14

Remove-DfsnAccess

Removes users and groups from the ACL for a folder in a DFS namespace.

15

Remove-DfsnFolder

Removes a DFS namespace folder.

16

Remove-DfsnFolderTarget

Removes a target for a DFS namespace folder.

17

Remove-DfsnRoot

Removes a DFS namespace.

18

Remove-DfsnRootTarget

Removes a target for a DFS namespace root.

19

Revoke-DfsnAccess

Revokes permissions for users to access and enumerate the contents of a DFS namespace folder.

20

Set-DfsnFolder

Changes settings for a DFS namespace folder.

21

Set-DfsnFolderTarget

Changes settings for a target of a DFS namespace folder.

22

Set-DfsnRoot

Changes settings for a DFS namespace.

23

Set-DfsnRootTarget

Changes settings for a root target of a DFS namespace.

24

Set-DfsnServerConfiguration

Changes settings for a DFS namespace root server.

25

Add-DfsrConnection

Creates a connection between members of a replication group.

26

Add-DfsrMember

Adds computers to a replication group.

27

ConvertFrom-DfsrGuid

Translates GUIDs to friendly names within a given replication group.

28

Export-DfsrClone

Exports the cloned DFS Replication database and volume configuration settings.

29

Get-DfsReplicatedFolder

Gets a replicated folder from a replication group.

30

Get-DfsReplicationGroup

Retrieves a replication group.

31

Get-DfsrBacklog

Retrieves the list of pending file updates between two DFS Replication partners.

32

Get-DfsrCloneState

Gets the status of a database cloning operation.

33

Get-DfsrConnection

Gets a connection between DFS Replication partners.

34

Get-DfsrConnectionSchedule

Gets a connection schedule between members of a replication group.

35

Get-DfsrFileHash

Gets a file hash.

36

Get-DfsrGroupSchedule

Retrieves a replication group schedule.

37

Get-DfsrIdRecord

Gets ID records for replicated files or folders from the DFS Replication database.

38

Get-DfsrMember

Gets member computers in a replication group.

39

Get-DfsrMembership

Gets membership settings for members of replication groups.

40

Get-DfsrPreservedFiles

Gets a list of files and folders that DFS Replication previously preserved.

41

Get-DfsrServiceConfiguration

Gets settings for the DFS Replication service on group members.

42

Get-DfsrState

Gets the DFS Replication state for a member.

43

Import-DfsrClone

Imports a cloned DFS Replication database and volume configuration settings.

44

New-DfsReplicatedFolder

Creates a replicated folder in a replication group.

45

New-DfsReplicationGroup

Creates a replication group.

46

Remove-DfsReplicatedFolder

Removes a replicated folder from a replication group.

47

Remove-DfsReplicationGroup

Removes a replication group.

48

Remove-DfsrConnection

Removes a connection between members of a replication group.

49

Remove-DfsrMember

Removes computers from a replication group.

50

Remove-DfsrPropagationTestFile

Removes DFS Replication propagation test files.

51

Reset-DfsrCloneState

Cancels a cloning operation.

52

Restore-DfsrPreservedFiles

Restores files and folders that DFS Replication previously preserved.

53

Set-DfsReplicatedFolder

Changes settings of a replicated folder.

54

Set-DfsReplicationGroup

Modifies a replication group.

55

Set-DfsrConnection

Changes the settings of a connection between members of a replication group.

56

Set-DfsrConnectionSchedule

Changes the settings of a connection schedule between members of a replication group.

57

Set-DfsrGroupSchedule

Modifies a replication group schedule.

58

Set-DfsrMember

Modifies member computer information in a replication group.

59

Set-DfsrMembership

Configures membership settings for replication group members.

60

Set-DfsrServiceConfiguration

Modifies settings for the DFS Replication service.

61

Start-DfsrPropagationTest

Creates a propagation test file in a replicated folder.

62

Suspend-DfsReplicationGroup

Suspends replication between computers regardless of schedule.

63

Sync-DfsReplicationGroup

Synchronizes replication between computers regardless of schedule.

64

Update-DfsrConfigurationFromAD

Initiates an update of the DFS Replication service.

65

Write-DfsrHealthReport

Generates a DFS Replication health report.

66

Write-DfsrPropagationReport

Generates reports for propagation test files in a replication group.

67

How would you install the FSRM Role using PowerShell?

Install-WindowsFeature -Name FS-Resource-Manager               -IncludeManagementTools

68

Get-FsrmAdrSetting

Gets access denied remediation settings for events.

69

Get-FsrmAutoQuota

Gets auto apply quotas on a server.

70

Get-FsrmClassification

Gets the status of the running file classification.

71

Get-FsrmClassificationPropertyDefinition

Gets definitions of classification properties.

72

Get-FsrmClassificationRule

Gets classification rules.

73

Get-FsrmEffectiveNamespace

Gets a list of paths that match static namespaces.

74

Get-FsrmFileGroup

Gets file groups.

75

Get-FsrmFileManagementJob

Gets file management jobs.

76

Get-FsrmFileScreen

Gets file screens.

77

Get-FsrmFileScreenException

Gets file screen exceptions.

78

Get-FsrmFileScreenTemplate

Gets file screen templates.

79

Get-FsrmMacro

Gets FSRM-supported macros.

80

Get-FsrmMgmtProperty

Gets management properties.

81

Get-FsrmQuota

Gets FSRM quotas on the server.

82

Get-FsrmQuotaTemplate

Gets FSRM quota templates

83

Get-FsrmRmsTemplate

Gets a list of all RMS templates on the server.

84

Get-FsrmSetting

Gets the current FSRM settings.

85

Get-FsrmStorageReport

Gets storage reports.

86

New-FsrmAction

Returns an FSRM action object.

87

New-FsrmAutoQuota

Creates an auto apply quota.

88

New-FsrmClassificationPropertyDefinition

Creates a classification property definition.

89

New-FsrmClassificationPropertyValue

Creates a classification property value.

90

New-FsrmClassificationRule

Creates an automatic classification rule.

91

New-FsrmFMJNotification

Returns a notification object for file management jobs.

92

New-FsrmFileGroup

Creates a file group.

93

New-FsrmFileManagementJob

Creates a file management job.

94

New-FsrmFileScreen

Creates a file screen.

95

New-FsrmFileScreenException

 

  1. When can you not use this?
  2. When can you use this?

Creates a file screen exception.

 

  1. You cannot create a file screen exception on a folder for which you already have a file screen. 
  2. You must assign the exception to a subfolder or make changes to the existing file screen.

96

New-FsrmFileScreenTemplate

Creates a file screen template.

97

New-FsrmFmjAction

Returns an action object for file management jobs.

98

New-FsrmFmjCondition

Creates a file management property condition object.

99

New-FsrmFmjNotificationAction

Returns a notification action object for file management jobs.

100

New-FsrmQuota

Creates a FSRM quota.

101

New-FsrmQuotaTemplate

Creates a quota template.

102

New-FsrmQuotaThreshold

Returns a quota threshold object.

103

New-FsrmScheduledTask

Creates a scheduled task object.

104

New-FsrmStorageReport

Creates a storage report on the server.

105

Remove-FsrmAutoQuota

Removes an auto apply quota from a server.

106

Remove-FsrmClassificationPropertyDefinition

Removes classification property definitions.

107

Remove-FsrmClassificationRule

Removes classification rules.

108

Remove-FsrmFileGroup

Removes file groups from the server.

109

Remove-FsrmFileManagementJob

Removes file management jobs.

110

Remove-FsrmFileScreen

Removes a file screen.

111

Remove-FsrmFileScreenException

Removes a file screen exception.

112

Remove-FsrmFileScreenTemplate

Removes file screen templates.

113

Remove-FsrmMgmtProperty

Removes a management property.

114

Remove-FsrmQuota

Removes a FSRM quota from the server.

115

Remove-FsrmQuotaTemplate

Removes FSRM quota templates.

116

Remove-FsrmStorageReport

Removes storage reports.

117

Reset-FsrmFileScreen

Resets the default settings for all file screen parameters.

118

Reset-FsrmQuota

Updates configuration settings of a FSRM quota.

119

Send-FsrmTestEmail

Sends a test email message.

120

Set-FsrmAdrSetting

Changes configuration settings for access denied remediation.

121

Set-FsrmAutoQuota

Changes configuration settings of an auto apply quota.

122

Set-FsrmClassification

Changes configuration settings for classification.

123

Set-FsrmClassificationPropertyDefinition

Changes a classification property definition.

124

Set-FsrmClassificationRule

Changes configuration settings of classification rules.

125

Set-FsrmFileGroup

Changes configuration settings for file groups.

126

Set-FsrmFileManagementJob

Changes configuration settings of a file management job.

127

Set-FsrmFileScreen

Changes configuration settings of a file screen.

128

Set-FsrmFileScreenException

Changes configuration settings of a file screen exception.

129

Set-FsrmFileScreenTemplate

Changes configuration settings of a file screen template.

130

Set-FsrmMgmtProperty

Changes the setting of a management property.

131

Set-FsrmQuota

Changes configuration settings for a FSRM quota.

132

Set-FsrmQuotaTemplate

Changes configuration settings for FSRM quota templates.

133

Set-FsrmSetting

Changes global FSRM settings for the computer.

134

Set-FsrmStorageReport

Changes settings of a storage report.

135

Start-FsrmClassification

Starts the classification process.

136

Start-FsrmFileManagementJob

Starts a file management job.

137

Start-FsrmStorageReport

Starts generating storage reports.

138

Stop-FsrmClassification

Stops the running instance of a classification.

139

Stop-FsrmFileManagementJob

Stops the running instance of a file management job.

140

Stop-FsrmStorageReport

Stops the running instance of storage reports.

141

Update-FsrmAutoQuota

Updates the properties of an auto apply quota.

142

Update-FsrmClassificationPropertyDefinition

Updates the classification property definitions.

143

Update-FsrmQuota

Starts a quota scan on a path.

144

Wait-FsrmClassification

Waits for a period of time or until classification is finished running.

145

Wait-FsrmFileManagementJob

Waits for file management jobs to finish running.

146

Wait-FsrmStorageReport

Waits for a period of time or until storage reports is finished running.

147

How do you install FSRM from PowerShell?

Install-WindowsFeature -Name FS-Resource-Manager -IncludeManagementTools

148

 

  1. Create a Quota on the C:\Shares path, with a description, and using the 100 MB Limit template?
  2. Create a Quota on the C:\Shares path with a description and a quota of 1GB? 
  3. Create a Quota on the C:\Shares path with a soft quota of 1GB? 

  1. New-FsrmQuota -Path "C:\Shares" -Description "Some Description" -Template "100 MB Limit"
  2. New-FsrmQuota -Path "C:\Shares" -Description "Some Description" -Size 1GB
  3. New-FsrmQuota -Path "C:\Shares" -Size 1GB -SoftLimit

149

When you update a Quota Template what three options: 

  1. Apply template only to dervied quotas that match the original template 
  2. Apply template to all dervied quotas 
  3. Do not apply template to dervied quotas 

 

What does each option do?

  1. Apply auto apply quota only to derived quotas that match the original auto apply quota. – Translation: All existing quotas are changed to the new quota unless they have been changed. All new folders created will have the new quota applied.

  2. Apply auto apply quota to all derived quotas. – Translation: All existing quotas are changed to the new quota. (This includes any individual or one-off changes you may have made to individual folders/users.) All new folders created will have the new quota applied.

  3. Do not apply auto apply quota to derived quotas. – Translation: Existing quotas are not changed. All new folders created will have the new quota applied.

150

 

  1. Create a File Group with the Name MPx Media Files that blocks all files types that contain ".mp" except for ".mpp"

 

  1. New-FsrmFileGroup -Name "MPx Media Files"                    -IncludePattern "*.mp*" -ExcludePattern "*.mpp"

151

What are the two types of File Screens?

  • Passive -  allows the configured file types to be saved, but performs actions like logging or email notifications and can be useful for monitoring.
  • Active - blocks configured file types from being saved to the folder and sub-folders.

152

  1. Create a passive file screen on the C:\Shares using the file group "MPx Media Files" with a description. 
  2. Create a File Screen on C:\Shares from the Template "Block Image Files". 
  3. Create an active file screen on the C:\Shares with an email notification to the Admin, with the emails only going out ever 120 minutes, and using the group "Mpx Media Files"

  1. New-FsrmFileScreen -Path "C:\Shares" -Description "Some Description" -IncludeGroup "MPx Media Files"
  2. New-FsrmFileScreen -Path "C:\Shares" -Template "Block Image Files" 
  3. Run the following: 
    1. $Notification = New-FsrmAction -Type Email -MailTo "[Admin Email];[File Owner]" -Subject "Warning: attempted to create a non-HTML text file" -Body "You attempted to create a non-HTML text file. This is not allowed." -RunLimitInterval 120
    2. New-FsrmFileScreen -Path "C:\Shares" -IncludeGroup "MPx Media Files"  -Notification $Notification -Active

153

  1. You have a file screen placed on C:\Shares that blocks all photo files. You need to allow photos to be saved in only one place C:\Shares\Photos. Create a File Screen Exception

  1. New-FsrmFileScreenException -Path "C:\Shares\Photos" -IncludeGroup "Photos"

154

How would you create a FSRM Storage Report for the C:\Shares for Large Files and Files by File Group, minimum size being 10 MB and file group is Text Files via PowerShell?

 

New-FsrmStorageReport -Name "Find large files and file groups" -Namespace @("C:\Shares") -ReportType @("LargeFiles", "FilesByFileGroup") -LargeFileMinimum 10MB -FileGroupIncluded "Text files" -Interactive

155

How would you create a FSRM Classification Rule?

  • Expand Classification Management
  • Create a Classification property if needed 
  • Right-Click Classification Rules 
  • Enter a Name & Description 
  • Select a Scope (type of data and folders scanned)
  • Select a Classification Method
  • Enter a parameter to classify the data (Regular Expression or String) 
  • Set Evaluation Types 
    • Re-evaluate exisiting property values
      • Overwrite exisiting value 
      • Aggregate the values (Higher prority wins)

156

What Action can you create a File Management Task to do?

  • File expiration
  • RMS Encryption
  • Custom - (Email & Scripts/EXE)

157

How do you install the DFSR and DFSN Role? 

  1. DFSR: Install-WindowsFeature -Name "FS-DFS-Replication" -IncludeManagementTools
  2. DFSN: Install-WindowsFeature -Name "FS-DFS-Namespace" -IncludeManagementTools

158

  1. Create a 2008 mode Domain Namespace for the domain Contoso, the name Resources, and on the Contoso-FS Server
  2. Create a stand alone Namespace for the Domain Contoso, Named Software, on the Contoso-FS Server

  1. New-DfsnRoot -TargetPath "\\Contoso-FS\Resources" -Type DomainV2 -Path "\\Contoso\Resources"
  2. New-DfsnRoot -TargetPath "\\Contoso-FS\Software" -Type Standalone -EnableSiteCosting -Path "\\Contoso\Software"

159

How do you create a fault taulerant Domain Namespace?

Add a second Namespace server as a replica namespace 

160

Dfsdiag /TestDCs

Checks domain controller configuration.

161

Dfsdiag /TestSites

Checks site associations.

162

Dfsdiag /TestDFSConfig

Checks DFS Namespace configuration.

163

Dfsdiag /TestDFSIntegrity

Checks DFS Namespace integrity.

164

Dfsdiag /TestReferral

Checks referral responses.

165

What are the characteristics of DFS Replication?

  • RDC 
  • Uses a staging folder to stage a file before sending or receving it 
  • Detects changes on the volume by monitoring the USN journal 
  • Uses a vector version exchange protocol 
  • Recovers from failure 

166

What are the different types of DFS Topologies?

  1. Full Mesh - Every Server has the same file 
  2. Hub and Spoke - Master Server pushes out to member servers 
  3. No topology - Can also create a custom topology 

167

Where would you find namespace referals settings?

The Namespace Properties

168

  1. How woud you create a namespace folder in PowerShell?
  2. How would you add a second folder in PowerShell?

  1. New-DfsnFolder -Path "" -TargetPath "" -EnableTargetFailback $True
    1. ex. New-DfsnFolder -Path "\\Domain\AccountingResources\LegacySoftware" -TargetPath "\\ServerName\AccountingLegacy" -EnableTargetFailback $True -Description "Folder for legacy software."
  2. New-DfsnFolderTarget -Path "" -TargetPath ""

169

How do you set up a replicated folder on two servers? (GUI)

  • Add a New folder to the Namesapce 
    • Select Each Server and the folder target 
  • Create a Replication Group 
    • Create a Name 
    • Add the servers for the members 
    • Select the topology 
    • Set the schedule and bandwidth
    • Select the primary Member
    • Select the folders to replicate 

170

How do you set up a replication group in PowerShell?

  • New-DfsReplicationGroup -GroupName ""
    • ​Creates a new Replication Group
  • New-DfsReplicatedFolder -GroupName "" -FolderName ""
    • ​Creates a new Replicated Folder 
  • Add-DfsrMember -ComputerName ","
    • ​Adds computers to a replication group 
  • Add-DfsrConnection -GroupName "" -SourceComputerName "" -DestinationComputerName ""
    • ​Creates a connection between two computers. One will be the downstream computer 
  • Set-DfsrMembership -GroupName "" -FolderName "" -ComputerName "," -ContentPath ""
    • ​Edits membership for servers specified and adds a what folder will be replicated 

171

 

  1. Where would you edit the replication schedule for a replication group?
  2. How would you edit the replicaiton schedule for a replication group in PowerShell? 
    1. Edit the Schedule for All Days 
    2. A specific day edit

 

  1. To edit the schedule: 
    1. Expand the replicaiton groups 
    2. Right-Click the group, Select Properties 
    3. Select Edit Schedule 
  2. In PowerShell:
    1. Set-DfsrGroupSchedule -GroupName "" -ScheduleType "
    2. Set-DfsrGroupSchedule -GroupName "" -Day -BandwidthDetail
      1. Bandwidth info (not needed for answer): 
  • 0 = No replication
  • 1 = 16 kilobits per second (Kbps)
  • 2 = 64 Kbps
  • 3 = 128 Kbps
  • 4 = 256 Kbps
  • 5 = 512 Kbps
  • 6 = 1 megabit per second (Mbps)
  • 7 = 2 Mbps
  • 8 = 4 Mbps
  • 9 = 8 Mbps
  • A = 16 Mbps
  • B = 32 Mbps
  • C = 64 Mbps
  • D = 128 Mbps
  • E = 256 Mbps
  • F = Full bandwidth replication

172

Where do deleted or conflict files go?

It gets stored in your DFS private folder in the Conflicts and Deleted folder 

173

What are the types of Diagnostic reports for Replication?

  1. Health Report - 
  2. Propagation Test 
  3. Propagatiion Report 

174

  1. Health Report 
  2. Propagation Test 
  3. Propagation Report 

  1. Health Report - Generates a rport that shows the replication health and efficiency 
  2. Propagation Test  - Test replication progress by creating a test file in a replicted folder 
  3. Propagation Report - Generates a report that tracks the replication progress of a proagation test 

175

How big should you staging folder be?

 

  • At a minimum, the staging folder quota should be at least the size of the 32 largest files in the replicated folder, or the 16 largest files for read-only replicated folders.

 

 

Note: To find the files run:

(Get-ChildItem -recurse –force | Sort-Object length -descending | select-object -first 32 | measure-object -property length -sum).sum /1gb 

176

 

What are some events/configurations that you might need to change the staging size or make some modification to DFSR?

  • You are Replicate multiple large files that change frequently, increase the staging quota
  • You have a hub and spoke configuration, increase the staging quota 

  • If you are concerned about free disk space, lower the staging quota

  • If you see the Event ID 4208 multiple times in an hour, increase the staging quota by 20 percent

  • You want to improve input/out (I/O), place the replicated folders on different physical disks 

177

 

 

How would you add a server to a DFS Replication group and preseed the files?

  • New-DfsReplicationGroup -GroupName $DfsrReplicationGroupName
  • New-DfsReplicatedFolder -GroupName $DfsrReplicationGroupName -FolderName $DfsrReplicatedFolderName
  • Add-DfsrMember -GroupName $DfsrReplicationGroupName -ComputerName $DFSRComputername
  • Set-DfsrMembership -GroupName $DfsrReplicationGroupName -FolderName $DfsrReplicatedFolderName -ContentPath $DfsrReplicatedFolderPath -ComputerName $DFSRComputername -PrimaryMember $True
  • Wait for event 4112 in the DFS Replication log (Under Applications and Services Logs)
  • Export-DfsrClone -Volume $DfsrCloneVolume -Path $DfsrCloneVolume\$DfsrCloneDir
  • Robocopy.exe "H:\RF01" "\\Srv02\H$\Rf01" /E /B /COPYALL /R:6 /W:5 /MT:64 /XD DfsrPrivate /TEE /LOG+:preseed.log
  • Robocopy.exe "H:\DfsrClone" "\\Srv02\H$\DfsrClone" /B
  • Get-ChildItem -path "H:\System Volume Information\dfsr" -hidden
  • Get-DfsrMembership | Where-Object -Property ContentPath -Like H:\* | Format-Table

  • Run the following:

    • Stop-Service DFSR

    • Remove-Item –path "H:\system volume information\dfsr" –recurse -force

    • Start-Service DFSR

  • Import-DfsrClone -Volume h: -Path "h:\Dfsrclone"

  • Add-DfsrMember -GroupName $DfsrReplicationGroupName -ComputerName $DfsrDestinationComputerName

  • Add-DfsrConnection -GroupName $DfsrReplicationGroupName -SourceComputerName $DfsrSourceComputerName –DestinationComputerName $DfsrDestinationComputerName

  • Set-DfsrMembership -GroupName $DfsrReplicationGroupName -FolderName $DfsrReplicatedFolderName -ContentPath $DfsrReplicatedFolderPath -ComputerName $DfsrDestinationComputerName

  • Wait for event 4104

178

How does recovering a corrupted DFS replication database differ from a clone?

 

How would you do this?

You will need to remove the member.

 

Remove-DfsrMember –GroupName –ComputerName