Microsoft Sharepoint 2013 SharePoint 2013 Development and Customization 2 — Questions and Answers
Question 1: In SharePoint 2013, what is the Content Type Hub used for?
- Storing all site content types locally
- Centrally publishing content types across site collections (Correct answer)
- Managing hub-and-spoke site hierarchies
- Controlling content approval workflows
Correct answer: Centrally publishing content types across site collections
The Content Type Hub in SharePoint 2013 allows administrators to centrally publish and syndicate content types to all site collections subscribed to the Managed Metadata Service.
Question 2: What SharePoint 2013 API endpoint format is used to access list items via REST?
- /_api/lists/getbytitle('ListName')/items (Correct answer)
- /rest/lists/ListName/items
- /_vti_bin/lists.asmx
- /api/v1/lists/ListName
Correct answer: /_api/lists/getbytitle('ListName')/items
The SharePoint 2013 REST API uses the /_api/ path prefix, and list items are accessed via /_api/lists/getbytitle('ListName')/items.
Question 3: In SharePoint 2013, what is a Sandboxed Solution?
- A solution deployed only to test environments
- A solution that runs in a restricted process isolated from the farm (Correct answer)
- A solution for SharePoint Online only
- A solution deployed without administrator approval
Correct answer: A solution that runs in a restricted process isolated from the farm
A Sandboxed Solution in SharePoint 2013 runs in an isolated worker process with restricted permissions, preventing it from affecting the entire farm.
Question 4: Which SharePoint 2013 object model namespace is used for server-side code?
- Microsoft.SharePoint.Client
- Microsoft.SharePoint (Correct answer)
- SharePoint.Server
- System.SharePoint
Correct answer: Microsoft.SharePoint
Microsoft.SharePoint is the primary namespace for server-side SharePoint 2013 object model, while Microsoft.SharePoint.Client is for CSOM.
Question 5: What is the purpose of the SharePoint 2013 Design Manager?
- Manage site permission design
- Import HTML designs and convert them to SharePoint master pages and page layouts (Correct answer)
- Configure search result page designs
- Manage SharePoint theme color schemes
Correct answer: Import HTML designs and convert them to SharePoint master pages and page layouts
Design Manager in SharePoint 2013 enables web designers to upload HTML/CSS designs which SharePoint converts into master pages and page layouts for Publishing sites.
Question 6: In SharePoint 2013, what is a Display Template used for?
- Defining how records are displayed in the Records Center
- Controlling how search results and Content Search Web Part items are rendered (Correct answer)
- Managing user profile display settings
- Configuring calendar event display formats
Correct answer: Controlling how search results and Content Search Web Part items are rendered
Display Templates in SharePoint 2013 are HTML/JavaScript files that control how search results and Content Search Web Part items are rendered to end users.
In SharePoint 2013, what is the Content Type Hub used for?