Microsoft
70-511 · Question #47
70-511 Question #47: Real Exam Question with Answer & Explanation
Sign in or unlock 70-511 to reveal the answer and full explanation for question #47. The question stem and answer options stay visible for context.
Question
You are developing a Windows Presentation Foundation (WPF) application. You are implementing the security features for a function that requires File 10. The callers of this function that are higher in the stack do not have permission to read the C:\temp directory. The function also accesses other resources that require permission. You need to ensure that the function has the proper permissions to read the C:\temp directory, and that all other resources in the function can still be accessed. Which attribute should you include with the function?
Options
- A[FileIOPermissionAttribute(SecurityAction.Demand,
- B[FileIOPermissionAttribute(SecurityAction.Assert,
- C[FileIOPermissionAttribute(SecurityAction.PermitOnly,
- D[FileIOPermissionAttribute(SecurityAction.InheritanceDemand,
Unlock 70-511 to see the answer
You've previewed enough free 70-511 questions. Unlock 70-511 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.