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 umbrella company for several recording houses in the music industry.
You are currently developing an enterprise application for Domain.com. you need to design the database schema for this application and following are the facts regarding record labels/recording house, albums, songs, and artists; pertaining to the company that you need to take into account in your design:
1. A label has one or more albums.
2. A label has one or more artists.
3. An artist records zero or more albums.
4. An artist records one or more songs.
5. An artist belongs to one label.
6. An album is recorded by one or more artists.
7. An album has one or more songs.
8. An album is owned by one label.
9. A song is recorded by one or more artists.
10. A song exists on one or more albums.
You need to normalize the database. To this end you need to decide on the amount of tables to use in the database.
What should you do?
What should you do?
You are implementing power management for a target hardware platform.
You need to ensure that the board support package (BSP) includes support for the suspend power state.
What should you do?
What should you do?
You are creating an ASP.NET application by using the .NET Framework 3.5.
Airline passengers access the application over the Internet and from airport kiosks around the world.
The airport kiosks do not allow users to modify browser settings.
You have created language-specific resources for all static text elements in the application.
You need to ensure that the content is displayed in the preferred language of the users, regardless of their physical location.
What should you do?
Which line of code should you insert at line 09?
You create an application by using the Microsoft .NET Framework 3.5 and Microsoft
ADO.NET. The application connects to a Microsoft SQL Server 2005 database. The
application populates a DataSet object by using a SqlDataAdapter object. You use the
DataSet object to update the Categories database table in the database.You write the
following code segment. (Line numbers are included for reference only.)
01 SqlDataAdapter dataAdpater = new SqlDataAdapter(“SELECT CategoryID,
CategoryName FROM Categories”, connection);
02 SqlCommandBuilder builder = new SqlCommandBuilder(dataAdpater);
03 DataSet ds = new DataSet();
04 dataAdpater.Fill(ds);
05 foreach (DataRow categoryRow in ds.Tables[0].Rows)
06 {
07 if (string.Compare(categoryRow[“CategoryName”].ToString(), searchValue, true) == 0)
08 {
09
10 }
11 }
12 dataAdpater.Update(ds);
You need to remove all the records from the Categories database table that match the value
of the searchValue variable.Which line of code should you insert at line 09?
Which three actions should you perform?
You create an application by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5. The application currently generates output to a comma-delimited text file. Users have requested the output be generated to an XML file, a PDF file, or an HTML file. You need to design the application to allow output in different formats. You also need to allow addition of different output format types without recompilation of the application. Which three actions should you perform? (Each correct answer presents part of the solution. Choose three.)
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 Independent Electoral Commission. You are currently developing a voter registration application for Domain.com. Following is a list of the facts that must be taken into account:
1. A voter is associated with one political party.
2. A voter has one mailing address.
3. A mailing address can belong to multiple voters.
4. It is estimated that on average each mailing address can be used by two voters.
5. A voter has two telephone contact numbers.
6. A contact phone number can belong to multiple voters.
7. It is estimated that on average each contact phone number can be used by two voters.
The plan is to design the database schema based on these facts. Now you need to decide on the minimum number of tables that will be required. In your solution you must ensure that it offers the best performance.
What should you do? (Choose the correct amount of tables required.)
What should you do?
You are configuring the memory layout for a board support package (BSP). The Windows Embedded CE run-time image contains a device driver. You need to allocate physical memory for a DMA buffer of the device driver. What should you do?
What should you do?
You are creating an ASP.NET application by using the .NET Framework 3.5.
The application displays a price list that contains 100 items. The customers use desktop
computers, PDAs, mobile phones, or other mobile devices to access the application.
The application uses a master page that includes the following layout:
* A site header at the top of the page.
* A navigation structure at the side of the page.
* Content on the remaining space on the page.
You need to ensure optimal rendering of the price list for each customer, irrespective of the device category used.
What should you do?
should you insert at line 05?
You create an application by using the Microsoft .NET Framework 3.5 and Microsoft
ADO.NET. The application connects to a Microsoft SQL Server 2005 database. The
application uses the following stored procedure. CREATE PROCEDURE
[dbo].[UpdateShippers]
@CountryCode NVarchar(10)
,@NewRateCode int
AS BEGIN
Update dbo.Shippers
SET RateCode = @NewRateCode Where CountryCode = @CountryCode RETURN
@@ROWCOUNT
END
You write the following code segment. (Line numbers are included for reference only.)
01 using (SqlConnection connection = new
SqlConnection(connectionString))
02 {
03 connection.Open();
04 SqlCommand command = new
SqlCommand(“UpdateShippers”, connection);
05
06 command.ExecuteNonQuery();
07 }
You need to ensure that the application can update the Shippers table. Which code segment
should you insert at line 05?
What should you do?
You create a Windows Forms application by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5. The application is installed on several computers on the network. All unhandled and unexpected exceptions must be logged to a central location to allow reporting for administrator users. You need to record the exception details. What should you do?