PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

What should you do?

You are creating two user-defined functions (UDFs) of Excel Services in Microsoft Office SharePoint Server 2007.

You write the following code segment.

public class Class1
{
public double MyDouble (double d)
{
return d * 9;
}
public DateTime ReturnDateTimeToday ()
{
return ( DateTime.Today );
}
}

You need to ensure that the MyDouble method and the ReturnDateTimeToday method are recognized as UDFs of Excel Services. What should you do?

Which three tasks should you perform?

You are an enterprise application developer. You are creating a component that will be deployed as part of a class library. The component must meet the following specifications:

The interface of the component must be accessible to components outside the hosting assembly.
The interface of the component must be interoperable with components written in any other .NET Framework languages.
The implementation of the component cannot be expanded upon by a derived class.

You need to design the interface of the component.
Which three tasks should you perform? (Each correct answer presents part of the solution.
Choose three.)

What should you do?

You create a Web site that you must copy from a development server to a testing server, along with all source files. You do not have terminal access to the testing server. You need to create the virtual directory. Then you must copy the Web site to the virtual directory on the testing server without precompiling the site.
What should you do?

What should you do?

You are an enterprise application developer. You are creating a component that will be used in an order fulfillment process.
The component performs the following two tasks:

Modifies data in a local Microsoft SQL Server database Adds data to a remote SQL Server database

The application that uses the component is multithreaded. Each application thread that uses the component creates its own instances of the component classes. You need to ensure that the component either performs both tasks successfully or performs neither task. What should you do?