Microsoft 70-554(CSHARP)
UPGRADE:MCSD MS.NET Skills to MCPD Entpse App
Dvlpr Pt2
The
h fo
f l
o l
l o
l w
o in
i g
n s
g are
r so
s m
o e ti
t p
i s
p mad
a e
d fo
f r
o yo
y u
o ,
u we re
r co
c m
o men
e d
n
yo
y u
o
to
t
re
r ad
a th
t e
h m ca
c re
r fu
f l
u l
l y
l
si
s n
i c
n e
c
th
t e
h y ca
c n he
h lp
l yo
y u
o le
l a
e rn
r be
b tt
t e
t r.
r
Do
D '
o s and
n Don
o '
n t
' s
Do’s: Study our products rather than just remember the questions and answers. Certidea
materials are strictly selected by our experts according to the official standards. After studying
them you can enhance your ability.
Don’ts: Do not go through our products just once. You should make sure you can have
enough time to master our materials in case you have missed something. We guarant ee that
you can pass your exam after fully studying our products.
Pro
r m
o pt
p Up
U d
p a
d te
t
You can rest assured that every Certidea product is of the latest version. We are constantly
updating our products to make sure our quality. You can enjoy a 120-day free update after the
purchase and you should check your member zone at Certidea an update 3-4 days bef ore the
scheduled exam date.
Deve
v l
e o
l p
o m
p ent
n
If you have some complaints or suggestions, please let us know. No matter what is the
problem, we are eager to hear from our customers to develop ourselves. You can contact us
at feedback@Certidea.com and should include the following s: exam number, version, page
number, question number, and your login ID. We will solve your problems as soon as possible.
Certidea--Lead Your Way to Certif icates
----------------------------------------------------------------------------------------------------------------------
Sales and Support Manager
Sales Team: sales@Certidea .com
Support Team: support@Certidea .com
---------------------------------------------------------------------------------------------------------------------
Co
C p
o y
p r
y i
r g
i h
g t
h
A unique serial number associated with your particular name and contact information is
contained in each PDF file for security purposes. So if we find you have distributed a
particular PDF file, Cert idea reserves the right to take legal action against you according to
the International Copyright Laws.
Lead your way to certificates!
Question: 1
A client application calls a Web service named Math. Both the client application and Math are
configured with a Web Services Enhancements (WSE) 3.0 policy named
Secure to validate anonymous access for certificate security. A Web ref erence to the Math
Web service is added to the client application's project using Microsoft Visual Studio 2005.
When the client application is built and executed, a SoapException exception is thrown with
the following message.
The security requirements are not met because the security header is not included in the
incoming message.
You need to ensure that the application runs without throwing the SoapException exception.
What should you do?
A. Add the following attribute to the Math proxy class
definition.[Microsof t.Web.Services3.Policy("Secure")]
B. Set the Name property for the WebServiceBindingA ttribute attribute on the Math proxy
class definition to MathWseSoap.
C. Add the following attribute to the Math proxy class
definition.[Microsof t.Web.Services3.Policy("anonymousForCertificateSecurity")]
D. Modify the Math proxy class so that it derives from the following
protocol.System.Web.Services.Protocols.SoapHttpClientProtocol
Answer: A
Question: 2
A Web service application uses Web Services Enhancements (WSE) 3.0. A class named
RejectUnknownActorFilter is derived from the SoapFilter class. The RejectUnknownActorFilter
class throws a SoapException exception if the request contains an unexpected actor. A class
defines a policy assertion as follows. (Line
numbers are included for ref erence only.)
01 public class RequireActorAssertion : PolicyAssertion {
02 public override SoapFilter
03 CreateClient InputFilter(FilterCreationContext context) {
04 return null;
05 }
06 public override SoapFilter
07 CreateClient OutputFilter(FilterCreationContext context) {
08 return null;
09 }
10 public override SoapFilter
11 CreateSer viceInputFilter(FilterCreationContext context) {
12 return null;
13 }
14 public override SoapFilter
15 CreateSer viceOutputFilter(FilterCreationContext context) {
Lead your way to certificates!
16 return null;
17 }
18 }
You need to ensure that the Web service rejects any SOAP request that contains an
unexpected actor. Your code must minimize the server resources used to process the request.
What should you do?
A. Replace line 04 with the following line of code.return new RejectUnknownActorFilter();
B. Replace line 08 with the following line of code.return new RejectUnknownActorFilter();
C. Replace line 12 with the following line of code.return new RejectUnknownActorFilter();
D. Replace line 16 with the following line of code.return new RejectUnknownActorFilter();
Answer: C
Question: 3
You write a Web service that uses Web Services Enhancements (WSE) 3.0 for security. The
Web service must support both the kerberosSecurity policy and the mutualCertif icateSecurity
policy. Both policies have the same options set for encryption and signatures. You need to
ensure that the Web service can use either policy.
What should you do?
A. Create two policy files: one with the kerberosSecurity policy, and the other with the
mutualCertif icateSecurity policy.
B. Create one policy file that contains a policy element for the kerberosSecurity policy and a
policy element for the mutualCertif icateSecurity policy.
C. Create one policy file that contains a policy element, which contains a kerberosSecurity
policy element and a mutualCertificateSecurity policy element.
D. Create two policy files: one with the Extensions element, and the other with a single policy
element that contains both the kerberosSecurity policy element and the
mutualCertif icateSecurity policy element.
Answer: B
Question: 4
A Web service application provides security data about employees to applications that control
access to company facilities. The Web service is accessed by using TCP and is protected by
using Web Services Enhancements (WSE) 3.0 security for message encryption. The
company has added fingerprint readers to grant employees access to the facilities. Images of
employee fingerprints are maintained by the Web service application. You need to ensure that
the existing WSE security encryption policy can be applied to the fingerprint image. Your
solution must minimize the size of the Web service message. What should you do?
A. Conf igure the Web service to use base64 encoding to pass the binary fingerprint image.
B. Conf igure the Web service to use Message Transmission Optimization Mechanism (MTOM)
Lead your way to certificates!
to pass the binary fingerprint image.
C. Create a SOAP filter to manage encryption for the message.
D. Create a SOAP extension to manage encryption for the message.
Answer: B
Question: 5
You have a Web service that is deployed on an unsecured network. You need to implement
encryption on the Web service. The implementation must be configurable at run time. What
should you do?
A. Write a custom SOAP extension attribute class to encrypt and decrypt the SOAP message.
Apply the attribute to the Web service class.
B. Apply Web Services Enhancements (WSE) 3.0 security to the Web service that is
configured to use an X.509 certificate with the Sign and Encrypt protection level.
C. Apply Web Services Enhancements (WSE) 3.0 security to the Web service that is
configured to use an X.509 certificate with the Sign-Only protection level.
D. Write custom code in each Web method of the Web service that encrypts the data by using
the DESCryptoSer viceProvider class.
Answer: B
Lead your way to certificates!
Add New Comment