wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Section 3 - Cryptography and encryption

Total questions: 85

Worksheet time: 43mins

Name
Class
Date
1.

What is the definition of Plaintext?

a)

An Unencrypted Message

b)

A type of encryption algorithm

c)

A compressed file format

d)

A digital signature

2.

What is the definition of Ciphertext?

a)

An Encrypted Message

b)

A Secret Key

c)

A Plaintext Message

d)

A Decryption Algorithm

3.

What is the definition of Cipher?

a)

The Process (Algorithm) Used to Encrypt and Decrypt a Message

b)

A Device Used to Store Data

c)

A Type of Network Protocol

d)

A Programming Language

4.

What is the definition of Cryptanalysis?

a)

The Art of Cracking Cryptographic Systems

b)

The Study of Ancient Scripts

c)

The Process of Encrypting Data

d)

The Design of Secure Networks

5.

Which of the following is NOT a main type of cryptographic algorithm?

a)

Hashing Algorithms

b)

Symmetric Encryption Cipher

c)

Asymmetric Encryption Cipher

d)

Data Compression Algorithm

6.

What does a Hashing Algorithm produce from an input plaintext?

a)

A fixed length string

b)

A random sequence of numbers

c)

An encrypted message

d)

A variable length output

7.

What is a hashing collision?

a)

A hashing collision occurs when two different plain texts produce the exact same hash value.

b)

A hashing collision occurs when a hash function produces only unique outputs.

c)

A hashing collision occurs when a hash value can be reversed to obtain the original plain text.

d)

A hashing collision occurs when a hash function is used for encryption.

8.

What does the Secure Hash Algorithm (SHA) produce?

a)

A 256-Bit Digest

b)

A 512-Bit Encryption Key

c)

A Plain Text Message

d)

A 128-Bit Symmetric Key

9.

What does the Message Direct Algorithm #5 (MD5) produce?

a)

A 128-Bit Digest

b)

A 256-Bit Digest

c)

A 64-Bit Digest

d)

A 512-Bit Digest

10.

What is a Birthday Attack in the context of hashing algorithms?

a)

A brute force attack aimed at exploiting collisions in hash functions, which could be used for forging a digital signature.

b)

An attack that targets the encryption key by guessing it directly.

c)

A method of intercepting messages during transmission to alter their content.

d)

A technique used to increase the speed of hash function computations.

11.

What is an encryption algorithm?

a)

A type of cryptographic process that encodes data so that it can be recovered or decrypted.

b)

A programming language used for web development.

c)

A hardware device that stores passwords.

d)

A method for compressing image files.

12.

The cipher text “uryyb jbeyq” means what in plain text?

a)

hello world

b)

good night

c)

open sesame

d)

secret code

13.

In contrast to substitution ciphers, what stays the same in a transposition cipher but their order is changed according to some mechanism?

a)

The units in a transposition cipher stay the same in plain text and cipher text but their order is changed.

b)

The key used for encryption remains unchanged.

c)

The length of the ciphertext is always doubled.

d)

The frequency of each letter is altered.

14.

What is symmetric encryption?

a)

Symmetric encryption is where both encryption and decryption are performed by the same secret key and can be used for confidentiality.

b)

Symmetric encryption uses two different keys for encryption and decryption.

c)

Symmetric encryption is only used for digital signatures.

d)

Symmetric encryption does not provide confidentiality.

15.

Refer to the diagram showing Alice and Bob exchanging files. What key do Alice and Bob share to encrypt and decrypt the file?

a)

A symmetric key.

b)

A public key.

c)

A hash key.

d)

A session token.

16.

There are two types of ciphers: Stream ciphers and block ciphers. Which of the following statements is true about stream ciphers?

a)

The plaintext is divided into equal-size blocks

b)

Each byte or bit of data is encrypted one at a time

c)

The plaintext is padded to the correct size

d)

Encryption and decryption are performed by different keys

17.

Block cipher: The plaintext is divided into equal-size blocks (usually 128-bit). If there is not enough data in the plaintext, it is padded to the correct size.

a)

True

b)

False

18.

What is the main difference between symmetric and asymmetric encryption?

a)

Symmetric encryption uses the same secret key for both encryption and decryption, while asymmetric encryption uses two different but related public and private keys.

b)

Symmetric encryption uses two unrelated keys, while asymmetric encryption uses the same key for both processes.

c)

Symmetric encryption is only used for digital signatures, while asymmetric encryption is only used for data storage.

d)

Symmetric encryption is slower and more secure than asymmetric encryption.

19.

In asymmetric encryption, each key is capable of reversing the operation of its pair and they are linked in such a way as to make it impossible to derive one from the other.

a)

True

b)

False

20.

Who generates the asymmetric key pair and keeps the private key secret in the process of asymmetric encryption?

a)

Alice

b)

Bob

c)

Mallory

d)

None of the above

21.

What does Alice use to encrypt her message in asymmetric encryption?

a)

Her own private key

b)

Bob's public key

c)

Bob's private key

d)

Mallory's public key

22.

Fill in the blank: After Alice encrypts the message, she sends the ________ to Bob.

a)

ciphertext

b)

plaintext

c)

key

d)

signature

23.

Bob decrypts the ciphertext using his private key.

a)

True

b)

False

24.

Can Mallory use Bob's public key to reverse the encryption and obtain the original message?

a)

Yes

b)

No

25.

What is the major drawback of asymmetric encryption mentioned in the worksheet?

a)

It involves substantial computing resources.

b)

It is not secure for data transmission.

c)

It cannot be used for digital signatures.

d)

It is only suitable for small files.

26.

Asymmetric encryption is mostly used for which of the following?

a)

Data compression

b)

Authentication and Non-Repudiation

c)

Image processing

d)

File storage

27.

Who published the RSA cipher in 1977?

a)

Ron Rivest, Adi Shamir, and Leonard Adleman

b)

Whitfield Diffie and Martin Hellman

c)

Claude Shannon

d)

Phil Zimmermann

28.

What is a mode of operation in cryptography? Fill in the blank: A mode of operation is a means of using a cipher within a product to achieve a security goal such as ________ or ________.

a)

confidentiality, integrity

b)

speed, efficiency

c)

compression, expansion

d)

authentication, repudiation

29.

Which of the following is used to authenticate a sender while hashing can prove integrity?

a)

Symmetric Key Cryptography

b)

Public Key Cryptography

c)

Digital Certificates

d)

Cipher Suite

30.

Fill in the blank: Both public key cryptography and hashing can be combined to authenticate a sender and prove the integrity of a message. This usage is called a ________.

a)

digital signature

b)

encryption tunnel

c)

hash chain

d)

public certificate

31.

Which type of encryption can encrypt and decrypt large amounts of data but is difficult to distribute the secret key securely?

a)

Symmetric encryption

b)

Asymmetric encryption

c)

Digital Certificates

d)

Cipher Suite

32.

Asymmetric (PKC) encryption can distribute the key easily but cannot be used for large amounts of data.

a)

True

b)

False

33.

What is the role of a certificate authority (CA) in public key infrastructure? Fill in the blank: A certificate authority can validate the owner of the public key by issuing the subject with a ________.

a)

certificate

b)

password

c)

token

d)

private key

34.

Which of the following is NOT a component of a cipher suite?

a)

Signature Algorithm

b)

Key Exchange/Agreement Algorithm

c)

Digital Signature

d)

Bulk Encryption Symmetric Key

35.

What is the function of a Signature Algorithm in a cipher suite? Fill in the blank: A Signature Algorithm is used to assert the identity of the server’s public key and facilitate ________.

a)

authentication

b)

encryption

c)

compression

d)

routing

36.

What is a cryptographic primitive?

a)

A) A type of computer virus

b)

B) A single hash function, symmetric or asymmetric cipher

c)

C) A programming language

d)

D) A type of network protocol

37.

Fill in the blank: Authentication & non-repudiation depend on the recipient not being able to ______ the message or impersonate the sender.

a)

encrypt

b)

decrypt

c)

forward

d)

delete

38.

Which of the following is supported by cryptography to ensure that even if cipher text is stolen, the threat actor cannot understand or change what has been stolen?

a)

Authentication

b)

Confidentiality

c)

Obfuscation

d)

Repudiation

39.

Integrity in cryptography is proved by:

a)

Encryption algorithms

b)

Hashing algorithms

c)

Compression algorithms

d)

Sorting algorithms

40.

What is the art of making a message difficult to understand, as mentioned in the passage?

a)

Obfuscation

b)

Clarification

c)

Translation

d)

Simplification

41.

Fill in the blank: ______ refers to the measure of confidence that people have in a given cipher and how long data must be kept secure.

a)

Longevity

b)

Redundancy

c)

Bandwidth

d)

Latency

42.

Fill in the blank: ______ is when passwords stored as hashes are vulnerable to brute force and dictionary attacks, and attackers generate hashes to try and find a match for the captured password hash.

a)

Salting

b)

Encryption

c)

Tokenization

d)

Compression

43.

Fill in the blank: ______ is a technique that takes a key generated from a user password plus a random salt value and repeatedly converts it to a longer and more random key, making brute force attacks slower.

a)

Key Stretching

b)

Hash Collisions

c)

Public Key Encryption

d)

Digital Signing

44.

Fill in the blank: ______ is the conversion of data into cipher text that can be analyzed and worked with as if it were still in its original form, enabling complex mathematical operations on encrypted data without compromising the encryption.

a)

Homomorphic Encryption

b)

Symmetric Encryption

c)

Hashing

d)

Steganography

45.

Fill in the blank: ______ is a concept in which an expanding list of transactional records is secured using cryptography, with each record referred to as a block and linked cryptographically.

a)

Blockchain

b)

Hash Table

c)

Data Mining

d)

Cloud Storage

46.

Fill in the blank: ______ is a technique for obscuring the presence of a message, such as hiding a message in a picture, where the container document or file is called the cover text.

a)

Steganography

b)

Cryptography

c)

Watermarking

d)

Compression

47.

What is the purpose of giving someone your public key when you want them to send you confidential messages?

a)

To allow them to decrypt your messages

b)

To allow them to encrypt messages for you

c)

To sign documents

d)

To verify your identity

48.

When you want to authenticate yourself to others, what do you use to sign the message?

a)

Your public key

b)

Their private key

c)

Your private key

d)

Their public key

49.

Fill in the blank: A ________ is the entity responsible for issuing and guaranteeing certificates.

a)

Certificate Authority

b)

Certificate User

c)

Certificate Generator

d)

Certificate Holder

50.

Which PKI trust model involves a single CA issuing certificates to users, and if the CA is compromised, the entire PKI collapses?

a)

Hierarchical (Intermediate CA)

b)

Single CA

c)

Distributed CA

d)

Mesh CA

51.

In the Hierarchical (Intermediate CA) trust model, what is the role of the root CA?

a)

The root CA issues certificates to several intermediate CAs, which then issue certificates to subjects (leaf or end entities).

b)

The root CA directly issues certificates to all end users without any intermediaries.

c)

The root CA only verifies the identity of end users and does not issue any certificates.

d)

The root CA acts as a backup server for intermediate CAs in case of failure.

52.

What is an online CA?

a)

A CA that is disconnected from any network

b)

A CA that is available to accept and process certificate signing requests and management tasks

c)

A CA that only updates intermediate CAs

d)

A CA that never signs certificates

53.

Fill in the blank: A secure configuration will involve making the root CA an ______ CA, meaning it is disconnected from any network and only brought back online to add or update intermediate CAs.

a)

off-line

b)

online

c)

public

d)

shared

54.

What is the process by which end users create an account with the CA and become authorized to request certificates called?

a)

Registration

b)

Validation

c)

Signing

d)

Encryption

55.

When a subject wants to obtain a certificate, what does it complete and submit to the CA?

a)

Certificate Signing Request (CSR)

b)

Certificate Revocation List (CRL)

c)

Public Key Infrastructure (PKI)

d)

Online Certificate Status Protocol (OCSP)

56.

After receiving a Certificate Signing Request (CSR) from a subject, the CA:

a)

Issues the certificate after verifying the request

b)

Ignores the request

c)

Sends the request back to the subject

d)

Deletes the request without action

57.

What is a Digital Certificate?

a)

A Digital Certificate is essentially a wrapper for a subject’s public key. It contains information about the subject and the certificate’s issuer.

b)

A Digital Certificate is a physical card used to access secure buildings.

c)

A Digital Certificate is a type of software used to encrypt files on a computer.

d)

A Digital Certificate is a password used to log into secure websites.

58.

What does the 'Serial number' field in a digital certificate represent?

a)

A number uniquely identifying the certificate within the domain of its CA.

b)

The expiration date of the certificate.

c)

The public key of the certificate holder.

d)

The name of the issuing authority.

59.

What is the purpose of the 'Signature algorithm' field in a digital certificate?

a)

The algorithm used by the CA to sign the certificate.

b)

The algorithm used to encrypt the certificate data.

c)

The algorithm used to generate the public key.

d)

The algorithm used to verify the user's identity.

60.

What information does the 'Issuer' field in a digital certificate provide?

a)

The name of the CA.

b)

The public key of the user.

c)

The expiration date of the certificate.

d)

The serial number of the certificate.

61.

What does the 'Valid from/to' field indicate in a digital certificate?

a)

Date and time during which the certificate is valid.

b)

The name of the certificate authority.

c)

The encryption algorithm used.

d)

The public key of the certificate holder.

62.

What does the 'Subject' field in a digital certificate contain?

a)

The name of the certificate holder, expressed as a distinguished name (DN). The common name (CN) part should usually match either the fully qualified domain name (FQDN) of the server or a user email address.

b)

The issuing authority's public key information.

c)

The expiration date of the certificate.

d)

A list of all trusted root certificates.

63.

What is stored in the 'Public key' field of a digital certificate?

a)

Public key and algorithm used by the certificate holder.

b)

Private key of the certificate holder.

c)

Digital signature of the certificate authority.

d)

Certificate expiration date.

64.

What can be defined in the 'Extensions' field of a digital certificate?

a)

V3 certificates can be defined with extended attributes, such as friendly subject or issuer names, contact email addresses, and intended key usage.

b)

The Extensions field is used to store the private key of the certificate.

c)

Extensions field contains the certificate's expiration date only.

d)

Extensions field is used to encrypt the entire certificate.

65.

What is the purpose of the 'Subject alternative name (SAN)' field in a digital certificate?

a)

This extension field is the preferred mechanism to identify the DNS name or names by which a host is identified.

b)

It specifies the encryption algorithm used by the certificate.

c)

It contains the private key associated with the certificate.

d)

It defines the expiration date of the certificate.

66.

A wildcard domain such as *.comptia.org means that the certificate issued to the parent domain will be accepted as valid for all subdomains.

a)

True

b)

False

67.

Fill in the blank: The EKU field can have the following value: ______ Authentication.

a)

Server

b)

User

c)

Device

d)

Email

68.

Fill in the blank: The EKU field can have the following value: ______ Authentication.

a)

Client

b)

Server

c)

User

d)

Device

69.

Fill in the blank: The EKU field can have the following value: ______ Signing.

a)

Code

b)

Document

c)

Email

d)

Network

70.

Fill in the blank: The EKU field can have the following value: Email ______.

a)

Protection

b)

Encryption

c)

Signature

d)

Authentication

71.

Which type of web server certificate proves the ownership of a particular domain?

a)

Domain Validation (DV)

b)

Extended Validation (EV)

c)

Machine Certificate

d)

Root Certificate

72.

Which type of web server certificate requires more rigorous checks on the subject’s legal identity and control over the domain?

a)

Domain Validation (DV)

b)

Extended Validation (EV)

c)

Self-Signed Certificate

d)

Email Certificate

73.

Fill in the blank: Other certificate types include ______/Computer Certificates.

a)

Machine

b)

User

c)

Network

d)

Device

74.

Fill in the blank: Other certificate types include Email/______ Certificates.

a)

User

b)

Server

c)

Device

d)

Network

75.

Fill in the blank: Other certificate types include ______ Signing Certificates.

a)

Code

b)

Email

c)

Document

d)

Network

76.

Fill in the blank: Other certificate types include ______ Certificates, which are not signed by a trusted authority.

a)

Self-Signed

b)

Wildcard

c)

Root Authority

d)

Extended Validation

77.

Which of the following is NOT a stage in the Key Life Cycle?

a)

Key Generation

b)

Certificate Generation

c)

Storage

d)

Encryption Only

78.

Fill in the blank: The process of making a key invalid before its expiration is called ______.

a)

Revocation

b)

Delegation

c)

Encryption

d)

Replication

79.

Fill in the blank: The process of updating a key after its validity period is called Expiration and ______.

a)

Renewal

b)

Revocation

c)

Deletion

d)

Suspension

80.

What does 'Escrow' mean in terms of key management?

a)

Escrow means that something is held independently which in terms of key management, means a third party is trusted to store the key securely.

b)

Escrow means the key is destroyed after use and cannot be recovered.

c)

Escrow means the key is only stored on the user's device and never shared.

d)

Escrow means the key is publicly available for anyone to use.

81.

When renewing a certificate, what is it called when you use the existing key?

a)

Key renewal

b)

Key rotation

c)

Key revocation

d)

Key escrow

82.

When renewing a certificate, what is it called when you generate a new key?

a)

Rekeyed

b)

Revoked

c)

Reissued

d)

Resigned

83.

Which of the following is NOT a reason for certificate revocation or suspension?

a)

Key Compromise

b)

Ca Compromise

c)

Certificate Hold

d)

Superseded

84.

A suspended key is given which code?

a)

Certificate Hold

b)

Key Revoked

c)

Key Active

d)

Key Expired

85.

A certificate may be revoked or suspended due to which of the following reasons?

a)

Key compromise and change in user status

b)

Certificate expiration and renewal

c)

User training completion and promotion

d)

System upgrade and software update