MS Office SharePoint Server 2007.Application Development:70-542
科目编号:70-542
科目名称:MS Office SharePoint Server 2007.Application Development
描述:
70-542 考试是 Microsoft 公司的 MS Office SharePoint Server 2007.Application Development 认证考试官方代号,kaoccna 的 70-542 权威考试题库软件是 Microsoft 认证厂商的授权产品,kaoccna 绝对保证顺利通过,否则承诺全额退款!
MS Office SharePoint Server 2007.Application Development 认证作为全球IT领域专家 Microsoft 热门认证之一,是许多大中 IT 企业选择人才标准的必备条件。 如果你正在准备 70-542 考试,为 Microsoft MS Office SharePoint Server 2007.Application Development认证做最后冲刺,又苦于没有绝对权威的考试真题模拟
mcsepass 实行"一次不过全额退款"承诺。如果您购买我们 70-542 的考题,只要不是首次通过,凭盖有 PROMETRIC 或 VUE 考试中心钢印的考试成绩单,我们将退还您购买 70-542 考题大师的全部费用,绝对保证您的利益不受到任何的损失。
- 科目: 70-542
- 原价:
¥ 462.00 - 现价: ¥ 358.00
kaoccna 的优势
70-542 试题的质量和价值
mcsepass 模拟测试题具有最高的专业技术含量,只供具有相关专业知识的专家和学者学习和研究之用。
100% 保证您通过 70-542 的考试
如果你使用 mcsepass 模拟测试,我们将保证你的第一次参加考试即取得成功,否则,我们将全额退款!
试用后再购买
mcsepass 提供每种产品免费测试。在您决定购买之前,请检测联接,可能存在的问题及试题质量和适用性。
kaoccna认证考试题库网专业提供 Microsoft 70-542 最新题库下载,完全覆盖 mcsepass 考试原题。
部分考题展示
Exam : Microsoft 70-542
Title : MS Office SharePoint Server 2007.Application Development
1. 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 Function MyDouble(ByVal d As Double) As Double
Return d * 9
End Function
Public Function ReturnDateTimeToday() As DateTime
Return (DateTime.Today)
End Function
End Class
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.
Answer: D
2. 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 Office 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.
Answer: C
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.
Answer: AC
4. 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.
Answer: C
5. 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.
You need to retrieve the values for 2008 from within your application.
Which two actions should you perform? (Each correct answer provides part of the solution. Choose two.)
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
Answer: BC
6. 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.
Answer: B
7. 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.
Answer: A
8. 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 Shared Sub AddUser(ByVal user_name As String())
02 ' Using
03 Dim site As SPSite = New SPSite("http://sitename")
04 Try
05 Dim context As ServerContext = _
06 ServerContext.GetContext(site)
07 Dim profileManager As UserProfileManager = New _
08 UserProfileManager(context)
09 ...
10 Finally
11 CType(site, IDisposable).Dispose()
12 End Try 13 End Sub
You need to add a user profile to the profile store.
Which code segment should you insert at line 09?
A. Private u As UserProfile = _
profileManager.GetUserProfile(user_name)
...
B. Private profileManager As UserProfileManager = New _
UserProfileManager(context)
Private u As UserProfile = profileManager.GetUserProfile(user_name)
...
u.Commit
C. Private user_name As String = "<UserProfile>"
...
user_name += userProfile + user_name
...
user_name += "</UserProfile>"
profileManager.CreateUserProfile(user_name)
D. Private u As UserProfile = _
profileManager.CreateUserProfile(user_name)
...
u.Commit
Answer: D
9. 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.
Answer: C
10. 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
Private rand As Random = New Random
<UdfMethod()> _
Public Function GetRandomNumber() As Integer
Return (rand.Next(100, 500))
End Function
End Class
B. <UdfClass()> _
Public Class MyUdfs
Private rand As Random = New Random
<UdfMethod(IsVolatile=True)> _
Public Function GetRandomNumber() As Integer
Return (rand.Next(100, 500))
End Function
End Class
C. <UdfClass()> _
Public Class MyUdfs
Private rand As Random = New Random
Public Function GetRandomNumber() As Integer
Return (rand.Next(100, 500))
End Function
End Class
D. Public Class MyUdfs
Private rand As Random = New Random
Public Function GetRandomNumber() As Integer
Return (rand.Next(100, 500))
End Function End Class
Answer: B
11. 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.
Answer: A
12. 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.
Answer: B
13. 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 Sub RetrieveColleagues(ByVal Cntxtobj As ServerContext)
...
Dim site As SPSite = New SPSite("http: //servername/sites/site1")
Dim profileManager As UserProfileManager = New _
UserProfileManager(Cntxtobj) Dim profile As UserProfile = _
profileManager.GetUserProfile("abcUserA")
Dim colleagues As Colleague() = profile.Colleagues.GetItems
Site.Dispose
...
End Sub
B. Private Sub RetrieveColleagues(ByVal Cntxtobj As ServerContext)
...
Dim site As SPSite = New SPSite("http: //servername/sites/site1")
Dim context As ServerContext = ServerContext.GetContext(site)
Dim profileManager As UserProfileManager = New _
UserProfileManager(context) Dim profile As UserProfile = _
profileManager.GetUserProfile("abcUserA")
Dim colleagues As UserProfile() = _
profile.Colleagues.GetCommonColleagues
Site.Dispose
...
End Sub
C. Private Sub RetrieveColleagues(ByVal Cntxtobj As ServerContext)
...
Dim site As SPSite = New SPSite("http: //servername/sites/site1")
Dim context As ServerContext = ServerContext.GetContext(site)
Dim profileManager As UserProfileManager = New _
UserProfileManager(context) Dim profile As UserProfile = _
profileManager.GetUserProfile("abcUserA")
Dim manager As ColleagueManager = _
New ColleagueManager(profile)
Dim profiles As UserProfile() = _
manager.GetColleaguesOfColleagues
Site.Dispose
...
End Sub
D. Private Sub RetrieveColleagues(ByVal Cntxtobj As ServerContext)
...
Dim site As SPSite = New SPSite("http: //servername//sites/site1")
Dim context As ServerContext = ServerContext.GetContext(site)
Dim audMgr As AudienceManager = New AudienceManager(context)
Dim web As SPWeb = site.AllWebs("mainpage")
Dim audienceIDNames As ArrayList = _
audMgr.GetUserAudienceIDs("domainuserA", True, web)
Site.Dispose
...
End Sub
Answer: A
14. 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.
Answer: D