What should you do?

You work as the application developer at Domain.com. Domain.com uses Visual Studio.NET 2005 as its application development platform.
You are developing a .NET Framework 2.0 application and are about to examine the code groups in machine, user, and enterprise policies.
The user security policy file is located in c: Certkiller config Certkiller Security.config and belongs to a user other than the currently logged on user.
You are required to use code access security policy tool to inspect the security policy and need the required command.
What should you do?

You work as the application developer at Domain.com. Domain.com uses Visual Studio.NET 2005 as its application development platform.
You are developing a .NET Framework 2.0 application and are about to examine the code groups in machine, user, and enterprise policies.
The user security policy file is located in c: Certkiller config Certkiller Security.config and belongs to a user other than the currently logged on user.
You are required to use code access security policy tool to inspect the security policy and need the required command.
What should you do?

A.
Run the caspol -customall -resolvegroup “c: Certkiller config Certkiller Security.config” command.

B.
Run the caspol -customer “c: Certkiller config Certkiller Security.config” -listgroups command.

C.
Run the caspol -customer -resolvegroup “c: Certkiller config Certkiller Security.config” command.

D.
Run the caspol -customall “c: Certkiller config Certkiller Security.config” -listgroups command.

Explanation:
Since the -customall option is used to specify that the command applies to the enterprise, machine and custom user policy stored in the
“c: Certkiller config Certkiller Security.config file making this the correct option to use in the scenario. The -listgroup option is used to specify the code groups in the specified policies that need to be listed.
Incorrect Answers:
A, C: The usage of the -resolvegroup option in the scenario is incorrect because the -resolvegroup option is used to show the code groups that the specified user belongs to.
B: The option in question in this answer should not be used in the scenario because the option is used to specify only the code groups of the specified user policy.



Leave a Reply 1

Your email address will not be published. Required fields are marked *


seenagape

seenagape

Correct answer is D