nerdexam
Microsoft

70-518 · Question #124

70-518 Question #124: Real Exam Question with Answer & Explanation

Sign in or unlock 70-518 to reveal the answer and full explanation for question #124. The question stem and answer options stay visible for context.

Question

You are upgrading a stand-alone Windows Presentation Foundation (WPF) application and an XAML browser application (XBAP) to Microsoft .NET Framework 4. You plan to add .NET 4 types and members to both applications. Both applications consume a common utility assembly that modifies files on a local file system. The utility assembly requires full trust. You need to ensure that both applications can use the common utility assembly without any security-related exceptions. What should you do?

Options

  • AChange the <supportedRuntime> element for the WPF application to the .NET Framework
  • BChange the <supportedRuntime> element for the XBAP application to the .NET Framework
  • CApply the AllowPartiallyTrustedCallersAttribute attribute to the utility assembly.
  • DApply the AllowPartiallyTrustedCallersAttribute attribute to the XBAP application.

Unlock 70-518 to see the answer

You've previewed enough free 70-518 questions. Unlock 70-518 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.

Full 70-518 Practice
You are upgrading a stand-alone Windows Presentation Foundation... | 70-518 Q#124 Answer | NerdExam