nerdexam
Microsoft

70-332 · Question #81

You need to resolve the SharePoint database error. What should you do?

The correct answer is D. Add the managed path for the site collection to the web application. SharePoint requires managed paths to be defined on the web application so it can recognize and serve site collection URLs stored in attached content databases.

Configure and manage SharePoint environment

Question

You need to resolve the SharePoint database error. What should you do?

Options

  • AAdd a new request URL mapping to the web application.
  • BRemove the orphaned objects from the database.
  • CSet the databases to read-write.
  • DAdd the managed path for the site collection to the web application.

How the community answered

(27 responses)
  • A
    4% (1)
  • B
    4% (1)
  • C
    11% (3)
  • D
    81% (22)

Why each option

SharePoint requires managed paths to be defined on the web application so it can recognize and serve site collection URLs stored in attached content databases.

AAdd a new request URL mapping to the web application.

Adding a request URL mapping changes how IIS routes requests to web applications but does not resolve the missing managed path that prevents SharePoint from recognizing the site collection URLs in the database.

BRemove the orphaned objects from the database.

Removing orphaned objects addresses stale references left behind after deletions but does not resolve the structural issue of a missing managed path that causes URL routing failures.

CSet the databases to read-write.

Setting databases to read-write changes the access mode of the database but does not address the managed path configuration needed for SharePoint to serve the site collections contained in the database.

DAdd the managed path for the site collection to the web application.Correct

When a content database is attached or restored, SharePoint must have a matching managed path configured on the web application for each site collection URL pattern such as /sites/ or /personal/. If the managed path does not exist, SharePoint cannot resolve the site collection URL, resulting in a database error. Adding the correct managed path allows the web application to correctly route requests to the site collections in that database.

Concept tested: SharePoint managed paths and site collection URL resolution

Source: https://learn.microsoft.com/en-us/sharepoint/administration/define-managed-paths

Topics

#managed paths#web application#site collection#database error

Community Discussion

No community discussion yet for this question.

Full 70-332 Practice