exam questions

Exam 70-339 All Questions

View all questions & answers for the 70-339 exam

Exam 70-339 topic 1 question 85 discussion

Actual exam question from Microsoft's 70-339
Question #: 85
Topic #: 1
[All 70-339 Questions]

You are a SharePoint Administrator for Contoso, Ltd.
While doing weekly maintenance you discover that a web application at http://sharepoint.contoso.com has an orphan site. The orphan site is located in the
WSS_Content database.
You need to resolve the issue.
What should you do?

  • A. Run the following Windows PowerShell command:$wa = Get-SPWebApplicationhttp://sharepoint.contoso.com$wa.Sites.SyncRoot
  • B. In Central Administration, select the http://sharepoint.contoso.comweb application. Select the database that contains the orphaned site. Select Remove database and click OK. Run the Windows PowerShell cmdletDismount-SPContentDB.
  • C. Run the following Windows PowerShell command:$ContentDb = "WSS_Content"$db = Get-SPDatabase | where {$_.name ""eq $ContentDb}Remove- SPContentDatabase $dbMount-SPContentDatabase ""WebApplicaionhttp://sharepoint.contoso.com""Name $ContentDb
  • D. Run the following Windows PowerShell command:$wa = Get-SPWebApplicationhttp://sharepoint.contoso.com$wa.Sites[0].Dispose();
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Suprotim
4 years, 3 months ago
Option B is wrong. It will be correct if you use PS to Mount and not Dismount.
upvoted 1 times
...
Oyros
4 years, 4 months ago
Makes no sense to dismount the DB un the CA and then use the PS to dismount it again, unless there is a typo and the PS is to Mount the DB again. In that case, there are missing parameters.
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago