Cryptography & Network Security
JKSSB Sub-Inspector (Telecommunication) · Cyber Security & Legal Framework · 21 practice questions with answers and explanations: 13 Easy, 8 Medium, 0 Hard.
Sample questions
Sample Easy question 1
What does a firewall do?
- Filters incoming and outgoing network traffic according to rules
- Repairs corrupted disks
- Compresses files
- Cools the server room
Show answer
Answer: A. A firewall allows or blocks traffic between networks.
Sample Easy question 2
Which port number does HTTPS use by default?
- 25
- 21
- 443
- 80
Show answer
Answer: C. HTTPS uses TCP port 443; plain HTTP uses 80.
Sample Easy question 3
What does the term 'two-factor authentication' (2FA) mean?
- Verifying identity using two different kinds of proof, such as a password and an OTP
- Using two different usernames
- Logging in from two devices at once
- Entering the password twice
Show answer
Answer: A. The factors are something you know, have or are.
Sample Medium question 4
In public-key (asymmetric) cryptography, which key is used to decrypt a message sent to you?
- Your private key
- Your public key
- The sender's private key
- A shared session password
Show answer
Answer: A. Anyone can encrypt with your public key, but only your private key decrypts.
Sample Medium question 5
Which algorithm is a widely used public-key algorithm based on the difficulty of factoring large numbers?
- AES
- MD5
- RSA
- DES
Show answer
Answer: C. RSA security rests on the difficulty of factoring the product of two large primes.
Sample Medium question 6
What is the output length of the SHA-256 hash function?
- 160 bits
- 128 bits
- 512 bits
- 256 bits
Show answer
Answer: D. SHA-256 produces a 256-bit digest.