MCSD.NET - 70-320 Exam Question:
Download Questions PDF

You have a DataSet object named loanCustomersDataSet that contains customers serviced by
the loan department of ExamSlink Inc. You receive a second DataSet object named
assetCustomersDataSet that contains customers serviced by the asset management department
of your company. Both objects have the same structure. You want to merge
assetCustomersDataSet into loanCustomersDataSet and preserve the original values in
loanCustomersDataSet.
Which code segment should you use?
A. loanCustomersDataSet.Merge(assetCustomersDataSet);
B. loanCustomersDataSet.Merge(assetCustomersDataSet, true);
C. assetCustomersDataSet.Merge(loanCustomersDataSet);
D. assetCustomersDataSet.Merge(loanCustomersDataSet, true);

Answer:

B. loanCustomersDataSet.Merge(assetCustomersDataSet, true);

Download MCSD.NET - 70-320 Exam Interview Questions And Answers PDF

Previous QuestionNext Question
Suppose You create a .NET Remoting object named Patient info that exposes medical patient information.
Because of the confidential nature of the information, you must ensure that the data remains
secure. You want client applications to connect to Patient info over a secure communication
channel. You want to accomplish this task by writing the minimum amount of code.
What should you do?
A. Create your own host application and use a Tcp Channel and Binary Formatter.
B. Create your own host application and use an Http Channel and a Soap Formatter.
C. Install Patient info in an Internet Information Services (IIS) virtual directory.
Configure Patient info to use a Tcp Channel and a Binary Formatter.
Configure IIS to use SSL.
D. Install Patient info in an Internet Information Services (IIS) virtual directory.
Configure Patient info to use an Http Channel and a Soap Formatter.
Configure IIS to use SSL.
Suppose You are developing an application named ExamSApp by using Visual C# .NET and Visual Basic
.NET. The application will use functions form a DLL written in unmanaged code. One function
requires the calling application to allocate unmanaged memory, fill it with data, and pass the
address of the memory to the function. On returning from the function, the calling application must
deallocate the unmanaged memory.
You need to decide how your application will handle unmanaged memory.
What should you do?
A. Use a byte array.
B. Use the methods of the Marshal class.
C. Use the methods of the MemoryStream class.
D. Derive a new class from the Stream class, and override the allocation methods.