Black Friday Sale Special - Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: sntaclus

You work as a Software Developer for ABC Inc. The company uses Visual Studio .NET as its application development platform. You are creating an application using the .NET Framework. You are required to call an unmanaged method from your managed code with the help of platform invoke services. What will you do to accomplish this task?

A.

1. Export a type library for your managed code

B.

1. Import a type library as an assembly

2. Create instances of COM object

C.

1. Register your assembly by using COM

2. Reference your managed code from COM

D.

1. Create a class to hold DLL methods

2. Create prototype methods with managed code

Charles works as a Web Developer for Cyber Net Inc. The company frequently receives production information from external vendors in the form of XML data. Charles stores these XML data in a disk container of the Web server as .xsd schema files and .xdr schema files. There are specific rules for writing XML codes to define the structure and data types for XML documents. Which of the following criteria should NOT be considered while writing an XML document?

Each correct answer represents a complete solution. Choose all that apply.

A.

A well-formed XML document should contain a start tag but not necessarily an end tag.

B.

An XML document must enclose the beginning and ending points of a tag by using the symbols '<' and '>' respectively.

C.

A well-formed XML document should contain a start tag and an end tag.

D.

An XML document should be specified according to the application or business requirement s.

E.

An XML document should have predefined elements and attributes.

Smith works as a Software Developer for ABC Inc. He creates an application using Visual

Studio .NET 2005. The application displays "Welcome to ABC" on the top-left corner of a form. He writes the following code:

StringBuilder strbuild1 = new StringBuilder(20);

strbuild1.Append("'Welcome");

strbuild1.Append(" ");

strbuild1.Append("to");

strbuild1.Append(" ");

strbuild1.Append("ABC'");

string str1 = strbuild1.ToString();

Console.WriteLine(str1);

Console.ReadLine();

What is the main purpose of using StringBuilder object in the application?

A.

To append a specified string to the end of the StringBuilder object.

B.

To concatenate two or more different set of strings or a set of Unicode characters.

C.

To create dynamic or mutable strings.

D.

To convert a value of the StringBuilder object to the String object.

You work as a Database Developer for a Web based music company named Music2Music. You are designing a database for online order management application. The customers use the company's Web site to place orders for the music CDs. Orders details are first inserted into an online database named OrdersData. The Orders database includes a table named Orders and a table named OrderDetails. The Orders table contains basic information about the orders. The OrderDetails table contains information about the individual items in the orders. Fragments of the Orders database is given below:

Requirements of the database design are given below:

l Customers must be able to use the company's Web site to view orders stored in the OrdersData database.

l Customers should be able to see only their own orders.

l Customers should not be able to modify the orders.

l The primary key values of the orders are not relevant to the customers and should not be

visible. What will you do?

A.

Create a view that displays the order information for a customer.

B.

Create a stored procedure that retrieves the order information for a customer.

C.

Grant SELECT permissions on the Orders and OrderDetails tables to the customers

D.

Create a scalar user-defined function that retrieves the order information for a customer.

You work as a Software Developer for Mansoft Inc. You create an ASP.NET Web application named MyWebApp. You implement a security protocol to transmit secured data between a client and a server. You try to authenticate the client computer. However, you are unable to do so, and the AuthenticationException exception is thrown. Which of the following classes will you use to accomplish this task?

Each correct answer represents a complete solution. Choose two.

A.

NegotiateStream

B.

SslStream

C.

Stream

D.

AuthenticatedStream

You work as a Software Developer for ABC Inc. The company uses Visual Studio .NET as its application development platform. You create a Windows Forms application by using the .NET Framework. The application executes a background thread. You are required to create the thread to exit, but you must also inform the main thread when the background thread has finished. What will you do to accomplish this?

A.

Call the Join method of the Thread class.

B.

Call the Sleep method of the Thread class.

C.

Call the Abort method of the Thread class.

D.

Call the Interrupt method of the Thread class.

You work as a Software Developer for Hi-Tech Inc. You develop an application using Visual Studio .NET 2005. You create an unregistered COM DLL file named Com1.dll. You want to use this Com1.dll file in your application code. However, Com1.dll needs to be registered in the Windows Registry before it is used by the application. Which of the following tools will you use to accomplish the task?

A.

Wsdl.exe

B.

Regsvr32.exe

C.

Tlbimp.exe

D.

Disco.exe

You work as a Web Application Developer for ABC Inc. The company uses Visual Studio .NET as its application development platform. You create a Web application using the .NET Framework.

The application uses a MS SQL server database. The application creates and manages online advertising campaigns. You need the Web application to track the effectiveness of the forthcoming campaigns by evaluating advertising results with operation parameters. This necessitates adding a Web form that executes the following tasks:

l It uses a target URL for all online advertising.

l It logs the referrer URLs.

l It offers live reporting of referral data.

You are required to find out the most effective storage mechanism to log the referral data. What will you do?

A.

Use an application log.

B.

Use a standalone application file.

C.

Use HTTP modules

D.

Use a database.

E.

Use a text file.

You work as a Software Developer for ABC Inc. The company uses Visual Studio.NET as its application development platform. You create an application using .NET Framework. You need to establish a Secure Sockets Layer (SSL) session with a remote server. The security policy of the company requires that both the client and server to provide a valid certificate for authentication before communications begins. Which of the following properties of the SslStream class will you use to accomplish this task?

A.

SslStream.IsServer

B.

SslStream.IsMutuallyAuthenticated

C.

SslStream.IsAuthenticated

D.

SslStream.IsSigned

E.

SslStream.IsEncrypted

You work as a Software Developer for ABC Inc. The company uses Visual Studio .NET 2008 as its application development platform. You create an ASP.NET Web application using .NET Framework 3.5. You create a Web form in the application that permits users to provide personal information. You add a DropDownList control to the Web form to retrieve the residential status of users. The default item that the DropDownList control displays is the "Select Country" option. You have to ensure that users select a country other than the default option. Which of the following validation controls should you use to accomplish this task?

A.

RangeValidator

B.

RequiredFieldValidator

C.

CustomValidator

D.

RegularExpressionValidator