| Braindumps
of 70-542
MS Office SharePoint Server 2007-Appliaction
Exam Questions, Answers, Braindumps (70-542)
I think it was tough but thanks to www.examcheets.com
. I purchased their study material and got through.
The stuff had drag and drops, exhibits and all that
is required for the exam.
QUESTION=1
You create a Microsoft Office SharePoint Server 2007
site. A document library named Company Workbooks on
the site contains Microsoft Office Excel workbooks.
You need to ensure that users can access the workbooks
in the Company Workbooks 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 Company Workbooks URL to the trusted location
list.
C. Edit the permissions of the Company Workbooks document
library to grant full control to the SharePoint application
pool identity account.
D. Create a custom security policy file for the Company
Workbooks document library. Add the file to the security
Policy section of the Web .config file for the site.
Answer=B
QUESTION=2
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[J 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);
...
uCommit ();
C. string user_name = "<UserProfile>";
...
user_name += userProfile + user_name;
...
user_name += </UserProfiIe>";
profileManager.CreateUserProfile (user_name);
D. UserProfile u = profileManager.CreateUserProfile(user_name);
...
u.Commit ();
Answer=D
QUESTION=3
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. <Entity Name=" GetBooks ">
<Properties>
<Property Name="Title" Typet" System.String
">
Books
</Properyy>
<Property Name=" DefaultAction " Type="
System.String ">
SELECT * FROM Books
</Property>
</Properties>
</Entity>
B. <Method Name=" GetBooks ">
<Properties>
<Property Name=" RdbCommandText"
Type=" System.String "> SPGetBooks </Property>
<Property Name=" RdbCommandType"
Type=" System.String "> StoredProcedure
</Property>
</Properties>
<! Additional information goes here -->
</Method>
</Methods>
C. <Parameter Direction="In" Name="
GetBooks ">
<TypeDescriptor Name= CommandText" TypeName
System.String ""
IdentifierName =SELECT * FROM Books" />
<TypeDescriptor TypeName ="System.Int32"
IdentifierName ="Books"
AssociatedFilter ="ID" Name=" Bookld
"/>
</Parameter>
D. <Action Name=" GetBooks" Position="1">
<ActionParameters>
<ActionParameter Name=" CommandText"
Index="0">
SELECT * FROM Books
</ ActionParameter>
< ActionParameter Name=" CommandType Index="0">
SQLQuery
</ ActionParameter>
</ ActionParameters>
</Action>
Answer=B
QUESTION=4
You are creating a Microsoft Office SharePoint Server
2007 site. The site contains content that is relevant
to members of the DOMAIN\Developers security group.
You need to ensure that the content is targeted to
members of the Developers group. What should you do?
A. Create an audience that is based on the DOMAIN\Developers
group.
B. Create a site group that has the DOMAIN\Developers
group as a member.
C. Apply a filter to the lists to display only members
of the DOMAIN\Developers group.
D. Create a custom Web Part that verifies the membership
of the DOMAIN\Developers group and displays the content
of the Tasks list only to members of that group.
Answer=A
QUESTION=5
You are making changes to a Microsoft Office SharePoint
Server 2007 Search Center Web site that uses a fixed
keyword query. You need to make changes to the text
that is displayed when a search fails to return a
result. What should you do?
A. Moditq the dvt_1 body template to display the new
text when the value of the DisplaySize property is
zero.
B. Modify the default text in the dvt_1 empty template
to the new text in the Search Core Results Web Part
on the results page.
C. Modify the default text in the dvt_1 .noKeyword
template to the new text in the Search Core Results
Web Part on the results page.
D. Modify the Import Error Message property of the
Search Core Results Web Part of the results page to
include the new text when the Web Part does not import
any results from the search service.
Answer=B
70-542
|