Timedora
Free Practice Quiz Question List

1 Cryptography Foundations and Security Goals Online Quiz Questions

Use this free practice quiz with 20 questions to review 1 Cryptography Foundations and Security Goals, test your knowledge, and prepare for your next test or exam.

20 questions
01
True or false
1 point

True or false: Encrypting stored data is enough to ensure that authorized users can access it whenever they need it.

  1. A

    True

  2. B

    False

02
Choose one
1 point

A service needs to store user passwords so it can check later whether a submitted password is correct. Which approach best fits this task?

  1. A

    Encrypt passwords with a general-purpose encryption algorithm

  2. B

    Store passwords using a password-hashing function

  3. C

    Store the output of a fast ordinary hash

  4. D

    Encode passwords so they can be recovered later

03
Fill in the blank
1 point

A non-secret value added when hashing a password, helping identical passwords produce different stored results, is called a .

04
Written response
1 point

What cryptographic term—or standard abbreviation—describes a value used by some encryption schemes that usually need not be secret but must meet the scheme’s requirements?

05
Choose one
1 point

What does a digital certificate establish, without by itself proving that a particular person controls the key at the moment of use?

  1. A

    It is the private key used to sign messages

  2. B

    It guarantees that the named person currently controls the corresponding key

  3. C

    It binds a public key to an identity or name under an issuing authority's rules

  4. D

    It conceals the public key from people who do not have authorization

06
True or false
1 point

True or false: If two files have the same cryptographic hash, that alone proves who created them.

  1. A

    True

  2. B

    False

07
Choose all
1 point

A team is preparing a threat model for an application that handles sensitive records. Which details belong in that model? Select all that apply.

  1. A

    Which information or service needs protection

  2. B

    Which cryptographic algorithm is most familiar to the development team

  3. C

    What an adversary can observe, alter, or control

  4. D

    Where data and keys are handled, along with relevant assumptions

08
Fill in the blank
1 point

When relying on a public key certificate, validate the certificate and the .

09
Written response
1 point

What is the term for the short value produced by authenticated encryption or a MAC that is checked to detect alteration of protected data or associated metadata?

10
Choose one
1 point

A developer is configuring an AEAD construction whose rules forbid nonce reuse with a key. Which practice is correct?

  1. A

    Keep the nonce secret and reuse it whenever the key is unchanged

  2. B

    Follow the construction's nonce requirements, including avoiding reuse with the same key when forbidden

  3. C

    Use a public key as the nonce so it can be checked by anyone

  4. D

    Choose any nonce value; libraries do not impose requirements on it

11
Choose all
1 point

A team wants to reduce implementation and operational risks in a cryptographic system. Which practices support that goal? Select all that apply.

  1. A

    Use a maintained, well-reviewed library's high-level APIs

  2. B

    Write custom cryptographic algorithms to avoid relying on dependencies

  3. C

    Restrict access to keys and plan for their rotation and retirement

  4. D

    Keep dependencies updated and check verification results

12
Choose one
1 point

A web application encrypts its database, but the running application can access both the documents and their decryption keys. What is the most accurate assessment if an attacker compromises that application?

  1. A

    The database encryption guarantees the documents remain confidential even if the application is compromised

  2. B

    The attacker can read the documents only if the database contains no hash values

  3. C

    Database encryption may help against backup theft, but may not protect documents from an attacker who controls the running application and its access to keys

  4. D

    Encrypting the database guarantees that attackers cannot alter stored documents

13
Open ended
1 point

An organization encrypts a database containing private documents. The running application can decrypt those documents, and an attacker might either steal a database backup or compromise the application and alter stored documents. Explain what the encryption protects against in each case and what additional protection is needed for unauthorized changes.

14
Choose one
1 point

A service and its users share a secret key. The service needs to detect whether an attacker has altered a message in transit. Which mechanism directly fits this goal?

  1. A

    Encryption without authentication

  2. B

    A message authentication code

  3. C

    A certificate by itself

  4. D

    A salt added to a password hash

15
True or false
1 point

A valid digital signature can provide evidence that a message was signed by the holder of a particular private key, but it does not by itself conceal the message.

  1. A

    True

  2. B

    False

16
Written response
1 point

What is the term for a non-secret, usually unique value added when hashing a password so that identical passwords produce different stored results?

17
Choose one
1 point

A web application encrypts its database, but the running application can access both the documents and their decryption key. Which conclusion best describes the protection if an attacker compromises the application?

  1. A

    It protects the documents even if the running application is compromised.

  2. B

    It may not protect the documents because the compromised application can access both the data and the decryption key.

  3. C

    It guarantees that stored documents cannot be changed.

  4. D

    It ensures authorized users can always access the documents.

18
Choose one
1 point

An application must encrypt ordinary data and detect tampering. Which approach best meets both requirements?

  1. A

    Use a library-supported authenticated encryption construction and reject data if authentication fails.

  2. B

    Encrypt the data and accept the decrypted output even if its authentication check fails.

  3. C

    Hash the data and use the hash as a decryption key.

  4. D

    Use a certificate in place of an encryption algorithm.

19
Written response
1 point

What is the term for a description of what needs protection, from whom, and under what assumptions?

20
Choose one
1 point

Which statement accurately describes a certificate?

  1. A

    A certificate is the private key used to sign messages.

  2. B

    A certificate guarantees that the named person currently controls the key.

  3. C

    A certificate encrypts data so that only its issuer can read it.

  4. D

    A certificate is a digitally signed document that binds a public key to an identity or name.