Exam 70-564 preparation questions

Page 1

Exam 70-564 study material Made available by Testkingprep.com

Free 70-564 Exam Preparation Questions Exam 70-564: Pro: Designing and Developing ASP.NET Applications Using the Microsoft .NET Framework 3.5

For Latest 70-564 Exam Questions and study guides- visit- http://www.testkingprep.com/70-564.html


Question:1 You are an application developer and you have about two years experience in developing ASP.NETbased applications by using Microsoft ASP.NET. Now you are employed in a company named Wiikigo. According to the company requirement, you are using the .NET Framework 3.5 to create an ASP.NET application. Internet users will access the application. You plan to enable users to authenticate from the client-side script. Look at the following code fragment. <system.web.extensions> <scripting><webServices> <authenticationService enabled="true" /> </webServices> </scripting> </system.web.extensions> The code fragment is added in the Web.config file of the application. Your company requires that user credentials must be validated against Active Directory by using the client-side script. In order to make sure of this, you have to configure the application. So what should you do? (choose morethan one) A. The following code fragment should be added to the Web.config file of the application. <authentication mode="None" /> B. The following code fragment should be added to the Web.config file of the application. <authentication mode="Forms" /> C. The following code fragment should be added to the Web.config file of the application. <authentication mode="Windows" /> D. You should configure the application, making it use the ActiveDirectoryMembershipProvider class. E. You should configure the application, making it use the ClientWindowsAuthenticationMembershipProvider class. Answer: B, D Question:2 You are an application developer and you have about two years experience in developing ASP.NETbased applications by using Microsoft ASP.NET. Now you are employed in a company named Wiikigo. According to the company requirement, you are using the .NET Framework 3.5 to create an ASP.NET application. The same physical Web server will host the application. Your company posts some requirements for page layout: a common page layout that applies to all the ASP.NET pages across the Web applications; all pages to automatically reflect changes that are made to the common page layout. A master page which provides the page layout is created. You have to implement a solution which meets the layout requirements. So which additional tasks should you perform? (choose more than one) A. You should set the MasterPageFile property on each ASP.NET page to the virtual path of the master page file. B. A @ MasterType directive should be added to each ASP.NET page. C. A ContentPlaceholder control should be added to each ASP.NET page. D. You should configure a virtual directory within each Web application, and point the virtual directory to the folder that contains the master page. E. You should configure a virtual directory within the default Web site, and point the virtual directory to the folder that contains the master page. F. You should copy the master page into a single folder on the Web server. Answer: A, D, F Question:3 You are an application developer and you have about two years experience in developing ASP.NETbased applications by using Microsoft ASP.NET. Now you are employed in a company named Wiikigo. According to the company requirement, you are using the .NET Framework 3.5 to create an ASP.NET application. There are two tables in the application. The two tables are respectively named Commodities and CommodityPrice. The application modifies and updates the data that is retrieved by using the DataSet object. By using a SqlCommandBuilder object, the update command for the related SqlDataAdapter class is generated automatically. Now your company asks you to retrieve and modify data from the Product and CommodityPricetables as a unit. You must make sure that the application can update the data in the tables. So what action should you perform? A. After the UpdateCommand property of the SqlDataAdapter class is set to a SqlCommand object, you should use a custom UPDATE statement and call the Update method of the

For Latest 70-564 Exam Questions and study guides- visit- http://www.testkingprep.com/70-564.html


SqlDataAdapter class. B. Before calling the Update() method of the SqlDataAdapter class, you should call the SqlCommandBuilder.RefreshSchema() method. C. After the DataAdapter property of the SqlCommandBuilder class is set to the SqlDataAdapter object, you should use a custom UPDATE statement and call the Update method of the SqlDataAdapter class. D. Before calling the Update() method of the SqlDataAdapter class, you should call the SqlCommandBuilder.GetUpdateCommand() method. Answer: A Question:4 You are an application developer and you have about two years experience in developing ASP.NETbased applications by using Microsoft ASP.NET. Now you are employed in a company named Wiikigo. According to the company requirement, you are using the .NET Framework 3.5 to create an ASP.NET application. Performance problems occur in the application. You intend to collect sample timing information for each page. When you collect the information, you must make sure that the application keeps online, the trace output contains the rendering time for all controls on all the pages and is invisible to end users. So what action should be performed? A. The enabled attribute should be set to true and the pageOutput attribute should be set to false for the trace element in the Web.config file. B. In the OnLoad event of each page, the Trace.IsEnabled property should be set to true. C. In the BeginRequest event handler, the HttpContext.Current.Trace.IsEnabled property should be set to true. D. The enabled attribute and the pageOutput attribute should be set to true for the trace element in the Web.config file. Answer: A Question:5 You are an application developer and you have about two years experience in developing ASP.NETbased applications by using Microsoft ASP.NET. Now you are employed in a company named Wiikigo. According to the company requirement, you are using the .NET Framework 3.5 to create an ASP.NET application. The application is created for users to share photos across the Internet. Users must be able to access each photo in different sizes and formats. The application can be accessed from different browsers and operating systems. Now your company assigns a task to you. You have to develop a download feature that can be easily maintained, besides this, you must make sure that only a single version of each photo is stored on the server. So what action should you perform to accomplish the task? A. In order to achieve your goal, you need to create an ActiveX control, the original photo can be converted to the required format and size by the ActiveX control. B. First you need to ascertain the request for the photo download by creating an HttpHandler class, and then you should process the original photo for format and size requirements and return the processed photo in the response. C. First you need to ascertain the request for the photo download by creating an HttpModule class, and then you have to process the original photo for format and size requirements and return the processed photo in the response. D. In order to achieve your goal, you need to create a User control, the original photo can be converted to the required format and size by the User control. Answer: B Question:6 You are an application developer and you have about two years experience in developing ASP.NETbased applications by using Microsoft ASP.NET. Now you are employed in a company named Wiikigo. According to the company requirement, you are using the .NET Framework 3.5 to create an ASP.NET application. A Microsoft SQL Server 2008 database must be available to the application. The database

For Latest 70-564 Exam Questions and study guides- visit- http://www.testkingprep.com/70-564.html


and the ASP.NET application respectively reside on two different servers. The two servers reside on networks that are separated by a firewall. You know that only port 80 and port 443 are open through the firewall. Now the company assigns a task to you, you have to make sure that the database can be accessed by the application. So what action should you perform? A. On the Web server, you should create a SQL client alias. B. You should use stored procedures to perform all database access. C. After you create a Web service, you should deploy it to the same network as the database server. D. After you create a Web service, you should deploy it to the same network as the Web server. Answer: C

For Latest 70-564 Exam Questions and study guides- visit- http://www.testkingprep.com/70-564.html


For complete Exam 70-564 Training kits and Self-Paced Study Material Visit: http://www.testkingprep.com/70-564.html

http://www.testkingprep.com/

For Latest 70-564 Exam Questions and study guides- visit- http://www.testkingprep.com/70-564.html


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.