Web Developer Framework 4.0 Sample Questions – 35

Question: You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create an application. The application connects to a Microsoft SQL Server database. The application stores encrypted credit card numbers in the database. You need to ensure that credit card numbers can be extracted from the database. Which cryptography provider should you use DSACryptoServiceProvider AesCryptoServiceProvider MD5CryptoServiceProvider SHA1CryptoServiceProvider Correct Answer: 2 Question: You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create an application. The application uses the ADO.NET Entity Framework to model entities. The application allows users to make changes to entities while disconnected from … Click here to continue…..

Web Developer Framework 4.0 Sample Questions – 34

Question: You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create an application. The application connects to a Microsoft SQL Server 2008 database. The application uses DataContexts to query the database. You create a function that meets the following requirements: Updates the Customer table on the database when a customer is marked as deleted. Updates the related entries in other tables (CustomerAddress, CustomerContacts) by marking them as deleted. Prevents consumer code from setting the Deleted column’s value directly. You need to ensure that the function verifies that customers have no outstanding orders before they are marked as … Click here to continue…..

Web Developer Framework 4.0 Sample Questions – 33

Question: Multiple Choice Question In this type of question, you select the correct Answer: or Answers from a list of Answer: choices. Click the Reset button to clear all selected Answers. If an Active Exhibit button is present, click it to explore in a simulated environment until you find the information that you need. Then click Close Simulation and Answer: the question. Notes Note the following consideration when Answering this type of question: You might need to use the scroll bar to view the entire contents of the question. You are creating an ASP.NET Web site. The site contains pages … Click here to continue…..

Web Developer Framework 4.0 Sample Questions – 32

Question: You are implementing an ASP.NET AJAX page. You add two UpdatePanel controls named pnlA and pnlB. pnlA contains an UpdatePanel control named pnlAInner in its content template. You have the following requirements. Update panels pnlA and pnlB must refresh their content only when controls that they contain cause a postback. Update panel pnlAInner must refresh its content when controls in either pnlA or pnlB or pnlAInner cause a postback. You need to configure the panels to meet the requirements. What should you do Set the UpdateMode of pnlA and pnlB to Conditional. Set the UpdateMode of pnlAInner to Always. … Click here to continue…..

Web Developer Framework 4.0 Sample Questions – 31

Question: You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Communication Foundation (WCF) Data Services service. The service connects to a Microsoft SQL Server 2008 database. The service is hosted by an Internet Information Services (IIS) 6.0 server. You need to ensure that applications authenticate against user information stored in the database before the application is allowed to use the service. Which two actions should you perform (Each correct answer presents part of the solution. Choose two.) Configure IIS to require basic authentication. Configure IIS to allow anonymous access. Configure IIS to require Windows … Click here to continue…..