Developing Microsoft SharePoint Server 2016 Solutions Quiz Questions and Answers

Answer :
  • Uploading custom JavaScript code to SharePoint Online

Explanation :

The central concept of JavaScript injection in SharePoint Online is uploading scripts containing custom JavaScript code to SharePoint Online and executing them using the permissions of the current user.
Answer :
  • Using query classes and LINQ to SharePoint

Explanation :

The recommended approach for querying and retrieving data from SharePoint lists is to use query classes and LINQ to SharePoint, providing a more efficient and structured way to interact with list data.
Answer :
  • addItem

Explanation :

The createListItem method is used when working with the Client-Side Object Model for JavaScript to create a new list item in a SharePoint list, allowing developers to dynamically add data to lists.
Answer :
  • Allows for dynamic assignment of permissions based on conditions

Explanation :

Managing permissions programmatically in SharePoint 2016 enables developers to dynamically assign permissions based on specific conditions or criteria, enhancing flexibility in access control.
Answer :
  • JavaScript Injection

Explanation :

JavaScript Injection is used to extend a SharePoint site by adding new pages and custom JavaScript code that makes use of the JavaScript Object Model (JSOM) and the SharePoint REST API.
Answer :
  • Implementing pagination for data retrieval

Explanation :

When working with large lists in SharePoint, developers should consider implementing pagination for data retrieval to ensure efficient performance and avoid overloading the system.
Answer :
  • Site Collections and Sites

Explanation :

The server-side SharePoint object model includes classes that represent different items in the logical architecture of a SharePoint deployment, such as site collections and sites.
Answer :
  • Ability to interact with SharePoint from client-side applications

Explanation :

The Client-Side Object Model for Managed Code allows developers to interact with SharePoint directly from client-side applications, enhancing flexibility and user experience.
Answer :
  • By creating custom login pages and forms

Explanation :

Developers can customize the authentication experience in SharePoint 2016 by designing and implementing custom login pages and forms tailored to their specific requirements.
Answer :
  • To handle asynchronous operations efficiently

Explanation :

The REST API with JavaScript is commonly used in SharePoint development to handle asynchronous operations effectively, enhancing responsiveness in client-side applications.