MTA EXAM PRACTICE TEST A
QUESTIONS AND ANSWERS
Choose the limitations of application settings - Correct Answers -1) Application settings
are not used in unmanaged applications that hoste the .NET Framework.
2) Application settings will not work in such environments like VS add-ins.
3) Application settings have no built-in facility for automatically encrypting the
information.
4) Application settings can never store security-related information, such as database
passwords, in clear text.
You are creating an application using .NET Framework 4.0. You need to provide
standard parameters for an event handler delegate. Which of the following are standard
parameters for the event handler delegate? - Correct Answers -1) Object
2) EventArgs
You are creating an application using .NET Framework 4.0. You need to run numerous
lines of code after the application runs, regardless of whether or not an exception
occurred. Which type of block can you use to implement this? - Correct Answers –
Finally
Allen is creating an application using .NET Framework 4.0. He needs a tool to generate
portable executable files from Microsoft Intermediate Language (MSIL). Which tool will
he use? - Correct Answers -Ilasm.exe tool
Which of the following allow users to create external, user-defined functions using any
common language runtime (CLR) language? - Correct Answers -Assemblies
You are creating an application using .NET Framework 4.0. The application uses an
interop assembly that will be accessed by multiple .NET Framework applications on
each computer. You need to make a single version of the interop assembly available to
all applications. What is the best way to accomplish this? - Correct Answers -Install the
inerop assembly in the global assembly cache (GAC)
In which namespace is the Console class found? - Correct Answers -System
namespace
Which Object Oriented (OO) principle is used to hide the behavior of an object from its
implementation? - Correct Answers -Encapsulation
QUESTIONS AND ANSWERS
Choose the limitations of application settings - Correct Answers -1) Application settings
are not used in unmanaged applications that hoste the .NET Framework.
2) Application settings will not work in such environments like VS add-ins.
3) Application settings have no built-in facility for automatically encrypting the
information.
4) Application settings can never store security-related information, such as database
passwords, in clear text.
You are creating an application using .NET Framework 4.0. You need to provide
standard parameters for an event handler delegate. Which of the following are standard
parameters for the event handler delegate? - Correct Answers -1) Object
2) EventArgs
You are creating an application using .NET Framework 4.0. You need to run numerous
lines of code after the application runs, regardless of whether or not an exception
occurred. Which type of block can you use to implement this? - Correct Answers –
Finally
Allen is creating an application using .NET Framework 4.0. He needs a tool to generate
portable executable files from Microsoft Intermediate Language (MSIL). Which tool will
he use? - Correct Answers -Ilasm.exe tool
Which of the following allow users to create external, user-defined functions using any
common language runtime (CLR) language? - Correct Answers -Assemblies
You are creating an application using .NET Framework 4.0. The application uses an
interop assembly that will be accessed by multiple .NET Framework applications on
each computer. You need to make a single version of the interop assembly available to
all applications. What is the best way to accomplish this? - Correct Answers -Install the
inerop assembly in the global assembly cache (GAC)
In which namespace is the Console class found? - Correct Answers -System
namespace
Which Object Oriented (OO) principle is used to hide the behavior of an object from its
implementation? - Correct Answers -Encapsulation