PrepAway - Latest Free Exam Questions & Answers

What should you do?

You work as an application developer at Domain.com. A fellow developer named Amy Walsh recently created an assembly that implements a custom permission set.
Domain.com has asked you to test this assembly.
You start by copying the assembly to a test server named Certkiller -SR15 that has the Microsoft .NET 2.0 Framework installed.
You then log on to the Certkiller -SR15 as a member of the local Administrators Windows group.
You run the assembly, and receive a security exception.
You perform a brief analysis of the security issues involved, and find that the assembly has not been assigned the appropriate permissions to run.
You need to ensure that this assembly runs.
What should you do?

PrepAway - Latest Free Exam Questions & Answers

A.
Use the permview.exe tool to modify the assembly’s granted permissions.

B.
Use the sn.exe tool to modify the assembly’s granted permissions.

C.
Use the caspol.exe tool to modify the assembly’s granted permissions.

D.
Use the gacutil.exe tool to modify the assembly’s granted permissions.

Explanation:
The caspol.exe command-line tool allows users to modify security permissions, permission sets, and code groups for an assembly at the machine, user, and enterprise policy levels.
Incorrect Answers:
A: The permview.exe tool only allows users to view declarative security of an assembly.
B: The sn.exe tool allows developers to create a strong-named asymmetric key pair for strong-named assemblies.
D: The gacutil.exe tool allows users to manage the contents of the global assembly and download cache.

One Comment on “What should you do?


Leave a Reply