Microsoft .NET Fundamentals (98-372) Free Practice Test
Question 1
The SecureString class:
Correct Answer: B
Question 2
Which configuration file is automatically created by .NET when the file is needed by the application for the first time?
Correct Answer: C
Question 3
In .NET, the automatic memory management system enables:
Correct Answer: D
Question 4
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: C
Question 5
In the Common Language Runtime (CLR), what information is used to make decisions on security policy?
Correct Answer: D
Question 6
Which describes an interface?
Correct Answer: D
Question 7
The SecureString class:
Correct Answer: B
Question 8
Your application requests FileIOPermission to open a file.
The permission is denied. Which type of exception will be thrown?
The permission is denied. Which type of exception will be thrown?
Correct Answer: A
Question 9
Which two goals can you achieve by using cryptography? (Choose two.)
Correct Answer: C,D
Question 10
Which three policy types are .NET security policy levels? (Choose three.)
Correct Answer: A,C,E
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 11
You create an ArrayList object.
You need to ensure that only objects of the System.DateTime type can be added to the collection.
What should you do?
You need to ensure that only objects of the System.DateTime type can be added to the collection.
What should you do?
Correct Answer: B
Question 12
An event is a/an:
Correct Answer: C
Question 13
You need to find out whether the active Windows user of an application is a member of the Administrators group.
Which permission class should you use?
Which permission class should you use?
Correct Answer: C
Question 14
In the Common Language Runtime (CLR), what information is used to make decisions on security policy?
Correct Answer: B
Question 15
You want to substitute values in a string that is displayed on the console.
Which code fragment will display "Hello, World"?
Which code fragment will display "Hello, World"?
Correct Answer: C