Microsoft
70-513 · Question #224
You develop a Windows Communication Foundation (WCF) SOAP service that contains a class named Order. The Order class includes a field named secret that stores private data. The Order class includes…
Sign in or unlock 70-513 to reveal the answer and full explanation for question #224. The question stem and answer options stay visible for context.
Question
You develop a Windows Communication Foundation (WCF) SOAP service that contains a class named Order. The Order class includes a field named secret that stores private data. The Order class includes the following code:
The service has the following requirements:
- The secret field must be encrypted.
- All other fields in the Order class must serialize as plain text.
You need to configure serialization for the Order class. What should you do?
Options
- AAdd a MessageHeader attribute to the secret field and set the ProtectionLevel to Sign.
- BAdd a MessageBodyMember attribute to the secret field and set the ProtectionLevel to Sign.
- CAdd a MessageBodyMember attribute to the secret field and set the ProtectionLevel to
- DAdd a MessageHeader attribute to the secret field and set the ProtectionLevel to
Unlock 70-513 to see the answer
You've previewed enough free 70-513 questions. Unlock 70-513 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.