Microsoft .NET Fundamentals - 098-372 Exam Practice Test
What is the name of the environment that runs .NET managed code?
Correct Answer: D
Vote an answer
What is the name of the environment that runs .NET managed code?
Correct Answer: D
Vote an answer
You define a method according to the following code segment. (Line numbers are included for reference only.)

Where should you insert code that must be executed, regardless of whether or not an error is thrown?

Where should you insert code that must be executed, regardless of whether or not an error is thrown?
Correct Answer: B
Vote an answer
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?

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: D
Vote an answer
An event declaration is shown in the following code segment.
Public event NewProduccEventHandlerNewProduct;
What is NewProductEventHandler in the event declaration?
Public event NewProduccEventHandlerNewProduct;
What is NewProductEventHandler in the event declaration?
Correct Answer: B
Vote an answer
You need to create a DLL that contains classes that can be reused in other projects.
Which type of Microsoft Visual Studio project should you use?
Which type of Microsoft Visual Studio project should you use?
Correct Answer: A
Vote an answer
You need to configure security policy for the following policy levels:
-Machine
-User
-Enterprise
Which .NET tool should you use?
-Machine
-User
-Enterprise
Which .NET tool should you use?
Correct Answer: C
Vote an answer
You create a program that writes a status message to a file every 10 seconds. You need to ensure that all data is written to the file before the file is closed. When should you call the Flush() method?
Correct Answer: A
Vote an answer
Which two elements are included in a .NET assembly? (Choose two.)
Correct Answer: A,D
Vote an answer
Explanation: Only visible for Fast2test members. You can sign-up / login (it's free).
A base class named MasterData is defined according to the following code segment.

Which code segment should you use to define a method named LoadData that overrides the method in the MasterData class?


Which code segment should you use to define a method named LoadData that overrides the method in the MasterData class?

Correct Answer: D
Vote an answer
You need to find out whether an application has access to delete files from the C:\Logs directory. Which code segment should you use?
Correct Answer: C
Vote an answer
You want to create a class named ShoppingCart that has a type argument named TItem. The TItem type argument must be a value type.
Which code segment should you use to define the ShoppingCart class?

Which code segment should you use to define the ShoppingCart class?

Correct Answer: C
Vote an answer