Study Guides and Actual Real Exam Questions For Oracle OCP, MCSE, MCSA, CCNA, CompTIA


Advertise

Submit Braindumps

Forum

Tell A Friend

    Contact Us

 Home

 Search

Latest Brain Dumps

 BrainDump List

 Certifications Dumps

 Microsoft

 CompTIA

 Oracle

  Cisco
  CIW
  Novell
  Linux
  Sun
  Certs Notes
  How-Tos & Practices 
  Free Online Demos
  Free Online Quizzes
  Free Study Guides
  Free Online Sims
  Material Submission
  Test Vouchers
  Users Submissions
  Site Links
  Submit Site

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Online Training Demos and Learning Tutorials for Windows XP, 2000, 2003.

 

 

 

 





Braindumps for "920-199" Exam

too much site buddy

 u must visit this site for success
great collection www.itcertkeys.com
thanks


Google
 
Web www.certsbraindumps.com


Braindumps: Dumps for 70-529 Exam Brain Dump

Study Guides and Actual Real Exam Questions For Oracle OCP, MCSE, MCSA, CCNA, CompTIA


Advertise

Submit Braindumps

Forum

Tell A Friend

    Contact Us





Braindumps for "70-529" Exam

Microsoft .NET Framework 2.0 - Distributed Application Development

 Question 1.
You work as the Microsoft.NET developer at ITCertKeys.com. The ITCertKeys.com network consists of a single Active Directory domain named ITCertKeys.com. All servers in the domain run Windows Server 2003. The access control to Web services is part of your responsibility. To this end you are currently exposing an existing class as an Extensible Markup Language (XML) Web service. You need to ensure that this Web service is accessible exclusively accessible to Web service clients within the ITCertKeys.com domain. To comply with this requirement you need to change the access modifiers on methods that must be exposed as Web methods.

What should you do?

A. For each Web method, use the Internal or Friend Access modifier.
B. For each Web method, use the Private Access modifier.
C. For each Web method, use the Public Access modifier.
D. For each Web method, use the Protected Access modifier.

Answer: C

Explanation: 
Since only Public methods can be exposed as Web methods, you should make use of the Public Access modifier for each Web method.

Incorrect answers:
A: You cannot use the Internal or Friend Access method, only Public Access method can be exposed as Web methods.
B: You cannot use the Private Access method, only Public Access method can be exposed as Web methods.
D: You cannot use the Protected Access method, only Public Access method can be exposed as Web methods.

Question 2.
You work as the Microsoft.NET developer at ITCertKeys.com. The ITCertKeys.com network consists of a single Active Directory domain named ITCertKeys.com. All servers in the domain run Windows Server 2003. The development and deployment of Extensible Markup Language (XML) Web Services forms part of your responsibilities at ITCertKeys.com.

The following exhibit illustrates a class definition:
Exhibit:
public class MarketService
{
internal string ObtainMarket(string mobilePhoneNumber)
{
return string.Empty;
}
}
You received instruction to modify this class so that it becomes a Web service, a Web service that will allow internal applications to invoke ObtainMarket as a Web method. You need to ensure that the Web method does not make use of session state and that it must make use of the default namespace.

What should you do?

A. Change the access modifier for the ObtainMarket method to Public.
    Then apply the WebService attribute to the MarketService class.
B. Change the access modifier for the ObtainMarket method to Protected.
    Then apply the WebMethod attribute to the ObtainMarket method.
C. Change the access modifier for the ObtainMarket method to Public.
    Then apply the WebMethod attribute to the ObtainMarket method.
D. Derive the MarketService class from SoapHttpClientProtocol.
    Then apply the WebMethod attribute to the ObtainMarket method.
E. Derive the MarketService class from WebService.
    Then apply the WebMethod attribute to the ObtainMarket method.

Answer: C

Explanation: 
Only public methods can be exposed as Web methods. Thus you need to change the access modifiers to public. And you should also apply the WebMethod attribute to the ObtainMarket method as this attribute will indicate that the public method should be exposed as Web methods.
 
Incorrect answers:
A: The WebService attribute will allow you to specify the namespace and description for the Web service. This is not required to invoke Web methods. (In cases where no namespace has been specified, use will be made of the default namespace.)
B: Since only Public methods can be exposed as Web methods, you should not change the access modifier to Protected.
D: The SoapHttpClientProtocol base class allows for Web service clients to make SOAP calls to Web methods. This is not what is required.
E: The WebService base class is an optional class as it provides direct access to session and application instances for session state. It is mentioned in this question that the Web methods does not make use of session state.

Question 3.
You work as the Microsoft.NET developer at ITCertKeys.com. The ITCertKeys.com network consists of a single Active Directory domain named ITCertKeys.com. All servers in the domain run Windows Server 2003.

The following exhibit illustrates the class definition for a data processing Web service:
Exhibit:
[WebService(Namespace-"urn:DataProcessingService")]
Public class DataProcessingService : Webservice
{
[WebMethod(MessageName-"ProcessDataSet")]
Public void Process(DataSet dataset)
{
}
}
You have been instructed to apply an attribute to the Process method that will result in an immediate return to the caller without invoking a SOAP response. You need to ensure that the attribute that you apply in your solution is Web Services-Interoperability (WS-1) compliant. You thus need to make use of a code segment.

What should you do?

A. Use the [OneWay] code segment.
B. Use the [WebMethod(BufferResponse=false)] code segment.
C. Use the [WebMethod(BufferResponse=true)] code segment.
D. Use the [SoapDocumentMethod(OneWay=true)] code segment.
E. Use the [SoapRpcMethod(OneWay=true)] code segment.

Answer: D

Explanation: 
If you want the Web method to be WS-1 compliant then you should apply the SoapDocumentMethod attribute to the Process method. Setting the attribute of the OneWay property to true indicates an immediate return to the caller without a response when it is invoked.

Incorrect answers:
A: You should not apply the OneWay attribute to the Process method. This attribute is used with .NET Remoting components when a method should immediately return to the caller without a return value.
B: You should not apply a second Web method. Only one WebMethod attribute can be applied to a Web method. Furthermore, the BufferResponse property of the WebMethod attribute does not determine if execution returns to the caller immediately when the associated method is invoked. It determines whether the entire response is placed in memory before it is sent to the caller. However, in this case no responses should be returned.
C: One does not apply a second Web method as suggested in this option.
E: RPC style is not WS-1 compliant.

Question 4.
You work as the Microsoft.NET developer at ITCertKeys.com. The ITCertKeys.com network consists of a single Active Directory domain named ITCertKeys.com. All servers in the domain run Windows Server 2003. ITCertKeys.com is a Publishing and distribution company and works in joint ventures with many book stores that carries it products. The provision of stock on hand updates to third party companies (the book stores) forms part of your responsibilities at ITCertKeys.com. You are currently developing an Extensible Markup Language (XML) Web Service that provides stock on hand updates. To this end you created a Web method named GetStock that accesses the third party company's XML Web service to retrieve the required information. 

Following are some factors that you need to keep in mind:
1. The third parties' XML Web Service updates it information regarding stocks once every hour.
2. ITCertKeys.com is charged for each call to the third party Web service.
It is thus essential that you limit the number of calls that the ITCertKeys.com Web service makes to the third party company's Web service:
1. Thus you apply the Webmethod attribute to the GetStock method.
2. You need to configure the attribute to limit the number of calls to the third party Web service.
3. You must ensure that no cookies are required.

What should you do?

A. The CacheDuration property should be set to 3600
B. The EnableSession property should be set to true.
C. The MessageName property should be set to "ClientCache".
D. The BufferResponse property should be set to false.

Answer: A

Explanation: 
This property specifies the number of seconds that a response from a Web method should be cached on a server. With this property set to 3600, you will limit the number of calls to the third party Web service by limiting the number of invocations of your GetStock Web method to once every hour.

Incorrect answers:
B: The EnableSession property indicates whether a session should be enabled to the Web method. Server-side session state, which includes the Application and Session objects, can use a lot a memory on the Web server. Session state requires the use of cookies as well. Thus you should not use this property.
C: The MessageName property distinguishes overloaded Web methods. In Web services Description Language (WSDL) documents, each Web method must be named uniquely and the MessageName property is involved in meeting this requirement. This is not what should happen in this scenario.
D: The BufferResponse property determines whether the entire response is placed in memory on the server before it is sent to the Web Service client. You should thus not set this property to false.

Question 5.
You work as the Microsoft.NET developer at ITCertKeys.com. The ITCertKeys.com network consists of a single Active Directory domain named ITCertKeys.com. All servers in the domain run Windows Server 2003. The Extensible Markup Language (XML) Web service development forms part of your responsibilities at ITCertKeys.com. You are currently developing an Extensible Markup Language (XML) Web Service that contains four Web methods. Each of these four methods accepts a different number of parameters and each method is configured to make use of remote procedure call (RPC) SOAP formatting. You must ensure that each of these four Web methods is capable of being exposed as a Web method by the Web service.

What should you do?

A. The SoapDocumentMethod attribute should be applied to each of the four methods. 
    Then set the RequestNamespace property of each attribute to a different value.
B. The WebService attribute should be applied to the Web service's class.
    Then set the Namespace property of the attribute to "RPC".
C. The WebMethod attribute should be applied to each of the four web methods.
    Then set the MessageName property of each attribute to a different value.
D. The SoapRpcService attribute should be applied to the Web service's class.
    Then set the RoutingStyle property of the attribute to 
    SoapServiceRoutingStyleRequestElement.

Answer: C

Explanation: 
When you overload Web methods, you need to specify a distinct message name for each web method because Web Services Description Language (WSDL) does not support overloaded operations. You thus need to apply the WebMethod attribute to each of the four methods and set the MessageName property of each of these attributes to a different value.

Incorrect answers:
A: Because the Web methods must make use of RPC formatting, you should apply the SoapRpcMethod attribute to each of the four methods, you cannot apply both a SoapDocumentMethod attribute and a SoapRpcMethods attribute to the same method.
B: The Namespace attribute of the WebService attribute allows you to designate an XML namespace for the operations that are supported by the Web Service, not to ensure exposure.
D: Though it is possible to apply the SoapRpcService attribute to the class OR the SoapRpcMethod attribute to each method to support RPC formatting, it does not allow for overloaded methods to be exposed as Web methods. In this case the methods are already configured to make use of RPC formatting which actually indicates that one of the two attributes is already applied.

Question 6.
You work as the Microsoft.NET developer at ITCertKeys.com. The ITCertKeys.com network consists of a single Active Directory domain named ITCertKeys.com. All servers in the domain run Windows Server 2003. The development and deployment of Extensible Markup Language (XML) Web Services forms part of your responsibilities at ITCertKeys.com.

The following exhibit illustrates a class definition in a Web service project:
Exhibit:
public class MarketService
{
public Point ObtainMarket(string mobilePhoneNumber)
{
throw new soapException("Not implemented", New
XmlQualifiedName("error"));
}
}
You have received instruction to configure the class in such a way so as to allow SOAP clients to invoke the ObtainMarket method.

What should you do?

A. The class should be derived from WebService.
B. The class should be derived from SoapHttpClientProtocol.
C. The WebMethod attribute should be applied to the method.
D. The WebService attribute should be applied to the class.

Answer: C

Explanation: 
The Webmethod attribute applied to the method will indicate that a public method should be exposed as a Web method of a Web service. Thus you should apply the WebMethod attribute to the method.

Incorrect answers:
A: Since the WebService base class is optional, and it provides direct access to the Session and Application instances, you should not derive the class from WebService.
B: You should derive a proxy class from this class in a SOAP client application. This will allow the client application to make SOAP calls via the proxy class to the Web service. Thus you should not derive the class from SoapHttpClientProtocol.
D: The WebService attribute will allow you to specify a namespace and description for the Web service; you should not apply the WebService attribute to the class.

Question 7.
You work as the Microsoft.NET developer at ITCertKeys.com. The ITCertKeys.com network consists of a single Active Directory domain named ITCertKeys.com. All servers in the domain run Windows Server 2003. The development and deployment of Extensible Markup Language (XML) Web Services forms part of your responsibilities at ITCertKeys.com.

The following exhibit illustrates a configuration.
Exhibit:









You have just added the above configuration to a new file by means of using a text editor. You need to save this file to a production server to provide the Web service discovery.

What should you do?

A. Use the .disco extension to save the file.
B. Use the .vsdisco extension to save the file.
C. Use the .wsdl extension to save the file.
D. Use the .asmx extension to save the file.

Answer: B

Explanation: 
Dynamic discovery documents are denoted by a file with .vsdisco extension. This will allow the Web service client to discover all Web services that exist at and below the virtual directory that contains the document. You should thus save the file using a .vsdisco extension.

Incorrect answers:
A: The .disco extension is used to denote a static discovery document. This will not suffice under the circumstances.
C: The .wsdl extension represents files what are Web Services Description Language (WSDL) documents. You should not make use of this extension to save the file to the production server.
D: The .asmx extension represents a Web service endpoint. These types of files thus so not allow for dynamic discovery.

Question 8.
You work as the Microsoft.NET developer at ITCertKeys.com. The ITCertKeys.com network consists of a single Active Directory domain named ITCertKeys.com. All servers in the domain run Windows Server 2003. The development and deployment of Extensible Markup Language (XML) Web Services forms part of your responsibilities at ITCertKeys.com. After receiving instruction you have just finished developing an ASP.NET Web application named WebServices. WebServices contains the Web services for each of the ITCertKeys.com clients. Microsoft Internet Information Services (IIS) 6.0 is hosting the Web application. And the Web application is configured in such a way so as to map host header names to client-specific virtual directories. Each ITCertKeys.com client has its own virtual directory. These virtual directories are located in a root virtual directory named WebServices.

The following exhibit illustrates an example of the virtual directory structure:
Exhibit:
WebSite
WebServices (Web Application)
Client A (VirtualDirectory)
WebService1.asmx
WebService2.asmx
Client B (VirtualDirectory)
WebService3.asmx
WebService4.asmx
Client C (VirtualDirectory)
WebService5.asmx
WebService6.asmx
You received further instructions to ensure that all ITCertKeys.com clients have the ability to discover all of the Web services that are implemented in the Web application for that client. You need to accomplish this task while also making provision for those Web services that is intended for future implementation. However, you also need to ensure that the ITCertKeys.com clients should not have the ability to discover implemented Web services intended for other clients.

What should you do? (Each correct answer presents part of the solution. Choose two.)

A. A .vsdisco file should be added to each ITCertKeys.com client's virtual directory.
B. A .disco file should be added to each ITCertKeys.com client's virtual directory.
C. Both a .vsdisco and a .disco file should be added to the WebServices directory
D. No .vsdisco or .disco files should be placed in the WebServices directory.
E. A .vsdisco file should be placed in the WebServices directory.

Answer: A, D

Explanation: 
A file with a .vsdisco extension will allow for dynamic discovery. This will result in the ITCertKeys.com clients having the ability to discover all the Web services that exist at en below the virtual directory that contains the document. This means that each client will be able to discover all Web services that exist at and below its own virtual directory.

Incorrect answers:
B: You should not place a .disco file to each ITCertKeys.com client's virtual directory because this is a static discovery document. You should manually specify the Web services that should be discovered in this document and the clients will then not be able to automatically discover the Web services that will be added in the future.
C: You should not place a .disco or a .vsdisco file in the WebServices directory. This will result in the violation of one of the requirements in the questions that states the no one ITCertKeys.com client should be able to discover Web services that are not intended for that specific client.
E: You should not place a .vsdisco file in the WebServices directory because you do not want the ITCertKeys.com clients to be able to discover the Web services that are not implemented for them.

Question 9.
You work as the Microsoft.NET developer at ITCertKeys.com. The ITCertKeys.com network consists of a single Active Directory domain named ITCertKeys.com. All servers in the domain run Windows Server 2003. The development and deployment of Extensible Markup Language (XML) Web Services forms part of your responsibilities at ITCertKeys.com. After receiving instructions you have just completed the development and the deployment of an Extensible Markup Language (XML) Web service application. This XML Web service application contains ten (10) Web services. At present dynamic discovery on the Web server that hosts the application has been disabled. To this end you now need to configure the Web.config file of the application to allow Web service clients the ability to dynamically discover all the Web services. You also want to ensure that the Web service clients will be able to discover any future Web services that will be added.

What should you do? (Choose the correct configuration.)

A. 






B. 






C. 






D. 







Answer: B

Explanation: 
An Http handler should be added for all .vsdisco files. DiscoveryRequestHandler is the default handler class in ASP.NET 2.0. A file with the .vsdicso extension will allow a Web service client to dynamically discover all Web services that exist at and below the virtual directory that contains the document.

Incorrect answers:
A: A .disco file extension denotes a static discovery document. You will need to manually specify the Web services that should be discovered in this document. This will result in clients being unable to automatically discover the Web services that will be added in future.
C: A .wsdl handler denotes a Web Services Description Language (WSDL) document. This type of file will not provide for dynamic discovery of Web services.
D: An .asmx handler denotes a Web service endpoint and will thus not provide clients with the ability to automatically discover Web services.

Question 10.
You work as the Microsoft.NET developer at ITCertKeys.com. The ITCertKeys.com network consists of a single Active Directory domain named ITCertKeys.com. All servers in the domain run Windows Server 2003. The development and deployment of Extensible Markup Language (XML) Web Services forms part of your responsibilities at ITCertKeys.com. After receiving instructions, you have just finished developing and deploying public and private Extensible Markup Language (XML) Web services to a production server. This production server has been configured with Microsoft Internet Information Services (IIS) 6.0. The Web services are located on different IIS virtual directories. 

Each of these IIS virtual directories hosts either public Web services or private Web services, but not both. Part of the instructions that you received also states that Web service clients must have the ability to discover the public Web services dynamically, but not the private Web services. The Web Service clients should also be granted the ability to ability to dynamically discover any new public Web services that are added to an existing virtual directory. To this end you now need to configure the server to meet these requirements. You should take care that your configuration does not prevent the discovery of Web services in new virtual directories unless you reconfigure the server.

What should you do? (Each correct answer presents part of the solution. Choose three.)

A. Add a .disco file to the Web site's virtual root directory.
B. Add a .vsdisco file to the Web site's virtual root directory.
C. Do not add .vsdisco files anywhere on the server.
D. Add the .vsdisco files to each virtual root directory that exposes public Web services.
E. Configure the .disco file with reference to each public Web service.
F. Configure the .disco file with reference to each .vsdisco file.

Answer: A, D, F

Explanation: 
You need to add a static discovery document, i.e. a .disco file to the IIS root directory and dynamic discovery documents, i.e. .vsdisco files to each virtual directory that exposes public Web services. This way you can ensure that Web service clients have the ability to only discover the public Web services.

Incorrect answers:
B: You should not add .vsdisco files to the IIS root directory.
C: Adding a .vsdisco file anywhere on the server will expose the private Web services.
E: .disco files should not be configured to reference to each public Web service. This means that Web clients will not be able to not automatically discover new Web services that are added to existing virtual directories.


Google
 
Web www.certsbraindumps.com


Study Guides and Real Exam Questions For Oracle OCP, MCSE, MCSA, CCNA, CompTIA





              Privacy Policy                   Disclaimer                    Feedback                    Term & Conditions

www.helpline4IT.com

ITCertKeys.com

Copyright © 2004 CertsBraindumps.com Inc. All rights reserved.