98-372 Exam Questions
224 real 98-372 exam questions with expert-verified answers and explanations. Page 1 of 5.
- Question #1Understanding Cloud 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...
App.config.NET FrameworkWPFapplication configuration - Question #2Understanding Cloud Concepts
What is the major advantage of using class libraries?
class libraries.NETcode organizationsoftware development - Question #3Understanding Cloud Concepts
You are creating an application using .NET Framework 4.0. You need to run numerous lines of code after the application runs, regardless of whether or not an exception occurred. Whi...
.NET Frameworkexception handlingfinally blockerror management - Question #4Understanding Cloud Concepts
Which method is used to initiate a cleanup of a heap?
.NET Frameworkgarbage collectionmemory managementGC.Collect - Question #5Understanding Cloud Concepts
How is an XmlWriter object useful when writing an XML data to XML documents? Each correct answer represents a complete solution. Choose all that apply.
XmlWriterXML.NET Frameworkdata serialization - Question #6Understanding Cloud Concepts
Which of the following is a means of keeping information a secret and thus protecting the confidentiality, authenticity, and integrity of information?
cryptographyconfidentialitydata integrityinformation security - Question #8Understanding Cloud 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...
.NET Frameworkapplication settingsuser scopeWPF - Question #9Understanding Cloud Concepts
Which of the following terms are used in cryptography? Each correct answer represents a complete solution. Choose all that apply.
cryptographyciphertextplaintextencryption keys - Question #10Understanding Cloud Concepts
Applications are overridden by explicit version policy in the configuration files. What are those configuration files? Each correct answer represents a complete solution. Choose al...
.NET Frameworkconfiguration filesversion policyassembly management - Question #11Understanding Cloud Concepts
What are the benefits of a strong-named assembly? Each correct answer represents a complete solution. Choose all that apply.
strong-named assembly.NET Frameworkassembly securityversioning - Question #12Understanding Cloud Concepts
Allen is creating an application using .NET Framework 4.0. He needs a tool to sign assemblies with strong names and also to provide signature generation, signature verification, an...
Sn.exestrong name tool.NET Frameworkassembly signing - Question #13Understanding Cloud Concepts
You are creating an application using .NET Framework 4.0. The application uses an instance of the ushort type. Which of the following values can be stored in the instance of the us...
.NET Frameworkushort data typevalue typesnumeric ranges - Question #14Understanding Cloud Concepts
You are creating a new collection type that must be sorted using Array.Sort by using .NET Framework 4.0. Which of the following interfaces will you use?
.NET FrameworkIComparerArray.Sortcollection interfaces - Question #15Understanding .NET Framework Concepts
Which is a type of encryption that uses two keys, i.e., a public key and a private key pair for data encryption?
asymmetric encryptionpublic keyprivate keycryptography - Question #16Understanding Data Types and Collections
Which of the following sample code segments demonstrates unboxing?
unboxingboxingvalue typesreference types - Question #17Understanding Error Handling
You are creating an application using .NET Framework 4.0. You write the following code segment in the application: try { Console.WriteLine("Connecting to server"); throw new SmtpEx...
try-catch-finallyexception handlingSmtpExceptioncode output - Question #20Understanding .NET Framework Concepts
Which is a technology employed by both Microsoft and Oracle to encrypt database content and offers encryption at a column, table, and tablespace level?
Transparent Data Encryptiondatabase encryptioncolumn encryptionencryption key - Question #21Understanding Namespaces and Classes
An object that is used to follow the definition of a class is known as what?
class instanceobjectclass definitionOOP - Question #22Understanding Namespaces and Classes
In C# programs, namespaces are heavily used in two ways. What are those ways? Each correct answer represents a complete solution. Choose all that apply.
namespacesscope controlnamespace organization.NET Framework classes - Question #23Understanding .NET Framework Concepts
Which of the following is NOT a characteristic of managed code?
managed codeCLRJIT compilerautomatic memory management - Question #24Understanding Data Types and Collections
Which of the following collection classes are available in both the System.Collections and System.Collections.Generic namespaces? Each correct answer represents a complete solution...
collectionsSystem.CollectionsSystem.Collections.Genericgeneric collections - Question #25Understanding .NET Framework Concepts
Which of the following defines how data types are declared and used in the Common Language Runtime (CLR)?
Common Type SystemCLRdata type declarationCTS - Question #26Understanding .NET Framework Concepts
You are creating an application using .NET Framework 4.0. You write the following code segment in the application: RC2CryptoServiceProvider RC2Crypto = new RC2CryptoServiceProvider...
RC2CryptoServiceProvidercipher modeCBCsymmetric encryption - Question #27Understanding Namespaces and Classes
Which of the following methods is inherited from the ICloneable interface?
ICloneableClone methodinterface membersinheritance - Question #28Understanding Namespaces and Classes
Which class adds a buffering layer to read and write operations on another stream and can be composed more or less for specific types of streams?
BufferedStreamstream classesIObuffering layer - Question #29Understanding Namespaces and Classes
You are creating an application using .NET Framework 4.0. You need to create a name for a new temp file? What is the most efficient way to create the name for a new temp file?
Path classGetTempFileNametemp filesfile system API - Question #30Understanding .NET Framework Concepts
The encryption strength is the measure of the inability to crack encrypted data. It basically depends on three important factors. What are those? Each correct answer represents a c...
encryption strengthalgorithm strengthkey lengthkey secrecy - Question #32Understanding .NET Framework Concepts
You are creating an application using .NET Framework 4.0. In the application, which of the following will you use to determine whether or not a principal is allowed to perform a re...
authorizationauthenticationsecurity policyprincipal - Question #33Understanding Data Types and Collections
Which of the following sample code segments demonstrates boxing?
boxingvalue typesobject typetype conversion - Question #34Understanding Namespaces and Classes
Which of the following is the correct way of using the System namespace?
using directiveSystem namespacenamespace syntaxC# syntax - Question #35Understanding Error Handling
You are creating an application using .NET Framework 4.0. You write the following code segment in the application: BaseClass base = new BaseClass(); ChildClass child = (ChildClass)...
InvalidCastExceptiontype castinginheritanceruntime exception - Question #36Understanding Namespaces and Classes
Which of the following classes can directly interact with the file system? Each correct answer represents a complete solution. Choose all that apply.
FileStreamStreamReaderfile systemIO classes - Question #37Understanding 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...
project referenceclass libraryVisual Studiocross-project reuse - Question #38Understanding Data Types and Collections
You create an application using .NET Framework 4.0. You are creating a new collection type that must be iterated using a for-each loop in the application. Which of the following in...
IEnumerableforeach loopcollectionsinterfaces - Question #39Understanding .NET Framework Concepts
What is native code?
native codeCPU executionmanaged vs unmanagedCLR - Question #40Understanding Data Types and Collections
You are creating an application using .NET Framework 4.0. The application uses an instance of the short type. Which of the following values can be stored in the instance of the sho...
short typenumeric rangesvalue typesinteger types - Question #41Understanding .NET Framework Concepts
Which of the following allow users to create external, user-defined functions using any common language runtime (CLR) language?
assembliesCLRuser-defined functionsexternal functions - Question #42Understanding Data Types and Collections
Which of the following types can store the numeric value 2.25? Each correct answer represents a complete solution. Choose all that apply.
floating point typesDoubleDecimalFloat - Question #44Understanding Namespaces and Classes
Which of the following methods is inherited from the ICloneable interface?
ICloneableClone methodinterfacesobject methods - Question #45Understanding Data Types and Collections
You are creating an application using .NET Framework 4.0. You need to use an ArrayList instance. By default, what is the initial capacity of the ArrayList instance?
ArrayListinitial capacitycollectionsList - Question #46Understanding Namespaces and Classes
Which Object Oriented (OO) principle is used to hide the behavior of an object from its implementation?
encapsulationOOP principlesabstractioninformation hiding - Question #47Understanding Namespaces and Classes
Which class reads and writes a stream of data in bytes to a memory instead of a disk?
MemoryStreamstream classesI/Oin-memory storage - Question #48Understanding .NET Framework Concepts
Which of the following does XML Schema define? Each correct answer represents a complete solution. Choose all that apply.
XML SchemaXSDelementsattributes - Question #49Understanding Data Types and Collections
Which of the following collections can be accessed by a key? Each correct answer represents a complete solution. Choose all that apply.
IDictionarySortedListkey-value collectionscollection interfaces - Question #50Understanding Namespaces and Classes
Allen is creating an application using .NET Framework 4.0. He needs a utility class to provide static methods to create, copy, delete, move, and open files. Which utility class wil...
File classstatic methodsfile operationsSystem.IO - Question #51Understanding Data Types and Collections
You are creating an application using .NET Framework 4.0. You use the following code segment in the application. (Line numbers are given for reference only.) 01 string string1 = "h...
string equalityreference equalitystring interningobject comparison - Question #52Understanding .NET Framework Concepts
How to define a fixed value, Yellow, for an XML schema simple element?
XML Schemafixed attributexs:elementXSD syntax - Question #54Understanding Data Types and Collections
You are creating an application using .NET Framework 4.0. You need to use a first-in, first- out collection in the application. Which of the following is a first-in, first-out coll...
QueueFIFOStackcollections - Question #55Understanding Namespaces and Classes
Which of the following types of constraints can you apply to a generic? Each correct answer represents a complete solution. Choose all that apply.
genericstype constraintsbase class constraintinterface constraint - Question #56Understanding Namespaces and Classes
You are creating an application using .NET Framework 4.0. You need to create a text file using the static File.CreateText method. Which of the following values is an acceptable par...
File.CreateTextfile pathsUNC pathsSystem.IO