Note: This questions is part of series of questions that use the same or similar answer choices.
An answer choice may be correct for more than one question in the series.
Each question is independent of the other questions in this series.
Information and details provided in a question apply only to that question.
Your network contains one Active Directory forest named contoso.com.
The forest contains two child domains and six domain controllers.
The domain controllers are configured as shown in the following table.
You need to prevent administrators from accidentally deleting any of the sites in the forest.
What should you use?
A.
Set-ADSite
B.
Set-ADReplicationSite
C.
Set-ADDomain
D.
Set-ADReplicationSiteLink
E.
Set-ADGroup
F.
Set-ADForest
G.
Netdom
Explanation:
The Set-ADReplicationSite sets the replication properties for an Active Directory site.
Parameter: -ProtectedFromAccidentalDeletion<Boolean> Specifies whether to prevent the object
from being deleted. When this property is set to $True, you cannot delete the corresponding
object without changing the value of the property. The acceptable values for this parameter are:
— $False or 0
— $True or 1
https://technet.microsoft.com/en-us/library/hh852305(v=wps.630).aspx
This is a tricky question. We are to protect any site from accidental deletion in the forest. It seems the only way possible is to protect all the sitelinks connecting all the sites from accidental deletion. This in effect helps protect the sites.
The answer shows it is talking about the SITE not the site link. If you’re not sure google the command Set-ADReplicationSite .
set-adsite and set-adforest both has no switches to protect a site form deletion
Set-ADSite: https://technet.microsoft.com/en-us/library/bb124548(v=exchg.160).aspx
Set-ADForest: https://technet.microsoft.com/en-us/library/ee617221.aspx
Set-ADReplicationSite -ProtectedFromAccidentalDeletion
Set-ADReplicationSite