- "URLs within the Wb application.
- "HTML rendered by the Web application.
You need to design a solution for loading data dynamically into a Data List by using the current URL. Which approach should you recommend?
- Use Web forms routing and set the Repeat Layout Property to Table on all list controls.
- Use Web Forms routing and set the Render Outer table property to false on all Form View controls.
- Use permanent redirect and set the Repeat Layout property to Table on all list controls.
- Use permanent redirect and set the Render Outer table property to false on all Form View controls.
Answer: Answer is b
- Use try and catch on every method.
- Override the One Exception method of each controller.
- Decorate all controllers with a custom Handle Error attribute.
- Decorate all controllers with the default Handle Error attribute.
Answer: Answer is c
- Use the Application_Error method in the Global.asax.cs file.
- Use the subclasses of System.Web.UL.Page_Error methods.
- Use the Page_Error method in each of the master pages.
- Use the Page_Error method in each of the publicly accessible pages and administrative pages.
Answer: Answer is b
- Make the variable private.
- Make the variable protected.
- Use the Debugger Display attribute
- Use the Debugger Browsable attribute
Answer: Answer is a, d
- Use the Page_lnit method to add to the Menu control only pages that the user is authorized to view.
- Use the Page_Load method to add to the Menu control only pages that the user is authorized to view.
- Use a JavaScript window.onload event handler to hide the private pages from the list of pages shown on the menu.
- Use a JavaScript document ready event handler to hide the private pages from the list of pages shown on the menu.
Answer: Answer is b
- Use a separate process from the On Click method of the form.
- Use a Background Worker class from the On Click method of the form.
- Use the classes in the System.Web.Mail namespace from the On Click method of the form.
- Use the classes in the System.Net.Mail namespace from the On Click method of the form.
Answer: Answer is a
- Perform server-side image processing on the Web server
- Perform server-side image processing on a dedicated server.
- Perform client-side image processing by using ASP.NET AJAX.
- Perform client-side image processing by using Microsoft Silver light.
Answer: Answer is b, d
- Use distributed caching and out-of-process session state.
- Use distributed caching and in-process session state.
- Use output caching and out-of-process session state.
- Use output caching and in-process session state.
Answer: Answer is a
- Deploy the rewritten Web application to the same file path on each server in the Web farm.
- Compile the rewritten Web application and deploy the compiled library to the global assembly cache.
- Add the rewritten Web application to an application pool that contains only ASP.NET?4 Web applications.
- Add the rewritten Web application to the same application pool as Web applications written in ASP.NET 2.0, ASP.NET 3.0, and ASP NET 3.5.
Answer: Answer is c
- "Separate authorization logic from the application.
- "Prevent the application from directly accessing the database server.
You need to design a data access and authorization solution. Which approach should you recommend?
- Use a WCF service.
- Use a separate library.
- Use SQL XML Services
- Use stored procedures.
Answer: Answer is a
- "An ASP.NET Web application that accesses and manipulates large amounts of data
- 'Web services used by the Web application for data access
- "A Microsoft SQL Server database Data displayed to users is never more than one day old.
You need to plan a deployment strategy that minimizes bandwidth requirements. Which deployment strategy should you recommend?
- Deploy the Web application, Web services, and database to the main office, and use browser caching.
- Deploy the Web application, Web services, and database to each branch office, and use SQL Server Replication.
- Deploy the Web services and database to the main office deploy the Web application to each branch office, and use output caching.
- Deploy the database to the main office.Deploy the Web application and Web services to each branch office, and use caching at the Web service level.
Answer: Answer is d
- "Perform rapid development.
- "Maintain cross-browser compatibility.
- "Do not require client-side installations.
You need to recommend a client-side technology that meets the requirements. Which two technologies could you recommend? (Each correct answer presents a complete solution. Choose two.)
- jQuery
- ASP.NET AJAX
- Microsoft Silverlight
- Microsoft Visual Basic Scripting Edition (VBScript)
Answer: Answer is a, b
- Use Page Methods.
- Use an Update Panel control.
- Use an Update Progress control.
- Configure the server-side method to return a JsonResult.
Answer: Answer is a
- "The application must be usable in partially connected scenarios.
- "Data that is entered into the application offline must be synchronized with the server the next time the application is online.
You need to design the application to meet the requirements. What should you use?
- jQuery
- ASP.NET AJAX
- WCF Data Services
- Microsoft Silvertight
Answer: Answer is d
- Create a jQuery library plug-in.
- Create an HtmlHelper extension method.
- Create a controller that returns an Action Result.
- Create a Web Form server control that stores values in View State.
Answer: Answer is b
0 comments:
Post a Comment