PrepAway - Latest Free Exam Questions & Answers

Which code segments should you include in Target 1, Target 2 and Target 3 to build the view?

DRAG DROP
You are developing an ASP.NET MVC application in Visual Studio. The application contains sensitive
bank account data.
The application contains a helper class named SensitiveData.Helpers.CustomEncryptor.

The application contains a controller named BankAccountController with two actions.

The application contains a model named BankAccount, which is defined in the following code
segment.

The application must not display AccountNumber in clear text in any URL.
You need to build the view for the GetAccounts action.
You have the following code:


Which code segments should you include in Target 1, Target 2 and Target 3 to build the view? To
answer, drag the appropriate code segment to the correct targets. Each code segment may be used
once, more than once, or not at all. You may need to drag the split bar between panes or scroll to
view content.


PrepAway - Latest Free Exam Questions & Answers

Answer: See the explanation

Explanation:
Target1: maskedAccountNum
Target2: custEncrypt

Target3: Encrypt(item.AccountNumber)
SensitiveData.Helpers


Leave a Reply