Timedora
Free Practice Quiz Question List

7 Cryptography in Secure Protocols Online Quiz Questions

Use this free practice quiz with 20 questions to review 7 Cryptography in Secure Protocols, test your knowledge, and prepare for your next test or exam.

20 questions
01
True or false
1 point

True or false: A plain hash digest, by itself, proves that the data was created by a particular person.

  1. A

    True

  2. B

    False

02
Choose one
1 point

A client receives a CA-signed certificate for a server. Which role does the certificate serve?

  1. A

    It contains the server's private key and encrypts application data.

  2. B

    It connects a public key to identity information through a CA-signed certificate.

  3. C

    It derives traffic keys from a shared secret.

  4. D

    It encrypts each message and detects tampering.

03
Fill in the blank
1 point

With authenticated encryption with associated data (AEAD), associated data is but remains visible.

04
Written response
1 point

After key agreement produces shared secret material, what kind of mechanism turns it into separate, appropriately sized keys?

05
Choose one
1 point

An SSH client reports that a server's host key has unexpectedly changed. What is the main risk of accepting the new key without checking it?

  1. A

    It guarantees that the host's key has been signed by a public certificate authority.

  2. B

    It replaces key exchange, so the parties no longer need session keys.

  3. C

    It can defeat server authentication by allowing an impostor host to be accepted.

  4. D

    It only affects whether the connection uses AEAD, not whether the server is authenticated.

06
Choose one
1 point

A service encrypts many messages using AEAD. Which practice best follows the stated security principles?

  1. A

    Reuse the same nonce with a key so peers can recognize the session.

  2. B

    Do not reuse a nonce with the same AEAD key.

  3. C

    Publish the AEAD key alongside the ciphertext.

  4. D

    Use associated data to make the ciphertext confidential.

07
Choose one
1 point

Which sequence best describes the common design pattern for a secure protocol?

  1. A

    Agree on secret material → protect each message with AEAD → authenticate public keys → derive traffic keys

  2. B

    Derive traffic keys → authenticate public keys → protect each message with AEAD → agree on secret material

  3. C

    Authenticate public keys → agree on secret material → derive traffic keys → protect each message with AEAD

  4. D

    Protect each message with AEAD → derive traffic keys → agree on secret material → authenticate public keys

08
Written response
1 point

Name one method a messaging user can use to authenticate another person's identity key.

09
True or false
1 point

True or false: In a protocol using ephemeral Diffie–Hellman, later compromise of a long-term certificate-signing key does not by itself reveal previously recorded session traffic, assuming ephemeral secrets were securely erased.

  1. A

    True

  2. B

    False

10
Choose all
1 point

In a typical TLS 1.3 handshake, select all statements that correctly describe what these checks establish.

  1. A

    Certificate validation connects the server's key to its claimed identity.

  2. B

    CertificateVerify proves possession of the corresponding private key and binds that proof to the handshake.

  3. C

    Finished confirms that the peer has the same handshake state and keys.

  4. D

    The certificate chain encrypts all application records.

  5. E

    CertificateVerify derives the application traffic keys from the shared secret.

11
Fill in the blank
1 point

In MLS, a membership change advances the group to a new with new key material.

12
Choose all
1 point

Select all statements that accurately describe the Double Ratchet.

  1. A

    Each message uses a distinct message key.

  2. B

    Fresh secret input can enable recovery from some key compromises.

  3. C

    The protocol remains secure if ratchet state is lost or incorrectly updated.

  4. D

    The ratchet combines symmetric-key chains with new Diffie–Hellman contributions.

13
Choose one
1 point

How does X3DH help when a messaging recipient is offline?

  1. A

    It requires both users to be online at the same time and sends the shared secret directly.

  2. B

    It lets a sender use the recipient's published identity and prekeys to establish shared secret material asynchronously.

  3. C

    It replaces identity-key authentication because prekeys prove who owns the recipient's identity key.

  4. D

    It uses a CA-signed certificate to encrypt every message sent afterward.

14
Open ended
1 point

Explain how TLS's protection goal differs from the goal of end-to-end messaging. Include one important limitation that applies to both.

15
True or false
1 point

True or false: X3DH can let a sender establish shared secret material with a recipient who is offline.

  1. A

    True

  2. B

    False

16
Choose one
1 point

Which statement best describes what a plain hash function provides in a secure protocol?

  1. A

    It encrypts the data so only the intended recipient can read it.

  2. B

    It maps the data to a fixed-length digest, but does not by itself prove who created the data.

  3. C

    It proves the sender’s identity whenever the digest is shared.

  4. D

    It creates a shared secret between two parties over a public channel.

17
Written response
1 point

In a PKI certificate, what type of key is included alongside identity information? Enter the key type, not a key value.

18
Choose one
1 point

A protocol supplies a message label as associated data to an AEAD operation. Which property should the protocol expect for that label?

  1. A

    It is encrypted but not authenticated.

  2. B

    It is hidden from observers and is not checked for tampering.

  3. C

    It is authenticated but remains visible.

  4. D

    It replaces the need for a key-derivation function.

19
Written response
1 point

What algorithm combines symmetric-key chains with new Diffie–Hellman contributions to derive fresh message keys over time? Enter the algorithm name.

20
Choose one
1 point

In a typical TLS 1.3 handshake, what does the server’s CertificateVerify signature establish?

  1. A

    It confirms that the browser trusts the certificate authority without checking the server name.

  2. B

    It proves possession of the private key corresponding to the certificate and binds the proof to the handshake.

  3. C

    It encrypts application records using the certificate’s public key.

  4. D

    It derives distinct application traffic keys from the shared secret.