Which approach should you recommend?

Correct Answer for the following Question is given below

You are designing a custom SharePoint 2010 solution package. It will include a feature that contains a Web Part, which requires a custom assembly for its functionality. You need to design the feature based on the following requirements:. The Web Part must be a partial trust application and support a custom Code Access Security (CAS) policy.. The solution package must be deployed without the need of farm-level administrator permissions.Which approach should you recommend?Sandboxed Solutions Architecture in SharePoint 2010http://msdn.microsoft.com/en-us/library/office/ee539417(v=office.14).aspx

Question:

Which approach should you recommend?

Options:

Create the Web Part feature and deploy the required assembly to the bin directory of only the Web applications that require it. Then delegate administration to the site administrator. Lastly, create a custom CAS policy file and point to it the web.config file of the application.

Create the Web Part feature assembly with a strong name and deploy it using a .wsp file to the _app_bin directory of all Web applications where it is needed. Then activate it using delegated administration.

Create an assembly with a strong name and deploy it to the global assembly cache at the farm level. Activate the feature at the site collection level with delegated administration.

Create the Web Part feature as a sandboxed solution.

Correct Answer

The Correct Answer for this Question is

Create the Web Part feature as a sandboxed solution.

Explanation

The Question – Which approach should you recommend? has been answered correctly and answers for the question is Create the Web Part feature as a sandboxed solution.

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