What should you do?
Remote users have limited connectivity.
Users will not have write permissions to the local file system. You plan to design the error logging strategy for the application. You need to ensure that the application can collect error information. You also need to ensure that the errors can be analyzed from a centralized location.
What should you do?
What should you do to design an interop assembly that expose COM functionality?
Developers required to use part of functionality of COM assembly. You must to design an interop assembly that expose COM functionality. Chose 2 as part.
Which two actions should you recommend?
You are design updates to the existent WPF application the connect to the MSSQL 2008. The application updates will require updates to the database. You have the following requirements:
Prevent data loss
Recover the database if the database update failure
You need to recommend a database deployment strategy. Which two actions should you recommend:
Which class should you use?
A Windows Communication Foundation (WCF) service sends notifications when the service is started and stopped.
You need to implement a client that logs these notifications. Which class should you use?
Which code segment should you insert at line 07?
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application.
The application uses the ADO.NET Entity Framework to model entities.
You define a Category class by writing the following code segment. (Line numbers are included for reference only.)
01 public class Category
02 {
03 public int CategoryID { get; set; }
04 public string CategoryName { get; set; }
05 public string Description { get; set; }
06 public byte[] Picture { get; set; }
07 …
08 }
You need to add a collection named Products to the Category class. You also need to ensure that the collection supports deferred loading.
Which code segment should you insert at line 07?
What should you do?
You are designing a Windows application by using Microsoft .NET Framework 4 and Microsoft Visual Studio 2010.
You plan to implement control caching to improve the loading time of a control. It is not required to refresh the content of the control after the application loads. The application will be compiled by using the .NET 4 client profile.
You need to ensure that the following requirements are met:
The control is reusable in multiple forms.
Data in the control is cached when the application is loaded.
What should you do?
How should you use WCF Discovery to accomplish this?
You are implementing a Windows Communication Foundation (WCF) client application that consumes the ICatalog and lCatalog2 service interfaces.
You need to ensure that the client discovers services implementing these interfaces.
The services may already be online or may come online within a 30 second time limit. How should you use WCF Discovery to accomplish this?
What should you do?
You are designing a sales and inventory tracking system by using Microsoft Visual Studio 2010 and Microsoft SQL Server 2008. The sales, inventory, and shipping tables will reside in different databases on different database servers.
You need to ensure that the tables are updated simultaneously.
What should you do?
What should you do?
An ASP.NET application hosts a RESTful Windows Communication Foundation (WCF) service at /Services/Contoso.svc.
The service provides a JavaScript resource to clients. You have an explicit reference to the JavaScript in your page markup as follows.
<script type=”text/javaScript” src=”/Services/Contoso.svc/js” />
You need to retrieve the debug version of the service JavaScript. What should you do?
What should you recommend?
You are designing a multi-tenant Windows Presentation Foundation (WPF) application that will connect to a Microsoft SQL Server 2008 database. The WPF application will change the structure of database tables and views at runtime based on the tenant’s configuration.
The WPF application must meet the following requirements:
Keep each tenant’s data separate.
Allow changes to the structure of the tables and views for each tenant without interfering with other tenants’ data.
You need to recommend an approach for managing the database structure.
What should you recommend?