New Updated Microsoft MTA 98-372 Real Exam Questions and Answers Download 21-30

Ensurepass

Question 21

Which two actions should you perform to consume events defined in another class? (Each correct answer presents part of the solution. Choose two.)

 

  1. Define a method that raises the event.

  2. Set the current class as a sealed class.

  3. Place a reference to the consuming class in the class that raises the event.

  4. Match the signature of the delegate declared for the event.

  5. Define an event handler method.

Correct Answer: DE

 

 

Question 22

In which folder should you store the web.config file in a .NET web application?

 

  1. App_Data

  2. App_Code

  3. Root

  4. Bin

 

Correct Answer: C

 

 

Question 23

Which .NET object combines the identity and role of a user?

 

  1. FormsIdentity

  2. WindowsPrincipal

  3. WindowsIdentity

  4. GenericIdentity

 

Correct Answer: D

 

 

Question 24

Which three policy types are .NET security policy levels? (Choose three.)

 

  1. Data policy

  2. Machine policy

  3. Application domain policy

  4. Enterprise policy

  5. Network policy

 

Correct Answer: BCD

 

 

Question 25

You need to find out whether an application has access to delete files from the C:Logs directory. Which code segment should you use?

 

  1. var permission = new FileIOPermission(FileIOPermissionAccess.PathDiscovery, “C:\Logs”);

  2. var permission = new FileIOPermission (FileIOPermissionAccess.Read, “C:\Logs”);

  3. var permission = new FileIOPermission(FileIOPermissionAccess.Write, “C:\Logs”);

  4. var permission = new FileIOPermission(FileIOPermissionAccess.Append, “C:\Logs”);

 

Correct Answer: C

 

 

Question 26

Which feature protects computers from running untrusted applications?

 

  1. Code Access security

  2. Role-based security

  3. Evidence-based security

  4. Cryptography

 

Correct Answer: A

 

 

Question 27

The SecureString class:

 

  1. Ensures that a password is strong enough.

  2. Protects data from being revealed during garbage collection.

  3. Ensures that memory will always be available for a string.

  4. Remains in memory always.

 

Correct Answer: B

 

 

Question 28

Which two methods can you use to load an assembly? (Each correct answer presents a complete solution. Choose two.)

 

  1. GetLoadedModules()

  2. LoadModule(String, ByteQ)

  3. LoadFrom(String)

  4. Load(String)

 

Correct Answer: BD

 

 

Question 29

What is the purpose of strong naming?

 

  1. To assign a globally unique key to the assembly.

  2. To ensure that only one version of an assembly is stored in a directory at any point in time.

  3. To manage the references of the file list in an assembly’s manifest.

  4. To impose restrictions on how different data types are defined within an assembly.

 

Correct Answer: A

 

 

Question 30

Which standard allows data types to be interchanged among all Common Language Infrastructure (CLI) programming languages?

 

  1. Common Intermediate Language System (CILS)

  2. Virtual Execution System (VES)

  3. Common Type System (CTS)

  4. Microsoft Intermediate Language (MSIL)

 

Correct Answer: C

 

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

Try Microsoft MTA 98-372 Free Demo