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… Continue reading

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… Continue reading

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… Continue reading

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… Continue reading

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… Continue reading

Web Developer Framework 4.0 Sample Questions – 30

Question: You are adding a Windows Communication Foundation (WCF) service to an existing application. The application is configured as follows. (Line numbers are included for reference only.) 01 <configuration> 02 <system.serviceModel> 03 <services> 04 <service name=”Contoso.Sales.StockService” 05 behaviorConfiguration=”MetadataBehavior”> 06 <host> 07 <baseAddresses> 08 <add baseAddress=”http://contoso.com:8080/StockService” /> 09 </baseAddresses> 10 </host>… Continue reading

Web Developer Framework 4.0 Sample Questions – 29

Question: You are developing a Windows Communication Foundation (WCF) service that reads messages from a public non-transactional MSMQ queue. You need to configure the service to read messages from the failed-delivery queue. Which URI should you specify in the endpoint configuration settings of the service net.msmq://localhost/msmq$;FailedMessages net.msmq://localhost/msmq$;DeadLetter net.msmq://localhost/system$;DeadXact net.msmq://localhost/system$;DeadLetter Correct… Continue reading

Web Developer Framework 4.0 Sample Questions – 28

Question: You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create an application. You use Microsoft ADO.NET Entity Data Model (EDM) to model entities. You create an entity named Person with a schema defined by the following XML fragment. <EntityType Name=”CPerson”> <Key> <PropertyRef Name=”PersonId” /> </Key> <Property… Continue reading

Web Developer Framework 4.0 Sample Questions – 27

Question: Your Windows Communication Foundation (WCF) client application uses HTTP to communicate with the service. You need to enable message logging and include all security information such as tokens and nonces in logged messages.What should you do In the application configuration file, add the logKnownPii attribute to the message logging… Continue reading

Web Developer Framework 4.0 Sample Questions – 26

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 uses the following object query to load a product from the database. (Line numbers are included for reference only.) 01 using (AdventureWorksEntities advWorksContext… Continue reading