



























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




























































































Question 1. Which layer of the OSI model is responsible for end‑to‑end reliability and flow control? A) Physical B) Data Link C) Transport D) Network Answer: C Explanation: The Transport layer (Layer 4) provides reliable data transfer, sequencing, acknowledgment, and flow control (e.g., TCP). Question 2. In IPv4, what does the subnet mask 255.255.255.192 represent in CIDR notation? A) / B) / C) / D) / Answer: B Explanation: 255.255.255.192 has 26 leading 1 bits, so the CIDR suffix is /26. Question 3. Which of the following is a characteristic of a stateful firewall compared to a packet‑filtering firewall? A) Inspects only source IP address B) Maintains connection tables to track sessions C) Operates only at Layer 2 D) Blocks all outbound traffic by default
Answer: B Explanation: Stateful firewalls keep state tables that record active connections, allowing them to make decisions based on session context. Question 4. Which wireless encryption protocol is considered the most secure for enterprise Wi‑Fi deployments as of 2023? A) WEP B) WPA C) WPA2‑Enterprise (AES) D) WPA3‑Enterprise Answer: D Explanation: WPA3‑Enterprise introduces Simultaneous Authentication of Equals (SAE) and stronger cryptographic suites, superseding WPA2‑Enterprise. Question 5. In a DMZ architecture, which device typically sits between the external network and the DMZ? A) Core switch B) Proxy server C) Border router/firewall D) Load balancer Answer: C Explanation: The border router or firewall controls traffic entering the DMZ from the Internet. Question 6. Which Windows permission determines the ability to change the contents of a folder, including adding or deleting files?
Answer: A Explanation: Get-EventLog with LogName “Security” and InstanceId 4625 returns failed logon events. Question 9. In Azure RBAC, which built‑in role provides read‑only access to all resources in a subscription? A) Owner B) Contributor C) Reader D) User Access Administrator Answer: C Explanation: The Reader role grants view‑only permissions across the subscription. Question 10. Which Linux file contains the list of users and their encrypted passwords? A) /etc/passwd B) /etc/shadow C) /etc/group D) /etc/sudoers Answer: B Explanation: /etc/shadow stores hashed passwords and related account aging information, while /etc/passwd holds user account details without passwords. Question 11. Which Linux command displays the current kernel ring buffer, useful for debugging hardware and driver issues? A) dmesg
B) top C) journalctl D) lsmod Answer: A Explanation: dmesg prints kernel messages from the ring buffer. Question 12. Which SELinux mode logs policy violations but does not enforce them? A) Enforcing B) Permissive C) Disabled D) Targeted Answer: B Explanation: Permissive mode records denials in the audit log while allowing the actions. Question 13. Which iptables target is used to log packets that match a rule without affecting the packet flow? A) DROP B) ACCEPT C) LOG D) REJECT Answer: C Explanation: The LOG target writes packet information to syslog and then continues processing the rule chain.
D) docker compose Answer: B Explanation: docker scan invokes Snyk’s vulnerability scanner on a Docker image. Question 17. Which Kubernetes object defines a set of network policies that control pod‑to‑pod traffic? A) Service B) Ingress C) NetworkPolicy D) ConfigMap Answer: C Explanation: NetworkPolicy resources allow administrators to whitelist or blacklist traffic between pods. Question 18. Which symmetric encryption algorithm uses a 128‑bit block size and supports key lengths of 128, 192, and 256 bits? A) DES B) 3DES C) AES D) RC Answer: C Explanation: AES (Advanced Encryption Standard) operates on 128‑bit blocks with variable key sizes.
Question 19. Which hashing algorithm is considered broken for collision resistance and should not be used for digital signatures? A) SHA‑ 256 B) SHA‑ 1 C) SHA‑ 384 D) SHA‑ 512 Answer: B Explanation: SHA‑1 is vulnerable to collision attacks and is deprecated for security‑critical uses. Question 20. Which of the following best describes salting in password storage? A) Encrypting the password with a symmetric key B) Adding a random value to the password before hashing C) Storing the password in plain text for quick lookup D) Using a fixed value for all password hashes Answer: B Explanation: Salting appends a unique random string to each password before hashing, preventing pre‑computed rainbow table attacks. Question 21. In a PKI, which component issues and signs digital certificates? A) Registration Authority (RA) B) Certificate Authority (CA) C) Certificate Revocation List (CRL) D) Online Certificate Status Protocol (OCSP) responder
Answer: D Explanation: TLS 1.3 removed many legacy ciphers, added 0‑RTT, and mandates forward secrecy. Question 25. Which DLP technique classifies data based on its content rather than its location? A) Endpoint DLP B) Network DLP C) Content inspection D) Policy‑based routing Answer: C Explanation: Content inspection scans the actual data payload to identify sensitive information (e.g., credit‑card numbers). Question 26. Which of the following is an example of a physical security control? A) Firewall rule set B) Biometric access card reader C) Encryption algorithm D) Security awareness training Answer: B Explanation: Biometric readers physically restrict entry to a location.
Question 27. Which NIST CSF core function focuses on “detecting the occurrence of a cybersecurity event”? A) Identify B) Protect C) Detect D) Respond Answer: C Explanation: The Detect function includes continuous monitoring and anomaly detection. Question 28. Which CIS Control v8 sub‑control specifically addresses “Secure Configuration for Network Devices, such as Firewalls, Routers, and Switches”? A) 4. B) 5. C) 7. D) 9. Answer: A Explanation: CIS Control 4 (Secure Configuration of Enterprise Assets) includes sub‑control 4.1 for network device hardening. Question 29. Which ISO/IEC 27001 Annex A control deals with “Cryptographic controls”? A) A. B) A. C) A.
Question 32. Which ATT&CK technique corresponds to “Spearphishing Attachment”? A) T1566. B) T1059. C) T D) T Answer: A Explanation: T1566.001 is the sub‑technique for spearphishing via malicious attachments. Question 33. Which type of ransomware encrypts files and also deletes shadow copies to prevent recovery? A) Locker ransomware B) Crypto ransomware C) Wiper ransomware D) Ransomware‑as‑a‑Service (RaaS) Answer: B Explanation: Crypto ransomware encrypts user data and often deletes shadow copies to hinder de‑cryption. Question 34. Which Windows feature can be used to prevent execution of unsigned drivers? A) AppLocker B) Device Guard (Code Integrity) C) Windows Defender Antivirus D) BitLocker
Answer: B Explanation: Device Guard’s Code Integrity policy blocks loading of drivers that lack a trusted signature. Question 35. Which log source is most useful for detecting credential dumping attempts on a Windows host? A) Application log B) Security log (Event ID 4663) C) System log D) PowerShell operational log Answer: B Explanation: Event ID 4663 records accesses to LSASS memory, often indicating credential dumping. Question 36. Which Azure service provides a centralized location for collecting and analyzing security logs across subscriptions? A) Azure Monitor B) Azure Sentinel (Microsoft Sentinel) C) Azure Policy D) Azure Advisor Answer: B Explanation: Microsoft Sentinel aggregates logs, applies analytics, and offers SIEM capabilities. Question 37. Which Linux capability allows a process to bind to ports below 1024 without being root? A) CAP_NET_RAW
Explanation: The “User Account Management” subcategory logs creation, deletion, and modification of user accounts. Question 40. Which cryptographic mode provides confidentiality and integrity in a single operation? A) ECB B) CBC C) GCM D) OFB Answer: C Explanation: GCM (Galois/Counter Mode) offers authenticated encryption, delivering both confidentiality and integrity. Question 41. Which of the following is NOT a recommended practice for securing SSH on a Linux server? A) Disable root login B) Use key‑based authentication only C) Change the default port to 22 D) Limit user access via AllowUsers Answer: C Explanation: Changing the port to something other than 22 (e.g., 2222) is a security‑through‑obscurity measure; keeping it at 22 is acceptable if other controls are in place. The statement “Change the default port to 22” is nonsensical; the default is already 22, so it is not a recommended change. Question 42. Which Windows built‑in tool can be used to create a baseline security configuration and compare it against a live system?
A) secpol.msc B) gpedit.msc C) Security Configuration and Analysis (mmc snap‑in) D) netsh Answer: C Explanation: The Security Configuration and Analysis snap‑in lets administrators import a security template, analyze the system, and generate a report. Question 43. Which Azure AD feature enforces multi‑factor authentication based on user risk level? A) Conditional Access – Sign‑in risk policy B) Azure AD Identity Protection – Risk‑based MFA C) Azure AD Privileged Identity Management D) Azure AD Connect Health Answer: B Explanation: Azure AD Identity Protection can trigger MFA when a user’s sign‑in risk exceeds a defined threshold. Question 44. Which Linux command can be used to view all active iptables rules in the filter table? A) iptables - L - v - n B) nft list ruleset C) iptables-save D) firewall-cmd --list-all Answer: A
Answer: B Explanation: ECDHE (Elliptic Curve Diffie‑Hellman Ephemeral) provides forward secrecy. Question 48. Which NIST SP 800‑53 control family addresses “Audit and Accountability”? A) AC – Access Control B) AU – Audit and Accountability C) IA – Identification and Authentication D) SC – System and Communications Protection Answer: B Explanation: AU is the control family dedicated to auditing and accountability. Question 49. Which of the following is a recommended way to protect privileged credentials on Linux? A) Store them in plain‑text files under /etc B) Use a password manager or vault (e.g., HashiCorp Vault) C) Embed them in shell scripts D) Share them via email Answer: B Explanation: Centralized secret management solutions keep credentials encrypted and access‑controlled.
Question 50. Which ATT&CK technique describes the use of “Mshta.exe” to execute malicious script code? A) T1059.005 – PowerShell B) T1218.005 – Mshta C) T1105 – Ingress Tool Transfer D) T1566 – Phishing Answer: B Explanation: T1218.005 specifically covers the misuse of Mshta.exe for execution. Question 51. Which Windows event ID indicates a successful RDP (Remote Desktop Protocol) logon? A) 4624 B) 4625 C) 4634 D) 4648 Answer: A Explanation: Event ID 4624 logs successful logon events, including RDP sessions. Question 52. Which Linux daemon is responsible for managing the system’s time synchronization via NTP? A) chronyd B) syslogd C) dbus-daemon D) auditd