Which two actions should be performed?

Correct Answer for the following Question is given below

You are designing a SharePoint 2010 application that will be used across multiple Web applications. A custom list definition is deployed to every site collection in the farm. Your application must include a report that shows how often the new list is provisioned anywhere in the farm. The application must enable permissions to be granted to specific users to view the report, without the redeployment of code. You need to design a system for logging and reporting this activity.Which two actions should be performed? (Each correct answer presents part of the solution. Choose two.)

Question:

Which two actions should be performed?

Options:

Create an event handler and register it with the List Added event of your custom list definition. In the event handler, connect to the logging service and log the list creation event. Deploy the event handler to every site collection in the farm.

Create a list workflow and bind it to the custom list definition. When the Item Added event executes, connect to the logging service and log the list creation event. Deploy the workflow to every site collection in the farm.

Create a Web service that adds a row to a custom database each time a list is created. Create an application page that displays a report of logged activity. Grant specific users permission to view the page in the codebehind of the application page. Deploy the page to Central Administration.

Create a service application that adds a row to a custom database each time a list is created, and displays a report of the logged activity. Create an instance of the service application that can be used by every Web application in the farm. Grant specific users permission to view the report from the Services Applications tab in Central Administration.

Correct Answer

The Correct Answer for this Question is

Create an event handler and register it with the List Added event of your custom list definition. In the event handler, connect to the logging service and log the list creation event. Deploy the event handler to every site collection in the farm.
Create a service application that adds a row to a custom database each time a list is created, and displays a report of the logged activity. Create an instance of the service application that can be used by every Web application in the farm. Grant specific users permission to view the report from the Services Applications tab in Central Administration.

Explanation

The Question – Which two actions should be performed? has been answered correctly and answers for the question is Create an event handler and register it with the List Added event of your custom list definition. In the event handler, connect to the logging service and log the list creation event. Deploy the event handler to every site collection in the farm.
Create a service application that adds a row to a custom database each time a list is created, and displays a report of the logged activity. Create an instance of the service application that can be used by every Web application in the farm. Grant specific users permission to view the report from the Services Applications tab in Central Administration.

More about these Exams

These Exam Questions and the order of these questions keep changing. but the answers are obviously same. so if you don’t find a question after another we suggest you search it in the search box and we are sure you’ll find it. you can bookmark this site for Quick access in future.

We hope you found it helpful don’t forget to leave a comment if you feel a need to correct or ask we’re always here to help.

you can find more here at mnccertified

Feel free to contact via comment or email.

Happy Learning

Cheers, Team MNCcertified

Leave a Comment