注册 | 登录 忘记密码? 51cto首页 | 博客 | 论坛 | 招聘
热点文章 CCIE-Lab考试将新增10分钟..
 帮助

一些微软认证的考题


2007-08-27 11:20:17
 标签:微软 认证   [推送到技术圈]

3.You create a Web site that you must copy from a development server to a testing server, along with all source files. You do not have terminal access to the testing server. You need to create the virtual directory. Then you must copy the Web site to the virtual directory on the testing server without precompiling the site.  What should you do?70-218 70-220
A: Use the Publish Web tool.
B: Use the Copy Web tool.
C: Use the command line to XCOPY the files.
D: Create a Web Setup project.
Correct Answers:  BMB5-198 MB6-291
4.You create a Web Form. The Web Form calls a method as part of its processing. The method takes a long time to process. In addition, the other Web Forms in the ASP.NET Web site are now taking longer to process.  You need to decrease the page response times by executing the long running method in parallel to other requests. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)70-229 70-237
A:Call the method by using the BeginGetAysncData and EndGetAsyncData delegates.
B:Call the method within the PreInit and PreRenderComplete page events.
C:Inside the page directive of the Web Form that calls the method, set the Async attribute to True.
D:Inside the page directive of the Web Form that calls the method, set the CompilationMode attribute to Always.
Correct Answers:  A, C70-285 70-301
5.You create a Web site. The Web site has many predefined roles and associated users that will be used for security purposes.  You need to manage these roles and user accounts. Which tool should you use?70-622 70-631
A: the Microsoft .NET Framework Configuration tool
B: the Code Access Security Policy tool
C: the ASP.NET IIS Registration tool
D: the Web Site Administration Tool
Correct Answers:  D74-131 920-321
6.You are using the ASP.NET membership APIs to manage user accounts for a Web site. The Web.config file contains the definition for the membership provider.  After modifying the Web.config file to enable password recovery, you create a PasswordReset.aspx file.   You need to enable users to reset their passwords online. The new passwords must be sent to them by e-mail after they have logged on through the Login.aspx page. In addition, users must be required to answer their secret questions before resetting their passwords. Which code logic should you use?
A: Add a PasswordRecovery element to the PasswordReset.aspx file and configure it.
B: Modify the Page_Load to set the Membership.EnablePasswordReset to True in the PasswordReset.aspx file.
C: Add a ChangePassword element to the PasswordReset.aspx file and configure it.
D: Modify the Login.aspx form to include a Required Field validator on the secret question answer text box. Then redirect users to the PasswordReset.aspx file.
Correct Answers:  A920-330  HP0-242
7.You are using the Microsoft Visual Studio 2005 IDE to examine the output of a method that returns a string. You assign the output of the method to a string variable named fName. HP0-638 000-705
You need to write a code segment that prints the following on a single line
  The message: "Test Failed: "
  The value of fName if the value of fName does not equal "John"
You also need to ensure that the code segment simultaneously facilitates uninterrupted execution of the application. Which code segment should you use?642-552
A: Debug.Assert(fName = "John", "Test Failed: ", fName)
B: Debug.WriteLineIf(fName <> "John", _ fName, "Test Failed")
C: If fName <> "John" Then  Debug.Print("Test Failed: ")  Debug.Print(fName)End If
D: If fName <> "John" Then  Debug.WriteLine("Test Failed: ")  Debug.WriteLine(fName)End If
Correct Answers:  B000-444 000-636
8.You are transferring records from one database to another.  You need to decide whether you can use the SqlBulkCopy class to transfer the records.  What should you do?10g-DBA
A: Ensure that the source database is Microsoft SQL Server.
B: Ensure that the destination database is Microsoft SQL Server.
C: Ensure that the column names in the source table match the column names in the destination table.
D: Ensure that the bulk copy program (bcp) utility is installed on the destination server.
Correct Answers:  B000-867 000-873
9.You are developing an application that stores data about your company's sales and technical support teams.  You need to ensure that the name and contact information for each person is available as a single collection when a user queries details about a specific team. You also need to ensure that the data collection guarantees type safety. Which code segment should you use?642-352 000-640
A: Dim team As Hashtable = New Hashtable() team.Add(1, "Hance")team.Add(2, "Jim")team.Add(3, "Hanif")team.Add(4, "Kerim")team.Add(5, "Alex")team.Add(6, "Mark")team.Add(7, "Roger")team.Add(8, "Tommy")
B: Dim team As ArrayList = New ArrayList() team.Add("1, Hance")team.Add("2, Jim")team.Add("3, Hanif")team.Add("4, Kerim")team.Add("5, Alex")team.Add("6, Mark")team.Add("7, Roger")team.Add("8, Tommy")
C: Dim team As New Dictionary(Of Integer, String) team.Add(1, "Hance")team.Add(2, "Jim")team.Add(3, "Hanif")team.Add(4, "Kerim")team.Add(5, "Alex")team.Add(6, "Mark")team.Add(7, "Roger")team.Add(8, "Tommy")
D: Dim team As String() = New String() { _"1, Hance", _"2, Jim", _"3, Hanif", _"4, Kerim", _"5, Alex", _"6, Mark", _"7, Roger", _"8, Tommy"}
Correct Answers:  C 646-056
10.You are developing an auditing application to display the trusted ClickOnce applications that are installed on a computer.  You need the auditing application to display the origin of each trusted application.  Which code segment should you use?70-229
A: Dim objTrusts As ApplicationTrustCollectionobjTrusts = ApplicationSecurityManager.UserApplicationTrustsFor Each objTrust As ApplicationTrust In objTrusts  Console.WriteLine(objTrust.ToString)Next
B: Dim objTrusts As ApplicationTrustCollectionobjTrusts = ApplicationSecurityManager.UserApplicationTrustsFor Each objTrust As ApplicationTrust In objTrusts  Console.WriteLine(objTrust.ExtraInfo.ToString)Next
C: Dim objTrusts As ApplicationTrustCollectionobjTrusts = ApplicationSecurityManager.UserApplicationTrustsFor Each objTrust As ApplicationTrust In objTrusts  Console.WriteLine(objTrust.ApplicationIdentity.FullName.ToString)Next
D: Dim objTrusts As ApplicationTrustCollectionobjTrusts = ApplicationSecurityManager.UserApplicationTrustsFor Each objTrust As Object In objTrusts  Console.WriteLine(objTrust.ToString)Next
Correct Answers:  C




    文章评论
 
 

发表评论

昵   称:
验证码:  点击图片可刷新验证码  博客过2级,无需填写验证码
内   容: