Cyber Security Basics
Practice questions
You find an unknown pen drive in a car park. What should you do?
- Plug it in to find the owner
- Copy its files to your laptop
- Not plug it in and hand it over safely
- Open the files on a friend's computer
Answer and explanation
Answer: C
Unknown drives can carry malware. Not plugging it in is the safe choice; plugging it into any computer is risky.
Which of these is NOT a form of malware?
- Backup
- Spyware
- Adware
- Ransomware
Answer and explanation
Answer: A
Spyware, adware and ransomware are harmful programs. A backup is a protective copy of data.
A caller says he is from your bank and asks for the OTP just received. Best action?
- End the call; use the bank's official number
- Read out the OTP if he knows your name
- Ask him to call back and then share it
- Send the OTP to him by SMS instead
Answer and explanation
Answer: A
A bank never needs your OTP. Ending the call and using the official contact protects you.
Odd one out: Trojan, worm, ransomware, firewall
- Trojan
- Worm
- Ransomware
- Firewall
Answer and explanation
Answer: D
The first three are kinds of malware, while a firewall is a protective tool.
Which statement is correct?
- Antivirus alone makes a system completely safe
- A firewall filters network traffic
- Hashing is the same as encryption
- HTTP encrypts all data
Answer and explanation
Answer: B
A firewall controls network traffic. No single tool gives complete safety, hashing is one-way, and HTTP does not encrypt.
If a PIN has 10,000 possibilities and a lockout allows 5 attempts, the chance of a lucky random guess is
- 0.5%
- 5%
- 0.05%
- 50%
Answer and explanation
Answer: C
5 divided by 10,000 = 0.0005, which is 0.05%.
Which rule allows the most possible passwords?
- 5 characters, digits only
- 3 characters, letters and digits
- 4 characters, lowercase only
- 6 characters, digits only
Answer and explanation
Answer: D
Counts: 10 to the 5th = 100,000; 62 cubed = 238,328; 10 to the 6th = 1,000,000; 26 to the 4th = 456,976. Six digits gives the largest number, 1,000,000.
How many 2-letter codes can be made from 26 lowercase letters with repetition allowed?
- 676
- 52
- 26
- 702
Answer and explanation
Answer: A
26 x 26 = 676.
Moving from a 4-digit PIN to a 6-digit PIN multiplies the possibilities by
- 2
- 100
- 10
- 1,000
Answer and explanation
Answer: B
10,000 becomes 1,000,000, which is 100 times larger.
How many 3-digit codes (000 to 999) exist?
- 1,000
- 999
- 100
- 10,000
Answer and explanation
Answer: A
Each of the 3 positions has 10 choices, so 10 x 10 x 10 = 1,000 codes.
Phishing aimed at one particular person using personal details is
- Spear phishing
- Brute forcing
- Spoof sites
- Adware pop-ups
Answer and explanation
Answer: A
Spear phishing is targeted at a chosen person or group, using details that make the message seem genuine.
VPN stands for
- Verified Public Node
- Variable Packet Number
- Virtual Private Network
- Virtual Protocol Name
Answer and explanation
Answer: C
A Virtual Private Network creates an encrypted tunnel over a public network.
Which pair correctly contrasts the two terms?
- Firewall: finds viruses; antivirus: filters network traffic
- Encryption: reversible with a key; hashing: one-way
- Worm: needs a host file; virus: spreads alone
- Public key: kept secret; private key: shared openly
Answer and explanation
Answer: B
Encryption can be undone with the right key, while hashing is one-way. In the other options the descriptions are swapped.
A weakness in a system that can be misused is a
- Cookie jar
- Vulnerability
- Encryption
- Port scanner
Answer and explanation
Answer: B
A weakness is a vulnerability. A threat is the possible source of harm that might use it.
OTP stands for
- Online Transfer Protocol
- Open Text Program
- Official Transaction Pin
- One-Time Password
Answer and explanation
Answer: D
OTP is a One-Time Password, a code valid for a single use.
Which action best protects against ransomware damage?
- Keeping a recent offline backup
- Opening attachments from anyone
- Using one password for all sites
- Turning off all software updates
Answer and explanation
Answer: A
With a separate, recent backup you can restore your files without paying. The other choices increase risk.
A site becomes unreachable because thousands of devices send requests at once. This is a
- DDoS attack
- Phishing attack
- Keylogger
- Spyware
Answer and explanation
Answer: A
Overloading a service with requests from many machines is a distributed denial of service attack.
An SMS with a link asks you to 'confirm your account today'. This is
- Vishing
- Smishing
- Brute force
- DDoS
Answer and explanation
Answer: B
Phishing done through SMS is smishing. Vishing uses voice calls.
Software that looks like a game but secretly steals data is a
- Worm
- Firewall
- Trojan
- Patch
Answer and explanation
Answer: C
Hiding harmful code behind a useful-looking program is the mark of a Trojan horse.
A program spreads across a network by itself, without a host file. It is a
- Virus
- Keylogger
- Adware
- Worm
Answer and explanation
Answer: D
Self-spreading over a network with no host file describes a worm. A virus needs an infected file to be run.