PrepAway - Latest Free Exam Questions & Answers

What should you do?

You work as the Microsoft.NET developer at Domain.com. The Domain.com network consists of a single Active Directory domain named Domain.com. All servers in the domain run Windows Server 2003.
The implementation of policies for Web applications forms part of your responsibilities. You deployed a Microsoft Web Services Enhancements (WSE) 3.0-enabled Web service application to a production server. Each Web service that is implemented in the application has a Policy attribute applied. This attribute specifies the name of a policy in a policy file. The production server has the Microsoft.NET Framework 2.0 installed, but not Microsoft Visual Studio 2005. You are required to modify the Web service on the production server to use a different set of policies than those that were used during the development.

What should you do?

PrepAway - Latest Free Exam Questions & Answers

A.
Create a new policy file on the server manually.
Specify the policies to be used in this policy file.
Execute the policies at run time by creating the appropriate SOAP extension.
Specify the SOAP extension in the Web.config file.

B.
The names of all the policies in the existing policy file must be changed.
Modify the policies so that it is applicable in the production environment.

C.
Create a new policy file on the server manually.
Configure the Web.config file to use this policy file.
Specify the policies to be used in this policy file.

D.
The names of all the policies in the existing policy file must be changed.
Execute the policies at run time by creating the appropriate SOAP extension.
Specify the SOAP extension in the Web.config file.

Explanation:
A policy file that contains all the applicable policies for the production environment must be created manually and to configure these policies you need to specify this policy file in the Microsoft.web.services3 section of the Web.config file.
Incorrect answers:
A: Soap extensions should not be created to execute policies. The policies must be executed prior to SOAP extensions because the policies will determine which SOAP extensions get executed.
B: The names of the policies should not be changed. In this case each policy attribute that is applied to a Web service specifies the name of a policy, thus if you change the names of the policies in the policy file, the policies will cease being applicable to the Web Services.
D: Soap extensions should not be created to execute policies. The policies must be executed prior to SOAP extensions because the policies will determine which SOAP extensions get executed.


Leave a Reply