Manifest Dll
receive security exceptions when they try to run the programs on their computers by Baranbly Godfingoy
93. You deploy many .NET-connected applications into a shared folder on your provider network. Your purposes need total trust to execute correctly.
Users report that they obtain security exceptions when they attempt to run the applications on their computer systems.
You’ll need to make sure the purposes over the users???? computer systems run with total trust.
What really should you do?
A. Implement a strong title for the programs by using the Strong Title tool (Sn.exe).
B. Utilize the security configurations of Online Explorer to add the shared folder for the list of trustworthy sites.
Do. Make use of the Code Accessibility Security Policy tool (Caspol.exe) to add a brand new code group that has the full believe in permission set. The new code group ought to also contain
a URL membership problem that specifies the URL from the shared folder exactly where your programs reside.
D. Grant the full have confidence in permission set towards the Trusted Zone code group by employing the Code Access Security Policy tool (Caspol.exe).
Answer: C
94. You produce a DirectorySecurity object for that operating directory.
You need to identify the consumer accounts and groups that have study and write permissions.
Which approach should you employ on the DirectorySecurity object?
A. the GetAuditRules method
B. the GetAccessRules method
C. the AccessRuleFactory method
D. the AuditRuleFactory approach
Answer: B
95. You might be creating an software to make a new file within the nearby file program.
You will need to define specific safety configurations for the file. You need to deny the file inheritance of any default safety configurations in the course of creation.
What must you do?
To answer, move the three appropriate actions from the list of actions to the answer region and arrange them in the right order.
Actions
Answer Area
A. Develop the file by utilizing a brand new FileStream object by passing the FileSecurity object as being a parameter towards the FileStream constructor.
B. Create a brand new FileSecurity object.
C. Apply the permissions by making use of the File course.
D. Produce a new FileSystemAccessRule object for each permission that you need to have, and include each rule towards the FileSecurity object.
E. Make a brand new FileSystemAuditRule object and include it to the FileSecurity object.
Solution: (B Prior to D) AND (D Prior to A) AND ONLY (B, D, A)
96. You’re developing an assembly named Assembly1. Assembly1 contains a manifeste approach. The international cache consists of a 2nd assembly named Assembly2.
You must make sure the manifeste strategy is only called from Assembly2.
Which permission class really should you use?
A. GacIdentityPermission
B. PublisherIdentityPermission
Do. DataProtectionPermission
D. StrongNameIdentityPermission
Solution: D
97. You’ll need to produce the methods of a COM application available to managed code. The appliance is known as Loans.exe.
What need to you do?
A. Execute the IL disassembler to produce intermediate language for Loans.exe, and then compile the intermediate language as a .Internet part.
B. Import the kind info from Loans.exe.
C. Export the kind details from Loans.exe, and then register it for COM interoperability.
D. Register Loans.exe inside the global assembly cache.
Answer: B
98. You will need to get in touch with an unmanaged operate from your managed code by applying platform invoke services.
What should really you do?
A. Generate a category to hold DLL functions after which develop prototype approaches by making use of managed code.
B. Register your assembly by using COM after which reference your managed code from COM.
C. Export a type library for the managed code.
D. Import a type library as an assembly after which produce situations of COM object.
Solution: A
99. You employ Reflection to get data a couple of strategy named MyMethod.
You need to ascertain no matter whether MyMethod is accessible to a derived class.
What really should you do?
A. Contact the IsAssembly house of the MethodInfo class.
B. Contact the IsVirtual home from the MethodInfo course.
C. Get in touch with the IsStatic property from the MethodInfo class.
D. Call the IsFamily house in the MethodInfo course.
Solution: D
About the Author
MCSE
MCSE Exams
MCSE 2008
MCSE 2003 Certification
Book 01 – Chapter 3 – The Hunchback of Notre Dame by Victor Hugo