98-372 Exam Questions
224 real 98-372 exam questions with expert-verified answers and explanations. Page 2 of 5.
- Question #57Understanding Error Handling
Allen is creating an application using .NET Framework 4.0. What structure will he use to handle exceptions in the application?
try-catchexception handlingerror handling structurefinally block - Question #58Understanding .NET Framework Concepts
What is the name of the system that manages memory in .NET applications?
garbage collectormemory management.NET runtimeCLR - Question #59Understanding Namespaces and Classes
You are creating an application using .NET Framework 4.0. You need to provide asymmetric digital signatures in the application. Which of the following classes provides asymmetric d...
DSACryptoServiceProviderasymmetric encryptiondigital signaturescryptography - Question #60Understanding .NET Framework Concepts
Which is the first algorithm known to be suitable for signing as well as encryption and one of the first great advances in public key cryptography?
RSApublic key cryptographyasymmetric encryptioncryptography history - Question #61Understanding .NET Framework Concepts
Allen is creating an application using .NET Framework 4.0. He needs a tool to generate portable executable files from Microsoft intermediate language (MSIL)? Which tool will he use...
Ilasm.exeMSILportable executable.NET tools - Question #62Understanding .NET Framework Concepts
Which of the following are the goals of cryptography? Each correct answer represents a complete solution. Choose all that apply.
cryptography goalsnonrepudiationconfidentialityintegrity - Question #63Understanding Namespaces and Classes
Dennis has just started an internship with Company Inc., as a developer. He develops an application named App1 using .NET Framework 4.0. App1 contains a class named Class1, which i...
namespace aliasusing directivenamespace qualificationclass access - Question #64Understanding .NET Framework Concepts
Which class reads lines of data from a byte stream stored in a text file in a particular encoding?
StreamReaderfile I/Obyte streamtext encoding - Question #65Understanding .NET Framework Concepts
Which class is used to provide support in the creation of FileStream objects?
FileInfoFileStreamSystem.IOfile I/O - Question #66Understanding .NET Framework Concepts
Allen is creating an application using .NET Framework 4.0. He needs a tool to view and manipulate the contents of the global assembly cache. He also needs to ensure that the tool a...
Gacutil.exeglobal assembly cacheassembly management.NET tools - Question #67Understanding .NET Framework Concepts
In the .NET Framework, code access security performs which of the following functions? Each correct answer represents a complete solution. Choose all that apply.
code access securitypermissionsassembly securitysecurity policy - Question #68Understanding .NET Framework Concepts
Which is an encryption standard that comprises three block ciphers, AES-128, AES-192, and AES-256, adopted from a larger collection originally published as Rijndael?
AESRijndaelblock cipherencryption standard - Question #69Understanding .NET Framework Concepts
Which tool is used to generate portable executable files from Microsoft intermediate language (MSIL)?
MSIL AssemblerIlasmportable executable.NET compilation - Question #70Understanding .NET Framework Concepts
What are the differences between XML schema and DTD? Each correct answer represents a complete solution. Choose all that apply.
XML schemaDTDnamespace supportXML standards - Question #71Understanding .NET Framework Concepts
Which class provides methods for sending and receiving data over Stream sockets in blocking mode?
NetworkStreamsocket programmingblocking modeSystem.Net - Question #72Understanding Namespaces and Classes
Which Object Oriented (OO) principle is used to deal with objects without the need to know what exact class they belong to?
polymorphismOOP principlesobject-oriented designruntime type handling - Question #73Understanding .NET Framework Concepts
Which class is used to provide a reader that can read a sequential chain of characters?
TextReadercharacter streamsequential readingSystem.IO - Question #74Understanding Methods and Events
What is the purpose of using a delegate in the context of .NET Framework 4.0?
delegatesevent handlingmethod referenceevent-driven programming - Question #75Understanding .NET Framework Concepts
Which of the following is a block cipher that was selected by the National Bureau of Standards as an official Federal Information Processing Standard (FIPS) for the United States i...
DESData Encryption StandardFIPSblock cipher - Question #76Understanding .NET Framework Concepts
Which of the following is installed as part of the .NET Framework that would run the executables?
CLRCommon Language Runtime.NET runtimeexecution environment - Question #77Understanding .NET Framework Concepts
Which of the following is a valid key length for the TripleDES symmetric cryptography class?
TripleDESkey lengthsymmetric cryptographyencryption - Question #78Understanding Data Types and Collections
You are creating an application using .NET Framework 4.0. You write the following code segment in the application: NewClass x; bool y; x = 42; // Convert using ToBoolean. y = Conve...
IConvertibletype conversioninterface implementationConvert class - Question #79Understanding Data Types and Collections
In your C# version, every variable must have an explicit data type. What is the name of this language feature?
strong typingtype safetystatic typingC# type system - Question #80Understanding Methods and Events
You are creating an application using .NET Framework 4.0. You write the following delegate: public delegate void AlertEventHandler(object sender, AlertEventArgs e); Based on the ab...
delegate signaturesevent handlersmethod signaturesEventArgs - Question #81Understanding Namespaces and Classes
Which of the following statements is TRUE about inheritance?
inheritancebase classcode reuseOOP - Question #82Understanding Namespaces and Classes
Consider the following scenario. Ryan has just started an internship with Company Inc., as a developer. He is updating the company's inventory system to use barcode and GPS technol...
using directivenamespace resolutioncross-project referencesfully qualified names - Question #83Understanding .NET Framework Concepts
Which of the following code segments is the most efficient way to rename a file from "File1.txt" to "File2.txt"?
File classFile.Movefile operationsSystem.IO - Question #84Understanding Namespaces and Classes
Which class can be used to write an object to a string, to write strings to a file, or to serialize XML?
TextWriterStringWriterStreamWriterIO classes - Question #85Understanding Namespaces and Classes
Consider the following scenario: Ryan has just started an internship with Company Inc., as a developer. He is updating the company's inventory system to use barcode and GPS technol...
fully qualified namenamespace resolutioncross-project referencesassembly namespaces - Question #86Understanding Data Types and Collections
Which of the following types can store the numeric value-9? Each correct answer represents a complete solution. Choose all that apply.
signed typesunsigned typesnumeric typestype ranges - Question #87Understanding Namespaces and Classes
In which namespace is the Console class found?
Console classSystem namespaceBCL classesnamespace lookup - Question #88Understanding .NET Framework Concepts
Which structure is used to describe the source and destination of a specified serialized stream, as well as to provide an extra caller-defined context?
StreamingContextserializationstreaming structuresSystem.Runtime.Serialization - Question #89Understanding Namespaces and Classes
Which is a set of objects that share the same properties and behavior and is the instinctive view of a "kind" of objects?
class definitionOOP conceptsobjectsproperties and behavior - Question #90Understanding Data Types and Collections
Which of the following are value types? Each correct answer represents a complete solution. Choose all that apply.
value typesreference typesprimitive typestype system - Question #92Understanding .NET Framework Concepts
You are creating an application using .NET Framework 4.0. The application uses an interop assembly that will be accessed by multiple .NET Framework applications on each computer. Y...
GACshared assembliesinterop assembliesassembly deployment - Question #93Understanding .NET Framework Concepts
Which of the following goals is NOT required to be achieved by Cryptography?
cryptography goalsauthenticationauthorizationconfidentiality - Question #94Understanding Control Flow
You are creating an application using .NET Framework 4.0. You need to use an iterator in the application. What is the purpose of using an iterator in a C# application?
iteratorsIEnumerableforeach loopC# collections - Question #95Understanding .NET Framework Concepts
The Public Key Encryption, also called asymmetric encryption, has five stages. Which of the following is NOT a stage in the Public Key Encryption?
asymmetric encryptionpublic key cryptographyencryption stagesprivate/public key - Question #96Understanding Error Handling
You are creating an application using .NET Framework 4.0. The application implements a custom authentication mechanism. You need to write entries related to unsuccessful authentica...
event logApplication logauthentication loggingSystem.Diagnostics - Question #97Understanding .NET Framework Concepts
An assembly can be classified into which of the following? Each correct answer represents a complete solution. Choose all that apply.
assembly typesprivate assembliesshared assembliessingle-file assembly - Question #98Understanding Data Types and Collections
In which of the following types of objects is a Hashtable collection used to store its entries?
HashtableDictionaryEntryDictionaryBasekey-value collections - Question #100Understanding .NET Framework Concepts
What are the weaknesses of symmetric key cryptography? Each correct answer represents a complete solution. Choose all that apply.
symmetric key cryptographykey distributionnonrepudiationcryptography weaknesses - Question #101Understanding .NET Framework Concepts
When you create an instance, where does the .NET Framework allocate memory for the instance?
heap memorystack memorymemory allocationCLR runtime - Question #102Understanding Data Types and Collections
Which of the following is an accurate description of generics?
genericstype parameterstype safetyreusability - Question #104Understanding .NET Framework Concepts
Consider the following scenario: Allen has created a Windows Presentation Foundation (WPF) database application using .NET Framework 4.0. The application helps users keep track of...
application settingssettings scopeWPFconfiguration - Question #105Understanding Error Handling
Allen creates an application using .NET Framework 4.0. He is unable to compile the application due to errors. What type of errors is he experiencing?
syntax errorscompilation errorserror typesbuild errors - Question #106Understanding Namespaces and Classes
Which of the following methods is inherited from the IComparable interface?
IComparableCompareTointerfacesinheritance - Question #107Understanding Namespaces and Classes
Allen is creating an application using .NET Framework 4.0. He needs to provide static methods for creating, moving, and enumerating through directories and subdirectories? Which cl...
Directory classSystem.IOstatic methodsfile system - Question #108Understanding .NET Framework Concepts
Which of the following are valid key lengths for the RijndaelManaged symmetric cryptography class? Each correct answer represents a complete solution. Choose all that apply.
RijndaelManagedsymmetric cryptographykey lengthAES - Question #109Understanding .NET Framework Concepts
Which of the following comprises a name consisting of an assembly's identity, public key, and digital signature?
strong nameassembly identitypublic keydigital signature