.NET Application Security and Cryptography

Covers .NET security concepts including cryptographic algorithms, exception handling, and cryptographic services for secure application development

15 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Which of the following accesses the managed version of the Rijndael algorithm?

  1. Rijndael
  2. RijndaelManaged Transform
  3. RijndaelManaged
  4. ProtectedData
  5. RandomNumber Generator
Question 2 Multiple Choice (Single Answer)

Which of the following is a read only string property that holds the method that threw the exception?

  1. InnerException
  2. TargetSite
  3. XmlException
  4. DataException
  5. HelpLink
Question 3 Multiple Choice (Single Answer)

Which among the following represents a cryptographic object identifier?

  1. ProtectedMemory
  2. ProtectedData
  3. OIDEnumerated
  4. OidCollection
  5. Oid
Question 4 Multiple Choice (Single Answer)

Which of the following manages the allocation and release of memory for your application?

  1. .Net Framework garbage collector
  2. .Net FCL
  3. Common language runtime
  4. Web form
  5. Windows form
Question 5 Multiple Choice (Single Answer)

Which of the following computes the RIPEMD160 hash for the input data using the managed library?

  1. RandomNumber generator
  2. OidCollection
  3. ProtectedMemory
  4. RIPEMD160
  5. RIPEMD160Managed
Question 6 Multiple Choice (Single Answer)

Which among the following represents the base class, from which all implementation of the RSA algorithm inherit?

  1. RSACryptoService Provider
  2. RSA
  3. Rijndael
  4. Oid
  5. ProtectedData
Question 7 Multiple Choice (Single Answer)

Which of the following is generated, when a call to an object method is inappropriate because of the object's state?

  1. DataException
  2. InvalidOperationException
  3. XmlException
  4. InnerException
  5. Helplink
Question 8 Multiple Choice (Single Answer)

Which of the following implements a cryptographic random number generator using the implementation provided by the CSP?

  1. RNGCryptoService provider
  2. Random number generator
  3. OidCollection
  4. Rijndael
  5. ProtectedData
Question 9 Multiple Choice (Single Answer)

Which of the following returns the first exception into the chain in .Net applications?

  1. InnerException
  2. DataException
  3. XmlException
  4. GetBaseException
  5. StackTrace
Question 10 Multiple Choice (Single Answer)

Which of the following exception class properties provides a string that contains a description of errors, suitable for displaying to users in .Net?

  1. Helplink
  2. Message
  3. StackTrace
  4. TargetSite
  5. DataException
Question 11 Multiple Choice (Single Answer)

Which of the following creates the PKCS#1key exchange data using RSA?

  1. RSACryptoService Provider
  2. RSAPKCS1KeyExchangeDeformatter
  3. RSAPKCS1Key ExchangeFormatter
  4. RijndaelManaged Transform
  5. ProtectedMemory
Question 12 Multiple Choice (Single Answer)

Which of the following exception class properties provide a string containing the name of an object that generated the error in .Net?

  1. TargetSite
  2. InnerException
  3. HelpLink
  4. Source
  5. XmlException
Question 13 Multiple Choice (Single Answer)

Which of the following verifies an RSA PKCS#1 version 1.5 signature in .Net security?

  1. RSAPKCS1KeyExchangeDeformatter
  2. RSAPKCS1Signature Deformatter
  3. RSAPKCS1Signature Formatter
  4. RSACryptoService Provider
  5. ProtectedData
Question 14 Multiple Choice (Single Answer)

Which of the following begins a section of code, where an exception might be generated from a code error?

  1. Catch
  2. Finally
  3. Try
  4. InnerException
  5. TargetSite
Question 15 Multiple Choice (Single Answer)

Which of the following computes the SHA1 hash value for the input data using the implementation provided by the CSP?

  1. SHA1
  2. SHA1Cng
  3. SHA1CryptoService provider
  4. OidCollection
  5. RandomNumber generator