New Updated Microsoft MTA 98-372 Real Exam Questions and Answers Download 41-50

Ensurepass

Question 41

Type-safe code accesses only the memory locations:

 

  1. It is authorized to access.

  2. Of objects on the heap.

  3. Of objects that are static or shared.

  4. Of objects on the stack.

 

Correct Answer: A

 

 

Question 42

A type-safe language prevents:

 

  1. Access to arbitrary memory locations.

  2. Memory leaks.

  3. Null reference exceptions.

  4. Division by zero exceptions.

 

Correct Answer: A

 

 

Question 43

How does managed .NET code use an unmanaged COM object?

 

  1. The CLR creates a runtime callable wrapper (RCW) that acts as a proxy for the unmanaged object.

  2. The CLR uses events to create asynchronous calls to unmanaged code.

  3. The CLR runs managed code and unmanaged code in separate threads.

  4. The CLR uses shared assemblies to communicate between managed code and unmanaged code.

 

Correct Answer: A

 

 

Question 44

Type-safe code prevents:

 

  1. Unauthorized memory access.

  2. Slow performance.

  3. Namespace conflicts.

  4. Format exceptions.

 

Correct Answer: A

 

 

Question 45

You need to encrypt data by using a public key and a private key. Which .NET class should you use?

 

  1. DESCryptoServiceProvider

  2. RijndaelManaged

  3. DSACryptoServiceProvider

  4. TripleDESCryptoServiceProvider

 

Correct Answer: C

 

 

Question 46

You want to enable access to files and folders by using the .NET Framework. Which security class should you use?

 

  1. UPermission

  2. FileIOPermission

  3. PrincipaIPermission

  4. SecurityPermission

 

Correct Answer: B

 

 

Question 47

Which security policy level applies to all managed code on the computer?

 

  1. Machine

  2. User

  3. Enterprise

  4. Application domain

 

Correct Answer: A

 

 

Question 48

You need to create an access rule that allows a user named UserA in MyDomain to read the contents of the Log.txt file. Which code segment should you use?

 

  1.  

98-372-demo-7

 

  1.  

98-372-demo-8

 

  1.  

98-372-demo-9

 

  1.  

98-372-demo-10

 

Correct Answer: B

 

 

Question 49

Your application requests FileIOPermission to open a file. The permission is denied. Which type of exception will be thrown?

 

  1. IOException

  2. SecurityException

  3. ArgumentException

  4. VerificationException

 

Correct Answer: B

 

 

Question 50

An event declaration is shown in the following code segment. Public event

NewProduccEventHandlerNewProduct;

What is NewProductEventHandler in the event declaration?

 

  1. A built-in data type for handling events.

  2. An enumeration that defines the type of the NewProduct variable.

  3. The name of the delegate that will dispatch the event.

  4. The name of the class method that will catch the event.

 

Correct Answer: C

 

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

Try Microsoft MTA 98-372 Free Demo