Sample questions
Question 1Easy
Antivirus software primarily:
- Speeds up the processor
- Blocks every website
- Encrypts all your emails and chats
- Detects and removes malware
Answer: D. Detects and removes malware
Explanation
Antivirus uses signatures and behaviour analysis to find malicious software.
Step-by-step solution
- Antivirus scans files and processes for malicious code.
- It uses signatures and behaviour analysis.
- When malware is found, it is quarantined or removed.
- So antivirus detects and removes malware.
Why the other options are wrong
- A. Antivirus does not speed up the processor.
- B. Antivirus does not block all websites.
- C. Encrypting emails and chats is a different function.
Tip: Antivirus = detect and remove malware.
Question 2Easy
Which port does SSH use by default?
- 23
- 22
- 25
- 21
Answer: B. 22
Explanation
SSH uses 22; FTP 21, Telnet 23 and SMTP 25.
Step-by-step solution
- SSH uses TCP port 22 by default.
- FTP uses 21, Telnet 23 and SMTP 25.
- So the SSH port is 22.
- The answer is 22.
Why the other options are wrong
- A. Port 23 is Telnet.
- C. Port 25 is SMTP for mail.
- D. Port 21 is FTP.
Tip: Know the common ports: 21 FTP, 22 SSH, 23 Telnet, 25 SMTP, 80 HTTP, 443 HTTPS.
Question 3Easy
Which protocol should replace FTP when transferring sensitive files?
- SFTP
- Telnet
- HTTP
- TFTP
Answer: A. SFTP
Explanation
SFTP runs over SSH and encrypts credentials and data; FTP and TFTP do not.
Step-by-step solution
- FTP sends credentials and data without encryption.
- SFTP runs over SSH, so it encrypts both.
- Telnet and HTTP are also unencrypted, and TFTP has no security.
- So the replacement is SFTP.
Why the other options are wrong
- B. Telnet sends data in clear text and is not a file transfer replacement.
- C. HTTP is not a secure file transfer protocol here.
- D. TFTP has no encryption or authentication.
Tip: For secure file transfer, use SFTP or FTPS, not FTP.
Question 4Easy
A Web Application Firewall (WAF) is designed to:
- Replace TLS certificates for websites
- Block attacks hidden in HTTP requests
- Assign IP addresses with DHCP
- Store user passwords securely
Answer: B. Block attacks hidden in HTTP requests
Explanation
WAFs inspect application-layer HTTP requests for attack patterns.
Step-by-step solution
- A WAF sits in front of a web application.
- It inspects HTTP requests at the application layer.
- It blocks requests that match known attack patterns.
- So a WAF is designed to block attacks hidden in HTTP requests.
Why the other options are wrong
- A. A WAF does not issue or replace TLS certificates.
- C. IP addresses are assigned by DHCP, not by a WAF.
- D. A WAF does not store user passwords.
Tip: WAF = HTTP-level filter for web attacks such as SQL injection and XSS.
Question 5Medium
Network Address Translation (NAT) provides a side security benefit because:
- It scans for malware
- It authenticates users
- It hides internal addresses
- It encrypts all traffic end to end
Answer: C. It hides internal addresses
Explanation
NAT hides private addresses, though it is not a substitute for a firewall.
Step-by-step solution
- NAT replaces private internal addresses with a public address.
- Outside hosts see only the public address.
- So internal addresses are hidden.
- The answer is: it hides internal addresses.
Why the other options are wrong
- A. NAT does not scan for malware.
- B. NAT does not authenticate users.
- D. NAT does not encrypt traffic.
Tip: NAT hides addresses but is not a substitute for a firewall.
Question 6Medium
DNS over HTTPS (DoH) mainly protects:
- Websites from SQL injection
- DNS lookups from snooping
- Files on a USB drive
- Passwords stored on servers
Answer: B. DNS lookups from snooping
Explanation
Encrypting DNS hides which domains a user looks up from on-path observers.
Step-by-step solution
- DNS normally sends lookups in clear text.
- DoH wraps DNS queries in HTTPS.
- Observers on the path then cannot read which domains are queried.
- So DoH protects DNS lookups from snooping.
Why the other options are wrong
- A. SQL injection is a web input flaw; DoH does not address it.
- C. DoH has nothing to do with files on a USB drive.
- D. Server-side password storage is not related to DNS encryption.
Tip: DoH protects the DNS query, not the web content after it.
Question 7Medium
Why is Telnet considered insecure for remote administration?
- It is slower than dial-up
- It requires a hardware key
- It is unencrypted
- It only works on Windows
Answer: C. It is unencrypted
Explanation
SSH replaced Telnet because it encrypts the session.
Step-by-step solution
- Telnet sends everything in plain text.
- That includes usernames and passwords.
- Anyone sniffing the network can read them.
Why the other options are wrong
- A. Speed is not the issue.
- B. No hardware key is needed.
- D. Telnet works on many systems.
Question 8Medium
Network Access Control (NAC) is used to:
- Speed up DNS resolution
- Encrypt data at rest
- Replace VPNs
- Vet devices before they connect
Answer: D. Vet devices before they connect
Explanation
NAC can require patches, antivirus or certificates before granting network access.
Step-by-step solution
- NAC checks devices before they join the network.
- Checks can include patches, antivirus and certificates.
- Devices that fail are kept out or put in a restricted zone.
- So NAC is used to vet devices before they connect.
Why the other options are wrong
- A. NAC does not speed up DNS.
- B. Encrypting data at rest is a storage control.
- C. NAC does not replace VPNs.
Tip: NAC = check the device before the network lets it in.
Question 9Hard
An attacker on the same Wi-Fi sets up an access point with the same name as the cafe's network. This is called:
- A SYN flood
- An evil twin attack
- A rainbow table attack
- A logic bomb
Answer: B. An evil twin attack
Explanation
Users connect to the rogue access point, letting the attacker intercept traffic.
Step-by-step solution
- Attacker copies the cafe's SSID.
- Victims connect to the fake access point.
- This is an evil twin.
Why the other options are wrong
- A. SYN flood is a DoS attack.
- C. Rainbow tables attack hashes.
- D. A logic bomb triggers on a condition.
Question 10Hard
Which practice best describes a "default deny" firewall policy?
- Block everything not explicitly allowed
- Allow everything not explicitly blocked
- Block only known-bad IP addresses
- Allow all outbound traffic only
Answer: A. Block everything not explicitly allowed
Explanation
Default deny shrinks the attack surface: only needed services are opened.
Step-by-step solution
- Default deny starts with all traffic blocked.
- Only traffic that is explicitly allowed is let through.
- This keeps the attack surface small.
- So the answer is: block everything not explicitly allowed.
Why the other options are wrong
- B. Allow everything not blocked is default allow, the weaker policy.
- C. Blocking only known-bad addresses is a blocklist approach, not default deny.
- D. Allowing all outbound traffic is not default deny.
Tip: Default deny: block by default, then allow only what is needed.
Practise all 29 questions free
The full question bank with timed practice, progress tracking and Vidya, your AI tutor. Free, no ads.
Open this topic in the app →