MCSD.NET - 70-340 Exam Question:
Download Questions PDF

Suppose You are an application developer for your company. You are developing a Windows Forms
application. You deploy a supporting assembly named MyAssembly.dll to the global assembly
cache. During testing, you discover that the application is prevented from accessing
MyAssembly.dll.
You need to ensure that the application can access MyAssembly.dll.
What should you do?
A. Digitally sign the application by using a digital certificate.
B. Run the caspol.exe -s on command from the command line.
C. Run the Assembly Linker to link MyAssembly.dll to the application.
D. Modify the security policy to grant the application the FullTrust permission.

Answer:

D. Modify the security policy to grant the application the FullTrust permission.

Download MCSD.NET - 70-340 Exam Interview Questions And Answers PDF

Previous QuestionNext Question
Suppose You develop an application that customers
will be able to automate by using Microsoft Visual Basic for Applications (VBA) scripts. The
application will be accompanied by sample VBA scripts. Customers must be able to review the
sample VBA scripts. You want customers to be able to automate the installed application by using
any of the sample VBA scripts or by creating their own automation scripts. You also want to allow
customers to choose not to apply any automation scripts.
You need to distribute the sample VBA scripts with your application in a manner that minimizes
security risks for the customer.
What should you do?
A. On installation, place all the sample VBA scripts in a subfolder of the application?s installation
folder.
B. On installation, as the user to choose one sample VBA script to install as the application?s
automation script.
C. Do not install the same VBA scripts.
Leave the files in a folder on the installation media.
D. Encrypt same VBA scripts on the installation media and decrypt the files during installation.
Suppose You are developing an application that will
be used by members of three domain user groups in your company. The user groups are named
CompanySales, CompanyMarketing, and AccountManagement. Each of the three user groups
will have different permission within the application.
You log on to your development computer by using a domain user account that is a member of
only the Domain Users and the Developers domain user groups. On your development computer,
you user account is a member of only the local Users group.
When you finish developing the application, you need to ensure that the application runs correctly
before you send the application to the company?s internal software examing department.
How should you exam the application?
A. Select one user from each of the three user groups that will run the application.
Deploy the application to the client computer of each of these three users.
Exam the application on each of the computers.
B. Deploy the application to a client computer.
Ask a domain administrator to place the computer?s domain account into all three of the user
groups that will run the application.
Exam the application on the client computer.
C. Ask a domain administrator to create a domain user account for examing.
Place the account in each of the three user groups that will run the application.
Exam the application, logging on to your computer by using the exam domain user account.
D. Ask a domain administrator to create three domain user accounts for examing.
Place one account in each of the three user groups that will run the application.
Exam the application three times, logging on to your computer by using a different exam
domain user account for each exam.