| Braindumps
of 70-551
US S-03-0010 Microsoft CRM Installation and Configuration
v.1 2
Exam Questions, Answers,
Braindumps (70-551)
Thanx to www.exams.ws
for providing helpful material.
1: You develop a Web application that contains
two master pages. You need to dynamically set the
master page when a user views pages in the application.
What should you do?
A. Set Page.MasterPageFile in the Page's Page_Init
event.
B. Set Page.MasterPageFile in the Page's OnInit event.
C. Set Page.MasterPageFile in the Page's Page_Load
event.
D. Set Page.MasterPageFile in the Page's Page_PreInit
event.
Answer: D
2: You have a Web application that is configured
for personalization. You need to access personalization
data from one of the pages of the Web application
by using the minimum amount of administrative effort.
What should you do?
A. Access the personalization data from the Session
property of the HttpContext object.
B. Access the personalization data from the Application
property of the HttpContext object.
C. Access the personalization data from the Cache
property of the HttpContext object.
D. Access the personalization data from the Profile
property of the HttpContext object.
Answer: D
3: You create a Web Form. The Web Form allows
users to recover their passwords. You add a PasswordRecovery
server control by using the following code segment.
<asp:PasswordRecovery runat="server"/>
You need to ensure that the server control generates
a new password and sends it by e-mail to the users
e?mail address. Which two actions should you perform?
(Each correct answer presents part of the solution.
Choose two.)
A. Create a valid <smtp> definition in the Web.config
file.
B. Set the passwordFormat attribute of the configured
membership provider to Encrypted.
C. Ensure that the enablePasswordRetrieval attribute
of the configured membership provider is set to False.
D. Ensure that the enablePasswordRetrieval attribute
of the configured membership provider is set to True.
Answer: A,C
4: You create a large, n-tier Web application
that has a custom event tracking system. You need
to create a custom event type that enables your event
tracking system to record all relevant event details
for all types of events. The events must be stored
in Microsoft SQL Server. From which base type should
your custom event type inherit?
A. WebEventCustomEvaluator
B. WebEventProvider
C. WebBaseEvent
D. WebAuditEvent
Answer: C
5: Your team creates a Web site. The Web site
needs to be deployed to a staging server for performance
testing. You plan to make a number of performance
enhancements and then retest. You need to compile
and copy the Web site to the staging server. What
should you do?.
A. Write a batch file that uses aspnet_compiler.exe.
B. Write a batch file that uses InstallUtil.exe.
C. Write a batch file that uses Csc.exe.
D. Write a batch file that uses aspnet_wp.exe.
Answer: A
6: You create a Web application. You need
to turn on Tracing for a page that is not performing
well. You must store the trace information in a database
for reporting and trending. Which two actions should
you perform? (Each correct answer presents part of
the solution. Choose two.)
A. Add a TraceContextEventHandler to the Trace.TraceFinished
event to add the trace records into the database.
B. Add a system.diagnostics section to the Web.config
file. Then add a listener to the new section.
C. Use the System.Diagnostics.Trace object to connect
to a database. Then insert the trace records.
D. In the Page_Load for the page, place the Trace.Write
call into a SQL INSERT statement.
Answer: A,B
7: You are creating a custom control. The
UI of the control must contain several text boxes
and two buttons. The control must be available in
the global assembly cache for reuse across multiple
Web applications. You need to achieve this functionality
by using the minimum amount of code. What should you
do?
A. Create a control that derives from System.Web.UI.Control.
B. Create a control that derives from System.Web.UI.WebControls.CompositeControl.
C. Create a control that derives from System.Web.UI.WebControls.WebControl.
D. Create a control that derives from System.Web.UI.UserControl..
Answer: B
8: You create a Web server control named ContosoControls.
You add a Web custom control named ContosoMailer to
it. You then distribute the Web Control Library files
to your team. You need to provide your team with the
correct procedure for adding the Web Control Library
to the items in the toolbox of Microsoft Visual Studio
.NET. Which procedure should you provide to the team?
A. Within the toolbox, click Choose Items and then
browse to and select the ContosoControls user control.
B. Within the toolbox, click Choose Items and then
browse to and select the ContosoMailer user control.
C. Right-click Web Project, click Add Reference, and
then browse to and select the ContosoControls.dll
file.
D. Within the toolbox, click Choose Items and then
browse to and select the ContosoControls.dll file.
Answer: D
70-551
|