Network Security MCQs set 2 for NTS NAT-ICS (Computer Science Track) computer science — 20 solved questions.
Q1. Which protocol is used for secure web browsing?
Answer: HTTPS
Explanation: HTTPS (Hypertext Transfer Protocol Secure) is used for secure web browsing as it encrypts data in transit.
Q2. What type of attack involves guessing a password?
Answer: Brute Force Attack
Explanation: A brute force attack involves trying all possible combinations of a password to guess it.
Q3. Which of the following is a type of malware that demands payment?
Answer: Ransomware
Explanation: Ransomware is malware that encrypts a victim's files and demands a ransom in exchange for the decryption key.
Q4. What is the primary function of a digital signature?
Answer: Both B and C
Explanation: A digital signature authenticates the sender and ensures that the message has not been tampered with, thus ensuring data integrity.
Q5. Which protocol is used for secure remote access?
Answer: SSH
Explanation: SSH (Secure Shell) is used for secure remote access as it encrypts data in transit, unlike Telnet which sends data in plain text.
Q6. What is a common method used to protect against SQL injection attacks?
Answer: Input Validation
Explanation: Input validation involves checking user input to prevent malicious SQL code from being injected into a database.
Q7. What type of attack involves overwhelming a system with traffic?
Answer: Denial of Service (DoS)
Explanation: A DoS attack involves flooding a system with traffic to make it unavailable to users.
Q8. Which of the following is NOT a common type of malware?
Answer: Firewall
Explanation: A firewall is a security system that controls incoming and outgoing network traffic, it is not a type of malware.
Q9. What is the purpose of a honeypot in network security?
Answer: To detect and divert attacks
Explanation: A honeypot is a decoy system that attracts attackers, allowing security teams to detect and analyze attack patterns.
Q10. Which encryption algorithm is commonly used for secure data transmission?
Answer: AES
Explanation: AES (Advanced Encryption Standard) is a symmetric encryption algorithm widely used for secure data transmission.
Q11. What is a key characteristic of a symmetric encryption algorithm?
Answer: It uses the same key for encryption and decryption
Explanation: Symmetric encryption uses the same key for both encryption and decryption, making it faster but requiring secure key exchange.
Q12. What is the primary benefit of using a Virtual Private Network (VPN)?
Answer: Enhanced security for remote access
Explanation: A VPN provides a secure and encrypted connection for remote access, protecting data from interception.
Q13. Which of the following is a security benefit of using a public key infrastructure (PKI)?
Answer: It enables secure communication over an insecure channel
Explanation: PKI enables secure communication by using public and private key pairs to authenticate and encrypt data.
Q14. What is a common vulnerability in web applications?
Answer: All of the above
Explanation: All the mentioned vulnerabilities (SQL Injection, XSS, Buffer Overflow) are common security risks in web applications.
Q15. What is the purpose of a security patch?
Answer: To fix vulnerabilities
Explanation: A security patch is used to fix known vulnerabilities in software, thereby preventing exploitation by attackers.
Q16. Which security measure involves monitoring network traffic for signs of unauthorized access?
Answer: Intrusion Detection System (IDS)
Explanation: An IDS monitors network traffic to identify potential security threats and alert administrators.
Q17. Which of the following is a type of malware?
Answer: Virus
Explanation: A virus is a type of malware that replicates itself by attaching to other programs or files on a computer.
Q18. What is the purpose of encryption in network security?
Answer: To protect data from unauthorized access
Explanation: Encryption protects data by converting it into an unreadable format, making it inaccessible to unauthorized parties.
Q19. Which network security measure involves verifying the identity of users?
Answer: Authentication
Explanation: Authentication is the process of verifying the identity of users, ensuring that only legitimate users access the network.
Q20. Which security protocol is used for secure email communication?
Answer: PGP
Explanation: PGP (Pretty Good Privacy) is used for secure email communication by encrypting and signing emails.