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 "HP0-803" Exam

Help

 can any one help by hp0-803 dump 



Google
 
Web www.certsbraindumps.com


Braindumps: Dumps for 70-554 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-554" Exam

UPGRADE: MCSD Microsoft .NET Skills to MCPD Enterprise Application Developer by Using the Microsoft .NET Framework: Part 2

 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 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 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. 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 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. 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 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 ASP.NET Web application development forms part of your responsibilities at ITCertKeys.com. You are currently developing an ASP.NET Web application that contains three Web services and eight Web pages. 

You further received instructions to deploy the application to a production server named ITCertKeys-SR03. You need to ensure that no human-readable code is stored on the Web server when you deploy the application.

What should you do?

A. The Web Application should be built in Visual Studio 2005. Copy only the files in the bin folder 
    to the production server using the XCOPY command.
B. The Web application should be copied to ITCertKeys-SR03 using the Visual Studio 2005 Copy 
    Web Site tool. Select the option to copy only the files required to run the application.
C. The Web application should be published to ITCertKeys-SR03 using the Visual Studio 2005 
    Publish Web Site tool. Unselect the checkbox that enables the "allow the precompiled site to 
    be updatable" option.
D. The Web application should be published to ITCertKeys-SR03 using the Visual Studio 2005 
    Publish Web Site tool. Select the checkbox that enables the "allow the precompiled site to be 
    updatable" option.

Answer: C

Explanation: 
Publishing the Web application to ITCertKeys-SR03 will allow Visual Studio 2005 to precompile the application. Further you should also unselect the option that allows the precompiled site to be updatable. This will indicate that files with extensions like .aspx and .asmx should be precompiled and unavailable in human-readable form.

Incorrect answers:
A: Making use of the XCOPY command will yield Web pages that will contain human readable 
    code. By default, the assemblies in the bin folder correlate with declarative code in Web pages, 
    which are not copied to the bin folder during compilation. This will require that you copy the 
    Web pages as well. 
B: You cannot precompile Web pages into assemblies using the Copy Web Site tool. Besides 
    Web pages contains human readable code.
D: When you select the option to allow precompiled site to be updatable, then the Web pages will 
    exist on the Web server and Web pages contains human readable code.

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. ITCertKeys.com operates as a credit bureau. The development of Extensible Markup Language (XML) Web Services forms part of your responsibilities at ITCertKeys.com. 

You are currently developing an Extensible Markup Language (XML) Web Service that will allow legitimate third parties to access credit scores, pull credit records, and update credit information for customers. You need to implement a Web method named ObtainCreditScore. ObtainCreditScore should accept a String parameter and return an integer. You need to make use of Remote Procedure Call (RPC) style for this Web method; you also need to make use of the Document style for all Web methods that will be implemented. To this end you need to make use of the appropriate code segment for the Web service.

What should you do?

A. [WebService(Namespace="urn: ITCertKeys")]
    [SoapRpcService]
public class CreditService
{
[WebMethod]
public int ObtainCreditScore(string customerIdentifier)
{
return 0;
}
}
B. [WebService(Namespace="urn: ITCertKeys")]
public class WebService
{
[SoapRpcMethod]
public int ObtainCreditScore(string customerIdentifier)
{
return 0;
}
}
C. [WebService(Namespace="urn: ITCertKeys")]
public class CreditService
{
[WebMethod]
[SoapRpcMethod]
public int ObtainCreditScore(string customerIdentifier)
{
return 0;
}
}
D. [SoapRpcService]
public class WebService
{
[WebMethod]
[SoapRpcMethod]
public int ObtainCreditScore(string customerIdentifier)
{
return 0;
}
}

Answer: C

Explanation: 
The WebMethod and SoapRpcMethod attributes should be asses to the ObtainCreditScore Web method. The WebMethod attribute in essence makes the method accessible by Web service clients. And the SoapRpcMethods instructs the Web Services Description Language (WSDL) generator to set the style attribute to Rpc for the ObtainCreditScore operation element.

Incorrect answers:
A, B: You must not apply the SoapRpcService attribute to the class because it will instruct the 
     WSDL generator to set the style attribute to rpc instead of document style. 
D: The WebMethod attribute and NOT the SoapRpcService attribute should be applied to the 
    ObtainCreditScore method to make the method accessible to the Web service clients.

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 implementation of trace listeners forms part of your responsibilities at ITCertKeys.com. You are currently busy implementing a custom trace that logs errors and warnings in a Microsoft SQL Server 2005 database. 

The custom trace implementation must allow individual applications to determine whether errors or warnings should be logged at a given time. To this end you install the assembly that contains the trace listener in the global assembly cache (GAC) on an application server. You need to enable all Web services on the application server to use the trace listener by default. You should ensure that your solution does not force Microsoft Windows Forms applications that run on the server to use the trace listener.

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

A. The trace listener should be added to the Web.config file for each Web service.
B. The trace listener should be added to the global Web.config file.
C. The trace listener should be added to the machine.config file.
D. Specify trace switches for each Web service in the Web.config file.
E. Specify trace switches in the machine.config file.

Answer: B, D

Explanation: 
The global Web.config file contains the configuration settings for all the Web applications on a computer. When the trace listener is added to the global Web.config file you will enable all Web services on the application server to use the trace listener by default. You should also specify trace switch settings in the Web.config file for each web service. This in turn will allow you to determines if errors or warnings are logged to the database on a per Web service basis.

Incorrect answers:
A: You should not add the trace listeners to the Web.config file for each Web service. You should 
    enable the trace listener setting by default which can be done by changing the global 
    We.config file.
C: The trace listener should not be added to the machine.config file. It will cause the Windows 
    Forms to inherit the settings by default because the machine.config file contains configuration 
    settings for all applications on a computer.
E: You should not specify trace switches in the machine.config file. Each Web service must 
    define the switches to control whether errors or warnings are logged for that Web service.

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 deployment of Web services forms part of your responsibilities at ITCertKeys.com. You are currently busy copying a Microsoft Extensible Markup Language (XML)
Web Service from a development server using the Copy Web Site tool. 

You then discover that in the event of users navigating to http://www.ITCertKeys.zzz/LocationService.asmx, they encounter an exception message in their browsers as follows:
Request format is unrecognized.
However, the message is not displayed when you test the Web service from a development server. When users navigate to this page, they should be able to view the automatically generated ASP.NET runtime Help page. You now need to ensure that users will be able to view the Help page without interfering with the deployment of other Web services on the production server.

What should you do?

A. You should add







to the machine.config file on the Web server.
B. You should add







to the Web.config file on the Web server.
C. You should add









to the Web.config file for the Web service.
D. You should add









to the machine.config file on the Web server.

Answer: C

Explanation: 
The Documentation protocol should be added to the collection of protocols supported by ASP.NET Web services. This will allow the ASP.NET runtime to display a Help page when navigating to a Web service in a Web browser. If the Documentation protocol is disables in either the machine.config file or the Web.config file for a Web application, the exception message will be displayed. Because this problem occurs on the production Web server and not the development Web server, the machine.config file must be configured to disallow the Documentation protocol.

Incorrect answers:
A: You should not set the WSDL Help generator page by setting the href attribute of the 
    HelpGenerator element. This element allows you to specify a custom Help page rather than the 
    automatically generated one. Furthermore this is the wrong location to be adding this 
    configuration.
B: You should not set the WSDL Help generator page by setting the href attribute of the 
    HelpGenerator element. This element allows you to specify a custom Help page rather than the 
    automatically generated one.
D: The Documentation protocol should not be added in the machine.config file. In such a case it 
    will affect the other Web services that are running on the production web server, especially 
    since the question requires you to disallow the Documentation protocol for all the other Web 
    services.

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 of Extensible Markup Language (XML) Web Services forms part of your responsibilities at ITCertKeys.com. You are currently developing an Extensible Markup Language (XML) Web Service that will be accessed by SOAP clients. To this end you need to specify the parameter formatting to result in a Web service that is Web Services Interoperability (WS-1) compliant.

What should you do?

A. Make use of Remote Procedure Call (RPC)-literal formatting.
B. Make use of Document-literal formatting.
C. Make use of Remote Procedure Call (RPC)-encoded formatting.
D. Make use of Document-encoded formatting.

Answer: B

Explanation: 
You need to make use of the document-literal Web method with wrapped parameter styles to comply with the WS-1 standard.

Incorrect answers:
A: RPC formatting always encapsulates parameters as elements within a single body element. 
    The WS-1 standard does not support RPC formatting.
C: RPC formatting is not supported in the WS-1 standard, whether it is in literal or encoded form.
D: You should not make use of document-encoded formatting. This indicates that the parameter 
    elements must explicitly specify their types and it does not comply with the WS-1 standard.

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 of Extensible Markup Language (XML) Web Services forms part of your responsibilities at ITCertKeys.com. You are currently developing an Extensible Markup Language (XML) Web Service that will allow ITCertKeys.com to locate the delivery trucks that it provides to companies. The Web service clients will send a similar request to the one illustrated below:

Exhibit:



000-000-0000



To this end you need to configure the attribute to enable it to support the SOAP request.

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

A. Set the Use property to SoapDocumentUse.Literal.
B. Set the Use property to SoapDocumentUse.Encoded.
C. Set the ParameterStyle property to SoapParameterStyle.Bare.
D. Set the ParameterStyle property to SoapParameterStyle.Wrapped.

Answer: A, D

Explanation: 
SoapDocumentUse.Literal indicates that literal formatting should be used. Thus parameter elements do not have to explicitly specify their types because the elements will then be included in the definitions section of the WSDL document. SoapParameterStyle.Wrapped indicates that the parameter elements must exist within a single child element of the body element. This can be seen in the illustration that indicates that the mobilePhoneNumber parameter element does not explicitly define its type, and that it exists as a child element of an element that is named GetLocation, which in turn is a child of the body element.

Incorrect answers:
B: You should not set the Use property to SoapDocumentUse.Encoded as it indicates that 
    parameter elements must explicitly specify their types.
C: You should not set the ParameterStyle property to SoapParameterStyle.Bare as it indicates 
    that parameter may exist as immediate children of the body element in the SOAP request.


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.