Chinese(T) | English
contact me
User Login
Username:
Password :

MS Office SharePoint Server

Index >> Microsoft >> MCTS >> "70-542"Exam

VUE/Prometric Code:70-542

Exam Name:MS Office SharePoint Server
Questions and Answers:55 Q&As
Price:$ 79
Updated:2008-12-01
MS Office SharePoint Server
Test Q&A Updated Price
70-542 55 Q&A 2008-12-01 $ 79

please download in PDF format Demo: 70-542

killtest 70-542 Exam Features

High quality and Value for the 70-542 Exam.
Killtest Practice Exams for MS Office SharePoint Server 70-542 are written to the highest standards of technical accuracy, using only certified subject matter experts and published authors for development.

100% Guarantee to Pass Your MCTS exam and get your MCTS Certification.
We guarantee your success in the first attempt. If you do not pass the 70-542 (MS Office SharePoint Server) on your first attempt we will give you a FULL REFUND of your purchasing fee AND send you another same value product for free.

killtest 70-542 Downloadable.
Printable Exams (in PDF format) Our Exam 70-542 Preparation Material provides you everything you will need to take your MCTS exam. The MCTS Certification details are researched and produced by Professional Certification Experts who are constantly using industry experience to produce precise, and logical. You may get MCTS exam questions from different web sites or books, but logic is the key. Our Product will help you not only pass in the first MCTS exam try, but also save your valuable time .

  • Comprehensive questions with complete details about 70-542 exam.
  • 70-542 exam questions accompanied by exhibits.
  • Verified Answers Researched by Industry Experts and almost 100% correct.
  • Drag and Drop questions as experienced in the Real MCTS exam.
  • 70-542 exam questions updated on regular basis.
  • Like actual MCTS Certification exams, 70-542 exam preparation is in multiple-choice questions (MCQs).
  • Tested by many real MCTS exams before publishing.
  • Try free MCTS exam demo before you decide to buy it in http://www.Killtest.com.

High quality and Value for the 70-542 Exam:100% Guarantee to Pass Your MCTS exam and get your MCTS Certification.

http://www.Killtest.com The safer.easier way to get MCTS Certification.

We offer Demo version of Q&A, Q&A are as follows (not to provide picture):

70-542:please download 70-542 in PDF format Demo 70-542

1.You implement a custom function as a user-defined function (UDF) in Excel Services in Microsoft Office SharePoint Server 2007. A Microsoft Office Excel 2007 workbook uses the custom function to generate a random number between 100 and 500. You need to generate a new random number each time you load the workbook. Which code segment should you use?
A.public class MyUdfs { Random rand = new Random(); [UdfMethod] public int GetRandomNumber() { return (rand.Next(100, 500)); } }
B.[UdfClass] public class MyUdfs { Random rand = new Random(); [UdfMethod(IsVolatile=true)] public int GetRandomNumber() { return (rand.Next(100, 500)); } }
C.[UdfClass] public class MyUdfs { Random rand = new Random(); public int GetRandomNumber() { return (rand.Next(100, 500)); } }
D.public class MyUdfs { Random rand = new Random(); public int GetRandomNumber() { return (rand.Next(100, 500)); } }
Correct:B
2.You create a Microsoft Office SharePoint Server 2007 site. A document library named CompanyWorkbooks on the site contains Microsoft Office Excel workbooks. You need to ensure that users can access the workbooks in the CompanyWorkbooks document library by using Excel Services in Microsoft Office SharePoint Server 2007. What should you do?
A.Define the site as a managed path within SharePoint.
B.Add the CompanyWorkbooks URL to the trusted location list.
C.Edit the permissions of the CompanyWorkbooks document library to grant full control to the SharePoint application pool identity account.
D.Create a custom security policy file for the CompanyWorkbooks document library. Add the file to the securityPolicy section of the Web.config file for the site.
Correct:B
3.You are designing a Microsoft Office SharePoint Server 2007 solution. A Microsoft SQL Server 2005 Analysis Services cube stores key performance indicators (KPIs). You need to display details of a KPI in a Web Part. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
A.Create a KPI List.
B.Add a List Item Web Part.
C.Create a .odc file for the data connection.
D.Create a .udl file for the data connection.
E.Create a Business Data Catalog (BDC) definition.
Correct:A C
4.You create an application for a Microsoft Office SharePoint Server 2007 server. You create a call center dashboard. You create a Key Performance Indicator (KPI) list that contains KPIs. You add a KPI Web Part to the dashboard to view KPIs. You need to permit users to view details that make up each KPI. What should you do?
A.Add a link to each KPI in the list to take the user to a details page.
B.Add data to a custom SharePoint list and use built-in filter and view capabilities.
C.Add a Filter Web Part to the dashboard page and connect the page to the KPI list Web Part.
D.Filter the items in the KPI list Web Part by the indicator that the user wants to view.
Correct:A
5.You are creating a Microsoft Office SharePoint Server 2007 Report Center Web site. Your company stores product data in a Microsoft SQL Server 2005 database named Product Management. You need to ensure that the product data is available for use in Microsoft Office Excel 2007 reports. What should you do?
A.Upload a custom Office Data Connection file to the Data Connections library.
B.Upload a custom set of Microsoft SQL Server Reporting Services Report Model files to the Data Connections library.
C.Create a single sign-on (SSO) provider that manages access to the Product Management database.
D.Create a Business Data Connection for the Product Management database, and define entities in the Business Data Catalog (BDC) definition.
Correct:A
6.You are developing a Microsoft Office SharePoint Server 2007 solution that integrates with Microsoft SQL Server 2005 Reporting Services. You need to configure the SharePoint solution to allow storage of reports in SharePoint document libraries. What should you do?
A.Specify the Report Server URL in the Report Explorer Web Part.
B.Configure the proxy server endpoint in the Reporting Services Configuration tool.
C.Specify a Report Explorer Web Part as the target for the Report Viewer Web Part.
D.Specify a Report Viewer Web Part as the target for the Report Explorer Web Part.
Correct:B
7.You are creating a Microsoft Office SharePoint Server 2007 application. The application reads data from the Microsoft Office Excel 2007 workbook named SalesGoals.xls. SalesGoals.xls is located in a document library. The first sheet of the SalesGoals.xls workbook contains the following information.

A.Instantiate a new RangeCoordinates object.
B.Instantiate the Microsoft Office Excel Web Services service.
C.Call the GetRangeA1 method by passing B3:D3 as a parameter.
D.Call the GetRange method along with a RangeCoordinates object by using the following parameters. Column=2, row=3, height=1, width=3
Correct:B C
8.You have a Microsoft Office SharePoint Server 2007 site. You create a Microsoft Office Excel 2007 workbook that contains the telephone numbers of all your company locations. You need to ensure that users can filter the Excel 2007 workbook on the basis of company locations by using Excel Services in Microsoft Office SharePoint Server 2007. What should you do?
A.Create an ActiveX control in the workbook.
B.Create an Excel 2007 Microsoft Visual Basic for Applications (VBA) application in the workbook.
C.Filter the workbook by using the Data-Filter option of the Excel 2007 workbook.
D.Filter the list in place by using Excel 2007, and protect the Excel 2007 workbook that contains the telephone numbers.
Correct:C
9.Your company stores employee details in a Microsoft SQL Server database. You are creating a Report Center site on a Microsoft Office SharePoint Server 2007 server. You need to ensure that a report on employee details can be generated in the Report Center site. What should you do?
A.Add the Data Connections library to the trusted file locations.
B.Import the application definition to the Business Data Connector.
C.Import the Office Data Connection file to the trusted data providers.
D.Create an Office Data Connection file in a trusted Data Connections library.
Correct:D
10.You are creating two user-defined functions (UDFs) of Excel Services in Microsoft Office SharePoint Server 2007. You write the following code segment. Public class Class1 { public double MyDouble (double d) { return d * 9; } public DateTime ReturnDateTimeToday () { return ( DateTime.Today ); } } You need to ensure that the MyDouble method and the ReturnDateTimeToday method are recognized as UDFs of Excel Services. What should you do?
A.Add a reference to the Excel Services DLL.
B.Change the methods from public to private.
C.Add an out parameter to each of the method statements.
D.Mark the class by using the UdfClass attribute and mark the methods by using the UdfMethod attribute.
Correct:D
11.You are designing a Microsoft Office SharePoint Server 2007 solution. You need to implement a Single Sign On (SSO) provider to access a Business Data Catalog (BDC). What should you do?
A.Reference the Microsoft.SharePoint.Portal assembly.
B.Reference the Microsoft.SharePoint.SoapServer assembly.
C.Reference the Microsoft.Office.Server.Utilities assembly.
D.Reference the Microsoft.Office.Server.WebControls assembly.
Correct:A
12.Your company uses a Microsoft Office SharePoint Server 2007 site that has user profiles enabled. Your company also uses a Web-based human resources (HR) application that runs on a different server. The HR department wants to display the user profile data from the SharePoint site in the Web-based application. You need to retrieve the user profile information from within the Web-based application. Which method of the UserProfileService object should you use?
A.The GetUserProfileByName method.
B.The ModifyUserPropertyByName method.
C.The GetCurrentChangeToken method.
D.The GetUserCurrentChangeToken method.
Correct:A
13.You create a Microsoft Office InfoPath workflow task form for users. The form contains all the details of each task. You need to store the value of the Comments field in a variable named UserInput when each user submits the form. Which code segment should you use?
A.String UserInput = new String(); SPWorkflowTaskProperties wpTProps = new SPWorkflowTaskProperties(); … UserInput = wpTProps.ExtendedProperties["Comments"].ToString();
B.SPWorkflowActivationProperties wpAProps = new SPWorkflowActivationProperties(); … object UserInput = wpAProps.Item.Fields["Comments"];
C.SPWorkflowActivationProperties wpAProps = new SPWorkflowActivationProperties(); XmlSerializer serializer = new XMLSerializer(typeof(MyFields)); xmlTextReader reader = new XMLTextReader (new System.IO.StringReader(wpAProps.InitiationData)); MyFields fields = serializer.Deserialize(reader); String UserInput = fields.Users[i].Comments;
D.XmlSerializer serializer = new XmlSerializer(typeof(InitForm)); XmlTextReader reader = new XmlTextReader (new System.IO.StringReader(workflowProps.InitiationData)); InitForm initform = (InitForm) serializer.Deserialize(reader); String UserInput = initform.comments;
Correct:A
14.Your organization has a Microsoft Office Forms Server 2007 server. The server hosts a form template named TemplateA. You create a new version of the form named TemplateB. You need to create an automated administration task that ensures that the sites use TemplateB instead of TemplateA. What should you do?
A.Call the Activate method of the FormTemplateCollection object for the server farm.
B.Call the Quiesce method of the FormTemplate object for each Web site in the site collection.
C.Call the Update method of the FormTemplate object for each Web site in the site collection.
D.Call the UpgradeFormTemplate method of the FormTemplateCollection object for the server farm.
Correct:D
15.You create a Microsoft Office SharePoint Server 2007 site. The site contains a form library. A Microsoft Office InfoPath form from the form library must be converted to a Web page by using an existing InfoPath form converter. When you select the existing form converter, you receive a conversion error. You need to ensure that the document is converted without errors. What should you do?
A.Add a Web page that uses the XmlFormView control.
B.Publish the form to the form library by using an administrator account.
C.Modify the conversion schedule for the document-to-page converter.
D.Use a Universal Data Connection (UDC) between the InfoPath form and the SharePoint site.
Correct:B
16.Your company uses an ASP.NET Web site. You create a Microsoft Office InfoPath form named MyForm. You are creating a custom control that is derived from the XMLFormView class. The custom control will display MyForm within an ASP.NET page on the Web site. You need to ensure that MyForm can be displayed within an ASP.NET page on the Web site. What should you do?
A.Set the xsnLocation property of the custom control to MyForm.xsn.
B.Set the xmlLocation property of the custom control to MyForm.xml.
C.Create an OnInitialize event for the custom control and set XPathNavigator to MyForm.xsn.
D.Create an OnPreRender event for the custom control and set XPathNavigator to MyForm.xsn.
Correct:A
17.You are designing a Microsoft Office SharePoint Server 2007 solution. You need to create a workflow that will access data from a custom Microsoft Office Infopath task form. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
A.Add the workflow task schema to the task form as a secondary data source.
B.Add the workflow task schema to the task form as the primary data source.
C.Execute the GetWorkflowData method on a SPWorkflowTask object.
D.Execute the GetNoCodeTemplate method on a SPWorkflowTaskManager object.
E.Access the ExtendedProperties property of the SPWorkflowTaskProperties object.
Correct:A E
18.Your organization has a department named product testing. You are creating a new membership named Product Testing. You are adding a distribution list to the new membership. You need to ensure that the membership is displayed only to managers. What should you do?
A.Call the MemberGroupData method of the UserProfiles object.
B.Call the GetPrivacyPolicy method of the UserProfileManager object.
C.Pass Privacy.Manager as the privacy setting to the Membership.Create method.
D.Pass PrivacyPolicyIdConstants.MembershipsFromDistributionLists to the CreateMemberGroup method of the user profile.
Correct:C
19.You create a Microsoft Office SharePoint Server 2007 application. The application has a user named UserA. You need to retrieve a list of colleagues for UserA. Which code segment should you use?
A.private void RetrieveColleagues(ServerContext Cntxtobj) { … SPSite site = new SPSite("http: //servername/sites/site1"); UserProfileManager profileManager = new UserProfileManager( Cntxtobj ); UserProfile profile = profileManager.GetUserProfile("abc\\UserA"); Colleague[] colleagues = profile.Colleagues.GetItems(); Site.Dispose(); … }
B.private void RetrieveColleagues(ServerContext Cntxtobj) { … SPSite site = new SPSite("http: //servername/sites/site1"); ServerContext context = ServerContext.GetContext(site); UserProfileManager profileManager = new UserProfileManager(context); UserProfile profile = profileManager.GetUserProfile("abc\\UserA"); UserProfile[] colleagues = profile.Colleagues.GetCommonColleagues(); Site.Dispose(); … }
C.private void RetrieveColleagues(ServerContext Cntxtobj) { … SPSite site = new SPSite("http: //servername/sites/site1"); ServerContext context = ServerContext.GetContext(site); UserProfileManager profileManager = new UserProfileManager(context); UserProfile profile = profileManager.GetUserProfile("abc\\UserA"); ColleagueManager manager = new ColleagueManager(profile); UserProfile[] profiles = manager.GetColleaguesOfColleagues(); Site.Dispose(); … }
D.private void RetrieveColleagues(ServerContext Cntxtobj) { … SPSite site = new SPSite("http: //servername//sites/site1"); ServerContext context = ServerContext.GetContext(site); AudienceManager audMgr = new AudienceManager(context); SPWeb web = site.AllWebs ["mainpage"] ; ArrayList audienceIDNames = audMgr .GetUserAudienceIDs("domain\\userA", true, web); Site.Dispose(); … }
Correct:A
20.You are creating a Microsoft Office SharePoint Server 2007 site. You create a Microsoft WinForms application to enter information about a user. You write the following code segment. (Line numbers are included for reference only.) 01 static void AddUser (string[] user_name ) 02 { 03 using (SPSite site = 04 new SPSite("http://sitename")) 05 { 06 ServerContext context = 07 ServerContext.GetContext(site); 08 UserProfileManager profileManager = 09 new UserProfileManager(context); 10 … 11 } 12 } You need to add a user profile to the profile store. Which code segment should you insert at line 10?
A.UserProfile u = profileManager.GetUserProfile(user_name); …
B.UserProfileManager profileManager = new UserProfileManager(context); UserProfile u = profileManager.GetUserProfile(user_name); … u.Commit ();
C.string user_name = ""; … user_name += userProfile + user_name; … user_name += ""; profileManager.CreateUserProfile ( user_name );
D.UserProfile u = profileManager.CreateUserProfile(user_name); … u.Commit ();
Correct:D
21.You create a Microsoft Office SharePoint Server 2007 site. The site is configured to use a Shared Services Provider (SSP) that manages user profiles. The user profiles contain user contact information. You need to retrieve the telephone number of a user. What should you do?
A.Perform a keyword search by using the WorkPhone: prefix.
B.Obtain the value of the WorkPhone node from the SPUser.Xml property of the user.
C.Obtain the value of the UserProfile[PropertyConstants.WorkPhone] property of the user.
D.Obtain the value of the PropertyInformation.Description property where the value of the PropertyInformation.Name property is WorkPhone.
Correct:C
22.You are creating a Business Data Catalog (BDC) definition for a phone book application. The application stores customer names in a table named People in a Microsoft SQL Server database. You are defining an entity named People within the BDC definition. You need to ensure that the entity data can be displayed in a Business Data List (BDL) Web Part. Which method should you define inside the entity?
A.Finder
B.ViewAccessor
C.IDEnumerator
D.GenericInvoker
Correct:A
23.Your companys sales database has two related tables named Customer and SalesOrders. You define two entities named Customer and SalesOrders in a Business Data Catalog (BDC) definition. The metadata for the BDC definition contains the following XML fragment. (Line numbers are included for reference only.) 01 02 03 < 04 Association 05 AssociationMethodEntityName="Customer" 06 AssociationMethodName="GetSalesOrdersForCustomer" 07 AssociationMethodReturnParameterName="SalesOrders" 08 Name="CustomerToSalesOrder" 09 IsCached="true" 10 > 11 … 12 13 You need to maintain the relationship between the entities. Which XML fragment should you insert at line 11?
A.
B.
C.
D.
Correct:B
24.You create a Microsoft Office SharePoint Server 2007 site. You also create a Business Data Catalog (BDC) definition. The BDC definition accesses a product database that is stored on a Microsoft SQL Server 2005 server. You need to ensure that users can filter the product data by the ProductType field from within the SharePoint server. What should you do?
A.Create a custom action that passes the product type to the BDC definition.
B.Create an IDEnumerator method that filters the data by the ProductType field.
C.Create a Filter Descriptor object that passes the ProductType field value as a parameter.
D.Create a type descriptor within the BDC definition for which ProductType is the type name.
Correct:C
25.You create an application for a Microsoft Office SharePoint Server 2007 server. You create a List Web Part that displays tasks in a project plan. The Web Part retrieves information from the Business Data Catalog (BDC) definition. You need to ensure that when a user selects an item in the project list, the task list for the project is displayed. You also need to ensure that users can update information in the task list. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
A.Remove any definitions for the SpecificFinder method.
B.Create a property in the BDC definition that maps to the task ID.
C.Create a custom field for the list named task ID that holds the URL of the Web page.
D.Create an entity based on the BDC definition, and create a custom action that adds the value of the current task ID property to a placeholder in the URL of the desired Web page.
Correct:B D
26.Your company uses an external CRM application that contains a business object named Customers. The Customers object represents a table that contains customer details. You need to define the Customers object in the Business Data Catalog (BDC) definition. What should you do?
A.Create an Entity element named Customers.
B.Create a Method element named GetCustomers.
C.Add a Parameter element that has the Direction property set to In and the Name property set to @Customers.
D.Modify the Action element by adding an ActionParameter element that has the Name property set to @Customers and the Index property set to 0.
Correct:A
27.Your company uses an order management application that stores order information in a Microsoft SQL Server 2005 database. You are creating a Business Data Catalog (BDC) definition on a Microsoft Office SharePoint Server 2007 server. You need to ensure that the SharePoint server can index the order information. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
A.Define a Finder method in the BDC definition.
B.Define an IDEnumerator method in the BDC definition.
C.Define a ViewAccessors method in the BDC definition.
D.Define a SpecificFinder method in the BDC definition.
Correct:B D
28.Your company stores product information in a Microsoft SQL Server 2005 database. You create a Business Data Catalog (BDC) definition to search for product information within the database. You need to ensure that incremental crawls can be performed in the database for indexing. What should you do?
A.Create a GenericInvoker method.
B.Create a Finder method.
C.Create a ViewAccessors method to return a different set of fields from the database.
D.Define an IDEnumerator method that has a return field that represents the last update time of the database.
Correct:D
29.Your Microsoft SQL Server 2005 database contains client records. You create a Business Data Catalog (BDC) definition that allows you to view the client information. You create a Web Part that displays a map of the location of the selected client. You need to ensure that you can create a custom action to link to the Web part. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
A.Define a filter on the Client entity.
B.Declare an identifier for the Client entity.
C.Define a Finder object on the Client entity.
D.Define a SpecificFinder object on the Client entity.
Correct:B D
30.You are creating a Business Data Catalog (BDC) definition for a bookstore application. The application stores information about books in a Microsoft SQL Server 2005 database table named Books. You need to retrieve all the book names from the Books table. Which XML fragment should you use?
A. Books SELECT * FROM Books
B. SPGetBooks StoredProcedure
C. < TypeDescriptor Name=" CommandText " TypeName ="" System.String "" IdentifierName ="SELECT * FROM Books" /> < TypeDescriptor TypeName ="System.Int32" IdentifierName ="Books" AssociatedFilter ="ID" Name=" BookId " />
D. < ActionParameters > < ActionParameter Name=" CommandText " Index="0"> SELECT * FROM Books < ActionParameter Name=" CommandType " Index="0"> SQLQuery
Correct:B