PrepAway - Latest Free Exam Questions & Answers

Tag: 70-536

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 Windows application that will make use of an assembly named BillAssembly.
The assembly file BillAssembly.dll is deployed in a folder named Test20 under the application root directory.
The BillAssembly assembly was not strongly named
You are required to configure the Windows application to specify the location of the BillAssembly assembly whilst any settings that you change not affect other applications installed on the system.
What should you do?

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 Web application. You need to access the configuration data for the application.
You do not need read-only access to the configuration data whilst your solution provides the maximum performance.
What should you do?

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 system utility application and are required to write some code that allows you to examine assemblies compiled for other platforms of the .NET Framework. You create a new application domain and load assemblies into it.
You are required to ensure that code loaded into this context can be examined but not executed.
You know the path name of the file containing the assembly but you do not know the name of the assembly.
What should you do?

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 that uses the CreateDomain method of the AppDomain class to create an application domain.
You are required to set the following properties for the new application domain:
* Root directory
* Location of the configuration file
* Search path that the Common Language Runtime uses to load the assemblies into the domain
You must ensure that these properties values are passed to the CreateDomain method.
What should you do?

What should you do?

You create a class library that contains the class hierarchy defined in the following code segment.
(Line numbers are included for reference only.)
01 public class Group {
02 public Employee[ ] Employees;
03 }
04 public class Employee {
05 public string Name;
06 }
07 public class Manager : Employee {
08 public int Level;
09 }
You create an instance of the Group class. You populate the fields of the instance.
When you attempt to serialize the instance by using the Serialize method of the XmlSerializer class, you receive InvalidOperationException.
You also receive the following error message: “There was an error generating the XML document.”
You need to modify the code segment so that you can successfully serialize instances of the Group class by using the XmlSerializer class.
You also need to ensure that the XML output contains an element for all public fields in the class hierarchy.
What should you do?

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 Windows Service application. You are required to synchronize execution of some resources across multiple processes.
What should you do?

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 Windows Service application that will be used on a multiprocessor system.
You are writing code for a class that contains globally accessible Integer variable named Testcounter.
The value of the Testcounter will be incremented of decremented from other classes running in separate threads.
You are required to provide atomic and non-blocking updates for the Testcounter whilst your solution provides the best performance.
What should you do?

Choose the two actions which you should perform to achieve your goal.

You work as the application developer at Domain.com.
You are developing a strong-named assembly named Certkiller Ass3.
Certkiller Ass3 will be used by multiple applications.
You plan to frequently rebuild Certkiller Ass3 during the development lifecycle.
Whenever Certkiller Ass3 is rebuilt, you must ensure that it works as expected with all applications that will use it.
You must configure the computer that you are using to create Certkiller Ass3 so that all applications reference the latest build of Certkiller Ass3.
Choose the two actions which you should perform to achieve your goal.
Each correct answer presents only part of the complete solution.

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 Windows service application that is used to perform several short tasks that require background processing.
You are not required to actively manage threads in your application but you are required to ensure that security checks are performed during the execution of the task.
What should you do?


Page 6 of 23« First...45678...20...Last »