New Updated Microsoft MTA 98-372 Real Exam Questions and Answers Download 1-10

Ensurepass

Question 1

Which collection enforces type safety?

 

  1. Queue

  2. Hashtable

  3. ArrayList

  4. List<T>

 

Correct Answer: D

 

 

Question 2

You need to trace the execution of an application that contains C# code and Microsoft Visual Basic .NET code. Which tool should you use?

 

  1. Machine Debug Manager

  2. Remote Debug Monitor

  3. Microsoft Visual Studio

  4. CLR Profiler

 

Correct Answer: C

 

 

Question 3

Which core technology allows interoperability between Microsoft Visual Basic .NET code and C# code?

 

  1. Microsoft Visual Studio

  2. Windows 7

  3. Microsoft Intermediate Language (MSIL)

  4. Windows Azure

 

Correct Answer: C

 

 

Question 4

What is an advantage of strongly typed code languages like .NET?

 

  1. Use of efficient type casting.

  2. Use of less memory.

  3. Capturing of errors during compilation.

  4. Improved readability.

 

Correct Answer: C

 

 

Question 5

Why do managed languages use references and not pointers?

 

  1. Pointer notation requires more characters than reference notation.

  2. Pointers are stored by using a fixed amount of memory.

  3. Pointers are not type-safe.

  4. Null pointers can lead to run-time errors.

 

Correct Answer: C

 

 

Question 6

What is the name of the environment that runs .NET managed code?

 

  1. Common Language Runtime (CLR)

  2. Component Object Model (COM)

  3. Virtual Private Network (VPN)

  4. Microsoft Intermediate Language (MSIL)

 

Correct Answer: A

 

 

Question 7

You need to suspend the current thread until all Finalize() methods have been processed. Which garbage collection method should you use?

 

  1. WaitforPendingFinalizers

  2. SuppressFinalize

  3. Collect

  4. Dispose

 

Correct Answer: D

 

 

Question 8

Which feature is automatically handled in managed code but must be explicitly handled in unmanaged code?

 

  1. Namespaces

  2. Code signing

  3. Memory disposal

  4. Exception handling

 

Correct Answer: C

 

 

Question 9

You want to access a native Win32 function from a .NET application. You import the function. Which two keywords should you use to define the function? (Each correct answer presents part of the solution. Choose two.)

 

  1. Extern

  2. Static

  3. Private

  4. Public

 

Correct Answer: AD

 

 

Question 10

A class named Student is contained inside a namespace named Contoso.Registration. Another class named Student is contained inside a namespace named Contoso.Contacts. You need to use both classes within the same code file. What are two possible ways to achieve this goal? (Each correct answer presents a complete solution. Choose two.)

 

  1. Add the following line of code on the top of the code file,

Using Contoso;

Refer to the classes by using the Student class wrapped within the regions named

Registration and Contacts.

 

  1. Refer to the classes by using their fully qualified class names, Contoso.Registration.Student and Contoso.Contacts.Student.

 

  1. Add the following lines of code on the top of the code file.

Using Contoso.Contacts;

Using Contoso.Registration;

Refer to the classes by using the Student class.

 

  1. Add the following lines of code on the top of the code file.

Using RStudent = Contoso.Registration.Student;

Using CStudent = Contoso.Contacts.Student;

Refer to the classes as RStudent and CStudent.

 

Correct Answer: AC

 

 

Instant Access to Download Latest Complete Collection of Microsoft MTA 98-372 Real Exam

Try Microsoft MTA 98-372 Free Demo