Developing Microsoft SharePoint Server 2016 Solutions Quiz Questions and Answers

What is the central concept of JavaScript injection in SharePoint Online?

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.

What is the recommended approach for querying and retrieving data from SharePoint lists?

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.

Question:When working with the Client-Side Object Model for JavaScript, which method is used to create a new list item in a SharePoint list?

Answer :
  • createListItem

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.

Question: How does managing permissions programmatically in SharePoint 2016 benefit developers?

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.

Which method 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 :
  • 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.

When working with large lists in SharePoint, what should developers consider to ensure efficient performance?

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.

Which classes in the server-side SharePoint object model represent different items in the logical architecture of a SharePoint deployment?

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.

Question:When using the Client-Side Object Model for Managed Code in SharePoint development, what is the primary advantage it offers?

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.

Question: How can developers customize the authentication experience in SharePoint 2016?

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.

Question:What is the purpose of using the REST API with JavaScript in SharePoint development?

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.