What should you do?
You work as the Enterprise application developer at Domain.com. The Domain.com network consists of a single Active Directory domain named Domain.com. All servers in the domain run Windows Server 2003. Your responsibilities at Domain.com include the design and development of applications. Domain.com operates as an airliner. You are stationed on one of the airports that the airliner operates from.
You are currently developing an enterprise air traffic control system for Domain.com. The plan is to make use of a Microsoft .NET Remoting component with Singleton activation to control the airplanes. An application server will be used to host the component. The air traffic controllers will make use of a Microsoft Windows Forms application that will be deployed to their workstations. You now need to define the implementation details of the component to ensure that is supports scalability.
What should you do?
Which functions should you implement?
You are developing a device driver for the on/off switch.
You include the following values in the registry for the driver.
[HKEY_LOCAL_MACHINE\Drivers\Builtin\OnOffDriver]
“Prefix”=”OOS”
“Dll”=”OnOffDriver.dll”
You need to ensure that the driver is successfully loaded by the device manager at boot time.
Which functions should you implement?
What should you do?
You are creating an ASP.NET application by using the .NET Framework 3.5.
Based on the user name and the time of the day, you are required to provide the following features:
1. Branding of images
2. Control colors
3. Page layouts
You need to provide these features on each page of the application when the page requests are made.
What should you do?
Which code segment should you add?
You create an application by using the Microsoft .NET Framework 3.5 and Microsoft
ADO.NET.The application uses a Microsoft SQL Server 2005 database that contains a
Products table and an Inventory table.The application coordinates updates between the
records in the Products table and Inventory table by loading a DataSet class named DataSet1.
You write the following code segment.
DataColumn parentColumn = DataSet1.Tables[“Products”].Columns[“ProductID”];
DataColumn childColumn = DataSet1.Tables[“Inventory”].Columns[“ProductID”];
You need to ensure that the following requirements are met when the ProductID value is
modified in the Products table:
The ProductID value is unique.
The records in the Inventory table are updated with the new ProductID value.
Which code segment should you add?
What should you do?
You create an ASP.NET application by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5. The application is installed on a Microsoft Windows 2003 server and manages several expense accounts. The application uses Forms authentication to manage user logins. The user login information is stored in a database. You need to generate a report that displays the user access details of the expense accounts for each user login. What should you do?
What conclusion can you draw?
You work as the Enterprise application developer at Domain.com. The Domain.com network consists of a single Active Directory domain named Domain.com. All servers in the domain run Windows Server 2003. Your responsibilities at Domain.com include the design and development of applications. Domain.com operates as the Emergency unit of the Traffic Department. You are currently busy implementing a Microsoft .NET Remoting component. This component will be used in the traffic control environment. The component will allow the traffic department to guide all traffic officers on duty to the available alternative routes during emergencies. As such the component must meet the following requirements:
1. A specific instance of the component must be allowed to control access to the navigational system on one traffic officer’s vehicle.
2. The component must be instantiated only once while the traffic officer’s navigational system is being controlled.
3. The component must be hosted on a server that is separate from the application. To this end the design suggests making us of single-call activation over Transmission Control Protocol (TCP). You are now required to decide whether or not the design meets the requirements.
What conclusion can you draw?
What should you do?
You have a stream interface device driver. You need to load the driver at Windows Embedded CE boot time. What should you do?
What should you do?
You are an ASP.NET application developer.
You plan to debug an ASP.NET application that is developed by using Microsoft .NET Framework 2.0.
You set a breakpoint in the JavaScript code that is stored in an external file.
The application fails to stop at the breakpoint.
You need to debug the application by using Microsoft Visual Studio 2008.
You want to achieve this goal by using the least amount of development effort.
What should you do?
Which code segment should you insert at line 06?
You create a Microsoft ASP.NET application by using the Microsoft .NET Framework
version 3.5.You write the following code segment in the code-behind file to create a Web
form. (Line numbers are included for reference only.)
01 string strQuery = “select * from Products;”
02 + “select * from Categories”;
03 SqlCommand cmd = new SqlCommand(strQuery, cnn);
04 cnn.Open();
05 SqlDataReader rdr = cmd.ExecuteReader();
06
07 rdr.Close();
08 cnn.Close();
You need to ensure that the gvProducts and gvCategories GridView controls display the data
that is contained in the following two database tables:
The Products database table
The Categories database table
Which code segment should you insert at line 06?
Which configuration settings and attribute should you use?
You are creating a Windows Communication Foundation service by using Microsoft .NET Framework 3.5. The service will be hosted on a Web server. You need to ensure that the service is able to access the current HttpContext instance. Which configuration settings and attribute should you use?