Microsoft Exam Questions

Which command should you run to restore the site collection?

You configure a SharePoint Server 2010 Service Pack 1 (SP1) server farm. You need to perform
backup and restore of a site collection and its content database by using Windows PowerShell.
Which command should you run to restore the site collection?

A.
Backup-SPFarm -Directory \\FileServer_Name\SharePointBackupFolder -BackupMethod Full

B.
Restore-SPSite http://localhost -Path \\FileServer_Name\SharePointBackupFolder SiteBackup.bak
-Force

C.
Backup-SPSite http://localhost -Path \\FileServer_l\lame\SharePointBackupFolder\SiteBackup.bak

D.
Restore-SPFarm -Directory \\FileServer_Name\share\site_name.bak -RestoreMethod Overwrite –
Item “Farm\Microsoft SharePoint Foundation Web Application\AdventureWorks”

E.
Backup-SPFarm -Directory \\FileServer_Name\SharePointBackupFolder -BackupMethod Full -Item
WSS_AdventureWorks

F.
Backup-SPFarm -Directory \\FileServer_Name\SharePointBackupFolder -Item “Farm\Microsoft
SharePoint Foundation Web Application\AdventureWorks” -BackupMethod Full

G.
Restore-SPFarm -Directory \\FileServer_Name\share\site_name.bak -RestoreMethod Overwrite –
ConfigurationOnly

H.
Restore-SPFarm -Directory \\FileServer_Name\share\site_name.bak -RestoreMethod Overwrite –
Item WSS_AdventureWorks

Explanation: