Sreejobs Logo
   For Latest Job Updates  
sreenutech.com Online Exams
Home Govt Jobs IT Fresher Jobs IT Exp Jobs IT Walk-Ins MBA Jobs BPO Jobs Register FAQ’s Post Job Contact Us
Search:
SreeJob Fees   Feeds
Hot Jobs
Welcome Guest
Login | Register
Total No Of Questions: 100.
1) You have a custom Web Part that is deployed as a sandboxed solution.You need to ensure that the Web Part can access the local file system on a SharePoint server. You must minimize the amount of privileges assigned to the Web Part.What should you do?


2) You are creating an application page that will open a dialog box. The dialog box uses a custom master page.You write the following code segment. (Line numbers are included for reference only.) 01 02 function?DialogCallback(dialogResult,?returnValue){} 03 function?OpenEditDialog(id){? 04 var?options?=?{? url:”http://intranet/_layouts/MsgToShow.aspx, width:?300,? 05 height:?300,? 06 dialogReturnValueCallback:?DialogCallback? 07 };? 08 SP.UI.ModalDialog.showModalDialog(options);? 09 } 10 You need to ensure that the code opens the dialog box.What should you do?


3) You create a custom Web Part.You need to verify whether the Web Part causes any memory leaks.Which tool should you use?


4) You need to send a single value from a consumer Web Part to a provider Web Part. Which interface should you use?


5) You create a custom Web Part.You need to create a class to log Web Part errors to the Unified Logging Service (ULS) logs.What should you use?


6) You have a Web Part named WebPart1. WebPart1 runs on a Microsoft Office SharePoint Server 2007 server.You need to ensure that WebPart1 can run as a sandboxed solution in SharePoint Server 2010.What should you do?


7) You have a document library named MyDocs. MyDocs has a column named Column1. Column1 is a required column.You discover that many documents are checked out because users fail to enter a value for Column1.You need to create a Web Part to delete the documents. Which code segment should you include in the Web Part?


8) You create a workflow named WF1. WF1 is attached to a list named List1.You need to receive an e-mail notification if WF1 is postponed.What should you do?


9) You need to disable the CriticalExceptionCount measure for all user solutions. You write the following code segment. (Line numbers are included for reference only.) 01SPUserCodeService?userCode?=?SPUserCodeService.Local; 02SPResourceMeasureCollection?measures?=?userCode.ResourceMeasures; 03SPResourceMeasure?measure?=?measures["CriticalExceptionCount"]; 04? 05measure.Update(); Which code segment should you add at line 04?


10) You have a timer job that has the following constructors. (Line numbers are included for reference only.) 01public?TimerJob1?()?:?base()?{?} 02public?TimerJob1(SPWebApplication?wApp) You need to ensure that the timer job runs on the first available timer server only. Which base class constructor should you use at line 02?
Page 1 of 10
Home | Register for Job Updates | Contact Us