70-513 · Question #187
You are creating a windows Communication Foundation (WCF) service to process orders. The data contract for the order is defined as follows: [DataContract]> public class Order { [DataMemberl ()>…
Sign in or unlock 70-513 to reveal the answer and full explanation for question #187. The question stem and answer options stay visible for context.
Question
You are creating a windows Communication Foundation (WCF) service to process orders. The data contract for the order is defined as follows:
[DataContract]> public class Order { [DataMemberl ()> public string CardHolderName { get; set; [DataMember] > public string CreditCardNumber { get; set; } ) You have the following requirements:
- Enable the transmission of the contents of Order from the clients to
the service.
- Ensure that the contents of CreditCardNumber are not sent across the
network in clear text.
- Ensure that the contents of CreditCardNumber are accessible by the
service to process the order. You need to implement the service to meet these requirements What should you do?
Options
- AAdd a DataProtectionPermission attribute to the CreditCardNumber property and set the
- BConvert the DataContract to a MessageContract and set the ProtectionLevel property to
- CChange the data type of CreditCardNumber from string to SecureString
- DImplement the CreditCardNumber property getter and setter In the setter, run the value of
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.