Microsoft 098-372 Actual Free Exam Questions & Community Discussion

  • Exam Code/Number: 098-372
  • Exam Name/Title: Microsoft .NET Fundamentals
  • Certification Provider: Microsoft
  • Corresponding Certification: Microsoft .NET Framework 4
  • Exam Questions: 230
  • Updated On: May 31, 2026
You create a class that uses unmanaged resources.
You need to ensure that users of the class can explicitly release resources when the instance of the class is no longer required.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
Correct Answer: A,D Vote an answer
Explanation: Only visible for EduDump members. You can sign-up / login (it's free).
You write a method named DoWork.
You need to log all exceptions that occur inside DoWork. You also need to ensure that all
exceptions are raised to the calling code.
Which code segment should you use?
Correct Answer: C Vote an answer
Type-safe code prevents:
Correct Answer: A Vote an answer
You want to write log files to a user's My Documents folder.
Which class should you use to locate the My Documents folder?
Correct Answer: B Vote an answer
Value type variables are stored in the:
Correct Answer: A Vote an answer
You want to raise a custom exception.
Which keyword should you use?
Correct Answer: A Vote an answer
How does managed .NET code use an unmanaged COM object?
Correct Answer: B Vote an answer
You have created a program that writes status updates into a file.
You want to modify the file.
You need to ensure that other users can view the file while it is being modified.
Which permission should you use to open the file?
Correct Answer: C Vote an answer
You need to force an immediate garbage collection of all unused memory. Which method should you use?
Correct Answer: D Vote an answer
Type-safe programming languages require that:
Correct Answer: D Vote an answer
An event declaration is shown in the following code segment. Public Event NewProduct As NewProductEventHandler What is NewProductEventHandler in the event declaration?
Correct Answer: D Vote an answer
0
0
0
10