Thursday, May 20, 2010

Microsoft 70-643 Exam

Microsoft 70-643 Exam

Practice Exam 70-643
 Product Description:
Exam Number/Code: 70-643
Exam Name: TS

“TS ’s TS: Windows Server 2008 Applications Infrastructure, Configuring”, also known as 70-643 exam, is a Microsoft certification.
Preparing for the 70-643 exam? Searching 70-643 Test Questions, 70-643 Practice Exam, 70-643 Dumps?
With the complete collection of questions and answers, Pass4sure has assembled to take you through 87 questions to your 70-643 Exam preparation. In the 70-643 exam resources, you will cover every field and category in TS helping to ready you for your successful Microsoft Certification.Â
Â

Microsoft 70-643 Tests

Practice tests in VCE format:

File Size Last Modified
Microsoft Pass4sure 70-643 v1 21 by Syborg 87q.vce 358.11 KB 23-Apr-2008

QUESTION 1
You are creating a Windows-based application named CKWinApp. To the application, you add a
Windows Form named CKForm and a reference to a SingleCall .NET Remoting object named
TheirObject.
You need to ensure that CKForm creates an instance of TheirObject to make the necessary remote
object calls.
Which code segment should you use?
A. RemotingConfiguration.RegisterActivatedClientType(
typeof(TheirObject),
“http:// Cerp4siller Server/TheirAppPath/TheirObject.rem”);
TheirObject theirObject = new TheirObject();
B. RemotingConfiguration.RegisterWellKnownClientType(
typeof( Cerp4siller Object);
“http:// Cerp4siller Server/TheirAppPath/TheirObject.rem”);

Actualtests.org – The Power of Knowing
TheirObject theirObject = new TheirObject();
C. RemotingConfiguration.RegisterActivatedServiceType(
typeof(TheirObject));
TheirObject theirObject = new TheirObject();
D. RemotingConfiguration.RegisterWellKnownServiceType(
typeof(TheirObject),
“http:// Cerp4siller Server/TheirAppPath/TheirObject.rem”,
WellKnownObjectMode.Singleton);
TheirObject theirObject = new TheirObject();
Answer: B
Explanation: The RemotingConfiguration Class provides various static methods for configuring the
remoting infrastructure. The RegisterWellKnownClientType method registers an object Type on the client
end as a well-known type (single call or singleton).
Incorrect Answers
A: The RegisterActivatedClientType method registers an object Type on the client end as a type that
can be activated on the server.
C: The RegisterActivatedServiceType method registers an object Type on the service end as one that
can be activated on request from a client.
D: The RegisterWellKnownServiceType method registers an object type on the service end as a wellknown
type (single call or singleton).
Reference: .NET Framework Class Library, RemotingConfiguration Members
QUESTION 2
You are creating an XML Web service that will consist of a class named Stock. Stock will expose the
following public fields:
Symbol, CompanyName, and CurrentPrice.
When serialized by the XMLSerializer, stock will take the following form:




You need to construct the Stock class.
Which code segment should you use?
A. Public Class Stock
_
Public Symbol As String
_
Public Company Name As String
Public CurrentPrice As Double
End Class
B. Public Class Stock
Public Symbol As String

Actualtests.org – The Power of Knowing
_
Public CompanyName As String
Public CurrentPrice As Double
End Class
C. Public Class Stock
_
Public Symbol As String
_
Public CompanyName As String
Public CurrentPrice As Double
End Class
D. Public Class Stock
_
Public Symbol As String
_
Public CompanyName As String
_
Public CurrentPrice As Double
End Class
Answer: C
Explanation: XmlAttributeAttribute(”symbol”) specifies that symbol will be serialized as an XML
attribute.
Then we defined a XML element with the XmlElementAttribute(”company”)
Note: XML serialization is the process of converting an object’s public properties and fields to a serial
format, XML for example, for storage or transport.
Incorrect Answers
A: We should use the XmlAttributeAttribute for symbol.
B: We should use the XmlAttributeAttribute for symbol.
D: Company, not CompanyName, should be defined as an XML element.
Reference: .NET Framework Developer’s Guide, Attributes that Control XML Serialization
QUESTION 3
You are creating an XML Web service named StockService. The service contains a Web method
named RetrieveStockInfo.
RetrieveStockInfo takes as input a stock symbol and returns a DataSet object that contains
information about that stock. You want to capture all incoming SOAP messages in RetrieveStockInfo
and write the messages to a file for future processing.
What should you do?
A. Enable sessions in RetrieveStockInfo.
B. Create a SOAP extension for RetrieveStockInfo.
C. Apply a SoapHeader attribute to RetrieveStockInfo.
D. Apply a SoapRpcMethod attribute to RetrieveStockInfo.

Actualtests.org – The Power of Knowing
Answer: B
Explanation: The ASP.NET SOAP extension architecture revolves around an extension that can inspect or
modify a message at specific stages in message processing on either the client or the server. A SOAP
extension would allow the capture and processing of SOAP messages.
Reference: .NET Framework Class Library, SoapExtension Class
Incorrect Answers
A: Would not help.
C: SoapHeader is applied to an XML Web service method or an XML Web service client to specify a
SOAP header the Web service method or XML Web service client can process.
D: Applying the SoapRpcMethodAttribute to a method specifies that SOAP messages sent to and from
the method use RPC formatting. This would not help in capturing the SOAP messages however.