Microsoft Exam Questions

You need to break the permissions inheritence for the subsite

You configure a SharePoint Server 2013 Service Pack1 (SP1) server farm. You create a
SharePoint site collection named http://www.contoso.com that has a subsite named http://
contoso.com/sales.
You need to break the permissions inheritence for the subsite. You also need to ensure that
groups from the parent site are retained.
What should you do?

A.
Add User1 to the Site Owners group.

B.
From the SharePoint 2013 Management Shell, run the following cmdlet:
Enable-SPFeatureViewFormPagesLockdown -Url http://www.contoso.com

C.
Grant Full Control permissions to the Sales SharePoint user group.

D.
From the SharePoint 2013 Management Shell, run the following script:
$spWeb = Get-SPWeb “http://www.contoso.com/sales” $spWeb.BreakRoleInheritance($true) $spWeb.
Dispose( )

E.
GrantDesign permissions to the Sales SharePoint user group.

F.
From the SharePoint 2013 Management Shell, run the following cmdlet:
Enable-SPFeatureDocumentSet -Url “http://www.contoso.com”

G.
Add User1 as a site collection administrator.

H.
From the SharePoint 2013 Management Shell, run the following cmdlet:
Disable-SPFeatureViewFormPagesLockdown -Url “http://www.contoso.com”

I.
From the SharePoint 2013 Management Shell, run the following cmdlet:
Disable-SPFeatureDocumentSet -Url “http://ww.contoso.com”

J.
From the SharePoint 2013 Management Shell, run the following script:
$spWeb = Get-SPWeb “http://www.contoso.com/sales” $spWeb.BreakRoleInheritance($false) $spWeb.
Dispose( )

Explanation:
trueto break role inheritance but to copy the role assignments; otherwise, falseto make
the current user a Web site administrator