CompTIA Certification

CS0-003 — CySA+ Study Guide

62 practice questions with correct answers and detailed explanations. Use this guide to review concepts before taking the practice exam.

▶ Take Practice Exam 62 questions  ·  Free  ·  No registration

About the CS0-003 Exam

The CompTIA CySA+ (CS0-003) certification validates professional expertise in CompTIA technologies. This study guide covers all 62 practice questions from our CS0-003 practice test, complete with correct answers and explanations to help you understand each concept thoroughly.

Review each question and explanation below, then test yourself with the full interactive practice exam to measure your readiness.

62 Practice Questions & Answers

Q1 Medium

A security analyst is reviewing network traffic and notices unusual outbound connections to multiple IP addresses on port 443 with very short connection durations. Which of the following is the most likely explanation?

  • A Routine DNS resolution failures being retried over HTTPS
  • B A data exfiltration attempt using encrypted tunnels ✓ Correct
  • C A port scanning activity probing for open HTTPS services
  • D Normal SSL/TLS certificate validation checks across multiple servers
Explanation

Short, numerous connections to different IPs on port 443 with quick disconnections is characteristic of data exfiltration malware testing multiple command-and-control servers or data staging endpoints.

Q2 Medium

During a vulnerability assessment, an analyst discovers that a web application is vulnerable to XXE (XML External Entity) injection. What is the primary risk associated with this vulnerability?

  • A Unauthorized file system access and potential information disclosure ✓ Correct
  • B Loss of session tokens through cross-site scripting attacks
  • C Denial of service through resource exhaustion only
  • D SQL injection leading to database compromise
Explanation

XXE vulnerabilities allow attackers to read arbitrary files from the server, access internal network resources, and perform SSRF attacks by exploiting how XML parsers process external entity definitions.

Q3 Medium

A company implements a Web Application Firewall (WAF) and wants to establish a baseline for normal traffic patterns. Which metric should the security team prioritize when tuning WAF rules to minimize false positives?

  • A The geographic distribution of incoming traffic sources
  • B The number of blocked requests per hour
  • C The average response time for all processed requests
  • D The ratio of legitimate requests flagged versus actual malicious requests identified ✓ Correct
Explanation

The false positive rate (legitimate traffic incorrectly blocked) versus true positive rate is critical for WAF tuning, as excessive false positives disrupt legitimate users while insufficient blocking leaves vulnerabilities exposed.

Q4 Medium

An organization detects a rootkit on a critical production server. Which of the following actions should be prioritized FIRST in the incident response process?

  • A Perform a full disk image and memory dump for forensic analysis before any remediation
  • B Immediately disconnect the server from the network to prevent lateral movement ✓ Correct
  • C Attempt to remove the rootkit using antivirus software while the system remains online
  • D Restore the server from the most recent backup available
Explanation

Isolating the compromised system immediately prevents the rootkit from spreading to other network resources, which is the paramount concern before any remediation or analysis activities begin.

Q5 Easy

A penetration tester discovers that a target application accepts user input and passes it directly to a database query without parameterization. What vulnerability does this represent, and what is the primary risk?

  • A LDAP Injection; authentication bypass and directory enumeration
  • B Cross-Site Request Forgery; unauthorized state-changing actions
  • C SQL Injection; unauthorized data access, modification, or deletion ✓ Correct
  • D Command Injection; remote code execution on the application server
Explanation

Unparameterized queries that incorporate user input directly allow SQL Injection attacks where attackers can manipulate SQL statements to access, modify, or delete database records.

Q6 Medium

During threat modeling, an analyst identifies that an application stores sensitive data in client-side JavaScript variables. Which attack vector is most likely to exploit this vulnerability?

  • A Brute force attack against weak encryption algorithms
  • B Privilege escalation through kernel vulnerabilities
  • C Man-in-the-Middle attack compromising the HTTPS connection
  • D Cross-Site Scripting (XSS) attack extracting data from browser memory ✓ Correct
Explanation

Client-side JavaScript is visible in the page source and accessible to any script running in the same browser context, making XSS attacks the primary vector to access sensitive data stored in JavaScript variables.

Q7 Easy

A security analyst is tasked with reducing the attack surface of a multi-tier application. Which approach best aligns with the principle of least privilege?

  • A Granting all developers full administrative access to accelerate development cycles
  • B Disabling all security features to improve application performance
  • C Allowing all services to communicate freely on any port within the internal network
  • D Implementing role-based access control with minimal required permissions for each user role ✓ Correct
Explanation

Least privilege requires that users and services have only the minimum permissions necessary to perform their functions, which is achieved through well-designed RBAC policies.

Q8 Medium

An organization experiences a data breach where credentials were exfiltrated. The attacker used these credentials to access systems weeks later. Which security control would have most effectively prevented the lateral movement phase of this attack?

  • A Network segmentation and access controls between different security zones ✓ Correct
  • B Multi-factor authentication on all systems and applications
  • C Mandatory password changes every 30 days
  • D Regular security awareness training for all employees
Explanation

Network segmentation prevents compromised credentials from being immediately useful across the entire infrastructure by restricting access between security zones, limiting the scope of lateral movement even with valid credentials.

Q9 Easy

While performing log analysis, an analyst notices multiple failed login attempts followed by a successful login from the same source IP within seconds. What type of attack does this pattern indicate?

  • A Insider threat attempting to cover tracks through log manipulation
  • B Man-in-the-Middle attack intercepting authentication tokens
  • C Distributed Denial of Service attack targeting authentication services
  • D Credential stuffing or brute force attack with successful compromise ✓ Correct
Explanation

The pattern of multiple failed attempts immediately followed by a successful login from the same source is characteristic of brute force or credential stuffing attacks where the attacker finally guesses or uses a valid credential.

Q10 Medium

A vulnerability scanner reports a service running on a non-standard port with an outdated SSL/TLS version. During remediation, the security team discovers the service cannot be updated. What is the most appropriate compensating control?

  • A Restrict network access to this service through firewall rules and network segmentation ✓ Correct
  • B Implement additional encryption at the application layer to compensate
  • C Disable TLS certificate validation on the client side to reduce compatibility issues
  • D Configure the service to use HTTP instead of HTTPS for better performance
Explanation

When a vulnerable service cannot be patched, restricting access through firewall rules and network segmentation limits the potential attackers who can reach and exploit the service, providing an effective compensating control.

Q11 Medium

An analyst reviews firewall logs and sees a sudden spike in DNS queries to unusual domains with suspicious characteristics. What is the next step in the incident response process?

  • A Investigate which internal systems originated these queries and determine if malware is present ✓ Correct
  • B Contact the domain registrar to take down the suspicious domains immediately
  • C Document the findings and schedule a security review meeting for next week
  • D Immediately block all DNS traffic to prevent further data exfiltration
Explanation

The priority is to identify which internal systems are compromised and understand the scope of the incident before taking any blocking actions, ensuring a comprehensive response.

Q12 Medium

A company wants to implement a Zero Trust security model. Which of the following architectural principles is fundamental to Zero Trust?

  • A Assuming breach and verifying every access request regardless of source or location ✓ Correct
  • B Trusting all traffic on the internal network while blocking external traffic at the perimeter
  • C Allowing users full network access after initial authentication
  • D Implementing strong passwords as the primary security control
Explanation

Zero Trust architecture is built on the principle that no access should be automatically trusted; every access request must be verified through continuous authentication and authorization checks.

Q13 Easy

During a security assessment, an analyst identifies that the organization uses hardcoded credentials in configuration files stored in a code repository. What is the primary risk of this practice?

  • A The application will not function correctly in production environments
  • B Credentials can be compromised if the repository is breached or accessed by unauthorized personnel ✓ Correct
  • C Compliance audits cannot verify the security of the application
  • D Developers cannot collaborate effectively on the codebase
Explanation

Hardcoded credentials in repositories are easily exposed through accidental commits, repository breaches, or insider access, allowing attackers to compromise multiple systems with valid credentials.

Q14 Hard

A security analyst is reviewing process execution logs and notices a legitimate application spawning unusual child processes with system-level privileges. What does this behavior suggest?

  • A Normal application behavior requiring elevated privileges for specific functions
  • B A scheduled task running maintenance operations as expected
  • C User error in attempting to run administrative commands
  • D Potential process injection or privilege escalation exploit being leveraged against the application ✓ Correct
Explanation

A legitimate application unexpectedly spawning child processes with elevated privileges is a strong indicator of process injection or exploitation, as legitimate applications typically run with only required privileges.

Q15 Medium

An organization implements endpoint detection and response (EDR) technology. Which of the following is a primary advantage of EDR over traditional antivirus solutions?

  • A EDR provides behavioral analysis and threat hunting capabilities to detect evasive malware ✓ Correct
  • B EDR prevents all malware infections with 100% certainty without false positives
  • C EDR eliminates the need for network monitoring and firewall controls
  • D EDR is significantly less expensive to deploy and maintain across the organization
Explanation

EDR solutions detect threats through behavioral analysis, process monitoring, and threat hunting rather than signature-based detection alone, enabling detection of novel and evasive malware that traditional antivirus may miss.

Q16 Medium

While analyzing a security incident, an investigator discovers that the attacker gained initial access through a phishing email with a malicious attachment. What is the most effective control to prevent this attack vector in the future?

  • A Implement advanced email filtering and sandboxing of attachments before delivery ✓ Correct
  • B Require all employees to use the same antivirus software on their systems
  • C Disable email functionality for all non-essential personnel
  • D Monitor all employee emails for suspicious keywords and phrases automatically
Explanation

Advanced email filtering with sandboxing detects malicious attachments by analyzing them in an isolated environment before they reach users, preventing the initial compromise vector.

Q17 Hard

A penetration tester uses a tool to intercept and modify HTTPS traffic from a client to a web server. Which of the following conditions would allow this attack to succeed?

  • A The server uses an outdated but still valid SSL/TLS certificate
  • B The client has a compromised or malicious certificate authority installed in its trust store ✓ Correct
  • C The user enables HSTS (HTTP Strict Transport Security) headers
  • D The server implements perfect forward secrecy (PFS) in its TLS configuration
Explanation

A man-in-the-middle attack on HTTPS requires the attacker to present a certificate that the client trusts; if a malicious CA certificate is installed in the client's trust store, the attacker can forge certificates for any domain.

Q18 Medium

An organization's intrusion detection system (IDS) generates a high volume of alerts daily, but the security team determines that most are false positives. What is the best approach to improve the situation?

  • A Replace the IDS with a more expensive commercial solution that guarantees zero false positives
  • B Tune IDS rules based on normal network baselines to reduce false positives while maintaining detection sensitivity ✓ Correct
  • C Disable the IDS entirely to eliminate false positive alerts and reduce noise
  • D Lower the alert threshold to increase detection sensitivity regardless of false positive rates
Explanation

Tuning IDS rules against a baseline of normal network behavior reduces false positives while maintaining the ability to detect actual threats, improving the signal-to-noise ratio for security analysts.

Q19 Hard

During a vulnerability assessment, a penetration tester discovers that a web application reflects user input back in HTTP response headers without sanitization. What vulnerability could this enable?

  • A HTTP Response Splitting or Header Injection attacks allowing cache poisoning or session fixation ✓ Correct
  • B Privilege escalation to administrative accounts
  • C SQL Injection attacks directly compromising the database
  • D Denial of service through resource exhaustion
Explanation

Unsanitized user input in HTTP response headers can allow attackers to inject additional headers or split responses, enabling attacks like cache poisoning, session fixation, or XSS through header injection.

Q20 Medium

A security analyst is implementing a vulnerability management program. Which of the following metrics should be prioritized when prioritizing remediation efforts?

  • A Number of days since each vulnerability was discovered in the scan
  • B The total number of vulnerabilities on each asset regardless of severity
  • C The specific version number of the vulnerable software component
  • D CVSS score combined with asset criticality and exploitability in the wild ✓ Correct
Explanation

Effective prioritization combines vulnerability severity (CVSS score), asset importance (criticality), and threat intelligence (active exploitation) to focus remediation on the most impactful vulnerabilities.

Q21 Medium

An organization discovers that an employee accidentally shared sensitive data in a public GitHub repository. Which immediate action would best limit potential damage?

  • A Notify all customers that a data breach has occurred
  • B Immediately revoke any credentials or keys that were exposed in the repository ✓ Correct
  • C Delete the employee's GitHub account to prevent further incidents
  • D Monitor the repository for any evidence of the data being accessed
Explanation

Revoking compromised credentials immediately prevents attackers from using exposed API keys, passwords, or authentication tokens to access systems, limiting the window of exploitation.

Q22 Easy

A security team is evaluating cloud security posture management (CSPM) tools. What is the primary benefit of CSPM in a cloud environment?

  • A CSPM eliminates the need for user authentication and access controls
  • B CSPM continuously monitors cloud infrastructure for misconfigurations and compliance violations ✓ Correct
  • C CSPM prevents all cloud-based data breaches through encryption
  • D CSPM replaces the need for traditional firewalls and network segmentation controls
Explanation

CSPM tools continuously scan cloud infrastructure configurations against security benchmarks and compliance standards, identifying misconfigurations before they can be exploited.

Q23 Medium

While investigating a suspected insider threat, an analyst reviews file access logs and observes an employee accessing files outside their normal job responsibilities before copying them to external storage. What is the most appropriate next step?

  • A Quietly monitor the employee indefinitely without informing anyone
  • B Alert management and initiate a formal investigation while preserving all evidence and monitoring the employee's activities ✓ Correct
  • C Assume it was a mistake and take no action
  • D Immediately fire the employee and escalate to law enforcement
Explanation

Suspicious data access requires immediate escalation to management and investigation while preserving evidence and continuing monitoring, but without premature action that could compromise a legal investigation.

Q24 Hard

A company implements certificate pinning in its mobile application to prevent man-in-the-middle attacks. Which of the following is a potential disadvantage of this approach?

  • A Certificate pinning is not supported by any modern mobile operating systems
  • B Certificate pinning increases the certificate renewal and replacement process complexity across all deployed instances of the application ✓ Correct
  • C Certificate pinning eliminates the need for other security controls in the application
  • D Certificate pinning prevents legitimate uses of proxies or monitoring tools
Explanation

Certificate pinning locks the application to specific certificates, making certificate renewal challenging; if the pinned certificate expires before the app is updated, users cannot connect until the app is updated.

Q25 Medium

An analyst discovers that a legacy system cannot be patched due to vendor end-of-life constraints. The system processes non-sensitive operational data but is connected to the internal network. What is the most appropriate mitigation strategy?

  • A Immediately disconnect the system from all networks to eliminate risk completely
  • B Implement network segmentation to isolate the legacy system while maintaining necessary operational connectivity ✓ Correct
  • C Deploy additional antivirus agents to compensate for the unpatched vulnerabilities
  • D Increase monitoring and logging specifically for this system's network traffic and activities
Explanation

Network segmentation allows the legacy system to remain operational while limiting its access to only necessary resources and preventing it from being a pivot point for lateral movement if compromised.

Q26 Medium

A security analyst discovers that an attacker has been using a command and control (C2) server to exfiltrate data over several weeks. Which of the following should be the analyst's FIRST action?

  • A Contact law enforcement before taking any defensive measures
  • B Document current indicators of compromise (IOCs) and assess the scope of the breach ✓ Correct
  • C Shut down all affected systems to prevent further data loss
  • D Immediately block all traffic to the C2 server at the firewall
Explanation

Before taking reactive measures, analysts must first understand the scope and nature of the incident through evidence preservation and assessment. This ensures effective containment and enables proper forensic analysis.

Q27 Easy

Which of the following best describes the purpose of threat modeling during the secure development lifecycle?

  • A To establish baseline metrics for measuring security team performance
  • B To identify potential security weaknesses before code is deployed to production ✓ Correct
  • C To determine the cost of implementing security controls in an application
  • D To create a list of all third-party vendors used by an organization
Explanation

Threat modeling is a proactive security practice used to identify and document potential threats and vulnerabilities in an application's design before implementation, enabling early mitigation.

Q28 Medium

An analyst reviews firewall logs and notices an unusual pattern: multiple failed authentication attempts from a single source IP followed by a successful login using valid credentials from a different geographic location within seconds. What is the MOST likely explanation?

  • A A man-in-the-middle (MITM) attack intercepting session tokens
  • B Normal user behavior where the user tried multiple passwords before succeeding
  • C A credential stuffing attack followed by account takeover ✓ Correct
  • D A distributed denial of service (DDoS) attack targeting the authentication service
Explanation

The pattern of multiple failed attempts from one IP followed by successful authentication from a different location suggests an attacker obtained valid credentials and successfully compromised the account.

Q29 Easy

Which vulnerability assessment technique involves running automated tools to scan systems for known vulnerabilities and configuration weaknesses?

  • A Penetration testing with manual exploitation attempts
  • B Physical security assessment
  • C Authenticated vulnerability scanning ✓ Correct
  • D Code review and static application security testing (SAST)
Explanation

Authenticated vulnerability scanning uses automated tools to identify known vulnerabilities and misconfigurations by scanning systems with valid credentials for deeper analysis.

Q30 Medium

A company experiences a security incident where ransomware encrypts critical files on a network share. During the forensic investigation, the analyst needs to determine the attack vector. Which of the following is the BEST place to begin investigating?

  • A Review Windows Event Logs and endpoint detection and response (EDR) tool logs for process execution and lateral movement patterns ✓ Correct
  • B Restore files from backup immediately to minimize business impact
  • C Check the file modification timestamps and ownership metadata on encrypted files
  • D Query the file access control lists (ACLs) to identify which users have permissions
Explanation

EDR logs and Windows Event Logs provide detailed records of process execution, network connections, and lateral movement that reveal how the ransomware was deployed and executed.

Q31 Easy

Which of the following best represents a zero-day vulnerability?

  • A A vulnerability that affects systems running outdated software that is no longer supported
  • B A previously unknown vulnerability for which no vendor patch exists and exploitation occurs in the wild ✓ Correct
  • C A vulnerability discovered internally by a company before public disclosure
  • D A vulnerability that has been publicly disclosed but no patch has been released yet
Explanation

A zero-day is a previously unknown vulnerability exploited by attackers before the vendor becomes aware or releases a patch, making it particularly dangerous.

Q32 Medium

An analyst is reviewing SIEM alerts and notices that a database administrator account performed multiple unusual activities: querying sensitive customer data outside normal business hours, exporting large datasets, and accessing systems they do not normally use. What is the MOST appropriate first response?

  • A Isolate the affected systems from the network and preserve logs for forensic analysis
  • B Increase monitoring on this user's account for the next 30 days before taking action
  • C Immediately terminate the user's employment and revoke all access credentials
  • D Interview the administrator to understand the business justification and collect details about the activities ✓ Correct
Explanation

Before assuming malicious intent, the analyst should first interview the user to determine if there was a legitimate business reason, as unusual activity can occur for authorized purposes.

Q33 Medium

During a security assessment, an analyst discovers that several servers are running outdated SSL/TLS versions that are vulnerable to known attacks. Which of the following is the BEST remediation approach?

  • A Document the vulnerability and schedule remediation for the next fiscal year
  • B Implement a web application firewall (WAF) to block SSL/TLS-based attacks
  • C Disable all SSL/TLS protocols and use only unencrypted HTTP connections
  • D Upgrade to the latest TLS 1.3 version and disable older versions such as TLS 1.0 and 1.1 ✓ Correct
Explanation

Upgrading to TLS 1.3 and disabling older versions is the industry best practice to eliminate known SSL/TLS vulnerabilities while maintaining secure encrypted communications.

Q34 Medium

Which of the following scenarios represents a FALSE POSITIVE in the context of security alerting?

  • A An alert fails to trigger when actual malicious activity occurs within the monitoring system
  • B An alert triggers multiple times for the same security event, creating duplicate notifications
  • C An alert correctly identifies an attempted SQL injection attack against a web application
  • D An alert is generated for suspicious network traffic, but upon investigation, the activity is identified as legitimate scheduled backup traffic ✓ Correct
Explanation

A false positive occurs when a security alert is triggered for legitimate activity rather than actual malicious behavior, wasting analyst time on investigation.

Q35 Medium

An organization uses certificate pinning in its mobile application to prevent man-in-the-middle attacks. Which statement BEST describes how certificate pinning enhances security?

  • A It restricts the mobile app to trust only specific SSL/TLS certificates or certificate chains for server connections ✓ Correct
  • B It encrypts all data transmitted between the mobile app and server using symmetric encryption algorithms
  • C It replaces traditional SSL/TLS with an alternative encryption protocol that is faster and more secure
  • D It prevents users from installing the mobile application on rooted or jailbroken devices
Explanation

Certificate pinning hardens security by binding the app to expect specific certificates, making it extremely difficult for attackers to intercept connections even with compromised certificate authorities.

Q36 Easy

Which of the following is the PRIMARY benefit of implementing a bug bounty program?

  • A To crowdsource vulnerability discovery from external researchers who may find issues the internal team missed ✓ Correct
  • B To eliminate all possible vulnerabilities before software release
  • C To transfer all liability for security vulnerabilities to external third parties
  • D To reduce the cost of hiring full-time security researchers within the organization
Explanation

Bug bounty programs leverage external security researchers to identify vulnerabilities that internal teams might miss, providing an additional layer of security validation.

Q37 Medium

An analyst is investigating a potential insider threat where an employee transferred sensitive intellectual property to a competitor. The employee had valid access credentials. Which of the following is the MOST important evidence to examine?

  • A The competitor's financial records to determine if they paid the employee for the information
  • B Data access logs, file transfer records, email communications, and USB device usage logs from the time of the suspected transfer ✓ Correct
  • C The employee's social media accounts and personal device information
  • D The employee's personnel file and performance review history
Explanation

Digital forensic evidence such as access logs, file transfers, and communications provides concrete proof of the data movement and is admissible in legal proceedings.

Q38 Easy

Which of the following best explains the difference between vulnerability scanning and penetration testing?

  • A Penetration testing must be performed quarterly while vulnerability scanning is only recommended annually
  • B Vulnerability scanning requires specialized credentials while penetration testing can be performed without any access to systems
  • C Penetration testing is cheaper and faster than vulnerability scanning because it uses only automated tools
  • D Vulnerability scanning identifies potential weaknesses using automated tools, while penetration testing involves manual exploitation attempts to assess impact ✓ Correct
Explanation

Scanning is automated identification of weaknesses; penetration testing goes further by attempting to exploit vulnerabilities to demonstrate real-world impact and exploit chains.

Q39 Medium

During incident response, an analyst determines that a compromised server has been used to launch attacks against other internal systems. What is the BEST next action regarding the compromised server?

  • A Restore the server from the most recent backup to resume normal operations
  • B Reimage the server immediately with the latest operating system and patches
  • C Isolate the server from the network while preserving its current state for forensic analysis ✓ Correct
  • D Leave the server running but implement network segmentation to contain the threat
Explanation

Isolating the compromised server while preserving its state allows forensic analysts to investigate the breach, determine the attack methodology, and ensure the backup is not also compromised before restoration.

Q40 Medium

An organization discovers that an external contractor's credentials were used to access systems containing regulated data. Which of the following is the MOST important control to prevent this in the future?

  • A Require all contractors to sign a non-disclosure agreement (NDA) annually
  • B Request contractors to change their passwords every 30 days
  • C Implement privileged access management (PAM) with time-limited access and multi-factor authentication for contractor accounts ✓ Correct
  • D Conduct background checks on all contractors before granting system access
Explanation

PAM with time-limited access, MFA, and strong monitoring provides technical controls that limit the window of exposure and require additional authentication factors even if credentials are compromised.

Q41 Easy

Which of the following describes the main purpose of security awareness training in an organization?

  • A To educate employees about security policies, risks, and their individual responsibilities to reduce human-related security incidents ✓ Correct
  • B To certify employees in cybersecurity best practices and make them eligible for security roles
  • C To replace the need for technical security controls such as firewalls and intrusion detection systems
  • D To fulfill compliance requirements for regulatory audits while having minimal impact on actual security posture
Explanation

Security awareness training aims to change employee behavior and understanding of security risks, significantly reducing incidents caused by human error, phishing, and social engineering.

Q42 Medium

An analyst reviewing network traffic notices suspicious DNS queries resolving to IP addresses associated with known malware command and control servers. The queries are originating from an internal workstation. What should the analyst do FIRST?

  • A Check the organization's DNS allowlist to see if these domains were approved by network operations
  • B Deploy antivirus updates to the workstation and monitor for additional suspicious activity
  • C Block all DNS requests from the workstation and escalate to the incident response team for isolation and forensics ✓ Correct
  • D Contact the workstation owner to determine if they authorized the DNS activity
Explanation

DNS queries to known malware C2 servers indicate a likely compromise. The workstation should be isolated immediately to prevent further damage while forensic analysis is conducted.

Q43 Medium

Which of the following is the BEST practice for managing security patches in a large enterprise environment?

  • A Test patches in a non-production environment, prioritize critical vulnerabilities, and implement a phased rollout with rollback procedures ✓ Correct
  • B Apply all security patches immediately upon release to eliminate vulnerabilities as quickly as possible
  • C Defer patching for at least 90 days to ensure stability and allow other organizations to report issues
  • D Patch only systems identified as vulnerable by annual penetration tests
Explanation

A phased approach with testing, prioritization, and rollback procedures balances the need for timely security updates with the risk of patch-induced outages in production systems.

Q44 Easy

An organization is implementing a data loss prevention (DLP) solution. Which of the following represents the PRIMARY benefit?

  • A It prevents users from accessing non-work-related websites during business hours
  • B It reduces the need for regular security audits and compliance assessments
  • C It monitors and blocks unauthorized transmission of sensitive data outside the organization ✓ Correct
  • D It encrypts all data stored on employee workstations to prevent physical theft
Explanation

DLP solutions identify sensitive data in transit and block unauthorized exfiltration attempts, protecting against data loss through email, cloud uploads, removable media, and other channels.

Q45 Medium

During a security incident, an analyst needs to determine when a file was first created and when it was last modified. Which of the following artifacts would provide this information?

  • A The email server logs showing when the file was sent as an attachment
  • B The Windows Registry entries associated with recently opened files and shortcuts
  • C The antivirus quarantine logs showing when the file was detected as malicious
  • D The file's MAC times (Modification, Access, and Change times) stored in the file system metadata ✓ Correct
Explanation

File system MAC times provide definitive timestamps for file creation, modification, and metadata changes, making them critical artifacts in forensic investigations.

Q46 Easy

Which of the following best describes the purpose of a threat intelligence feed in a security operations center?

  • A To notify employees about new security policies and required training courses
  • B To provide real-time information about emerging threats, known malware signatures, and IOCs that can be used to enhance detection and response capabilities ✓ Correct
  • C To provide detailed vulnerability reports for every software product in the organization
  • D To eliminate the need for manual security monitoring by automatically blocking all suspicious network traffic
Explanation

Threat intelligence feeds deliver actionable information about current threats and IOCs that help security teams detect and respond to incidents more effectively and rapidly.

Q47 Medium

An analyst discovers that a company's web application is vulnerable to reflected cross-site scripting (XSS). Which of the following is the MOST effective remediation?

  • A Advise users to disable JavaScript in their browsers to prevent XSS attacks
  • B Implement a web application firewall (WAF) rule that blocks requests containing script tags
  • C Update the application code to properly validate, filter, and encode user input before displaying it in responses ✓ Correct
  • D Disable JavaScript functionality in the web application to prevent script execution
Explanation

Proper input validation, filtering, and output encoding at the application level is the correct fix for XSS vulnerabilities, as it prevents malicious scripts from executing in user browsers.

Q48 Medium

Which of the following statements is true regarding security metrics and key performance indicators (KPIs)?

  • A They should measure the effectiveness of security controls and track trends in incidents, vulnerabilities, and risk reduction over time ✓ Correct
  • B They eliminate the need for regular security risk assessments by providing complete visibility into organizational risk
  • C They are only relevant for large enterprises and are not applicable to small organizations
  • D They are primarily used to justify larger cybersecurity budgets to executive leadership
Explanation

Security metrics and KPIs should provide meaningful measurement of control effectiveness and risk trends, enabling data-driven decisions about security investments and priorities.

Q49 Hard

During a forensic investigation of a suspected data breach, the analyst discovers that the system's audit logs have been deleted. Which of the following is the BEST approach to reconstruct what occurred?

  • A Assume the investigation cannot proceed and document the incident as inconclusive
  • B Examine alternative evidence sources such as application logs, email records, network traffic captures, file system journals, and EDR tool logs ✓ Correct
  • C Contact the operating system vendor to request backup copies of deleted audit logs
  • D Restore the entire system from backup to recover the deleted audit logs
Explanation

While the primary audit logs are gone, multiple alternative evidence sources can reconstruct the timeline and activities, including application logs, email, network data, and EDR solutions.

Q50 Medium

An organization implements endpoint detection and response (EDR) software on all workstations. Which of the following is a primary advantage of this approach?

  • A It enables visibility into endpoint processes, behavioral analysis, and rapid threat hunting across the organization ✓ Correct
  • B It provides complete protection against all forms of malware and eliminates the need for traditional antivirus software
  • C It automatically patches all vulnerabilities on endpoints without requiring user intervention
  • D It replaces the need for security awareness training by preventing user actions that lead to compromises
Explanation

EDR provides deep visibility into endpoint behavior and processes, enabling threat hunting, behavioral detection, and rapid response to sophisticated attacks that antivirus alone might miss.

Q51 Easy

Which of the following best describes the LEAST privilege principle in access control?

  • A Executive leadership should have full access to all systems regardless of business need
  • B Privileges should be assigned based on the user's seniority level rather than actual job requirements
  • C Users should be granted only the minimum permissions necessary to perform their assigned job functions ✓ Correct
  • D All users should have administrator access to systems they work with to maximize productivity
Explanation

The least privilege principle limits each user to only the permissions absolutely necessary for their role, reducing the damage potential if an account is compromised.

Q52 Hard

An analyst is reviewing logs from a compromised server and observes multiple failed attempts to create user accounts followed by successful creation of an administrative account. What does this pattern suggest?

  • A An attacker attempting privilege escalation and persistence through hidden administrative account creation ✓ Correct
  • B Normal user account provisioning activity by the IT helpdesk
  • C A denial of service attack targeting the user management system
  • D A system administrator legitimately testing account creation procedures
Explanation

The pattern of failed attempts followed by successful creation of an admin account suggests an attacker enumerating and exploiting vulnerabilities in account creation processes for persistence.

Q53 Medium

A security analyst reviews firewall logs and identifies multiple failed SSH connection attempts from the same external IP address over a 2-hour period, followed by successful connections using valid credentials. What type of attack is most likely being conducted?

  • A Credential stuffing attack using previously compromised username and password pairs ✓ Correct
  • B Man-in-the-middle attack intercepting and modifying SSH handshake packets
  • C Denial of service attack designed to exhaust server connection resources
  • D Brute force attack attempting to guess valid credentials through systematic enumeration
Explanation

The pattern of initial failures followed by successful authentication using valid credentials strongly suggests credential stuffing, where an attacker uses previously compromised credentials rather than systematically guessing passwords.

Q54 Medium

Which of the following best describes the primary purpose of implementing network segmentation in a security architecture?

  • A To reduce bandwidth consumption and improve network performance metrics
  • B To increase encryption overhead for all inter-segment communications
  • C To limit lateral movement and contain breach impact by isolating critical assets from less sensitive systems ✓ Correct
  • D To eliminate the need for firewall rules and access control lists entirely
Explanation

Network segmentation creates logical boundaries that restrict an attacker's ability to move freely across the network after initial compromise, thereby limiting the scope and impact of a potential breach.

Q55 Easy

During a vulnerability assessment, an analyst discovers that a web application fails to properly validate and encode user input before displaying it in search results. What is the primary risk associated with this finding?

  • A Cross-site request forgery (CSRF) forcing users to perform unwanted administrative actions
  • B Cross-site scripting (XSS) vulnerability allowing injection of malicious scripts into user browsers ✓ Correct
  • C Buffer overflow attacks causing application memory corruption and denial of service conditions
  • D SQL injection enabling direct manipulation of backend database queries and data extraction
Explanation

The lack of input validation and output encoding in search results is a classic XSS vulnerability, allowing attackers to inject malicious JavaScript that executes in other users' browsers.

Q56 Easy

A company's intrusion detection system (IDS) generates an alert for suspicious activity, but after investigation, the security team determines the activity was legitimate and part of normal business operations. What is this type of alert called, and what is the primary concern it creates?

  • A True negative confirming that the monitoring system is functioning correctly and no threats exist
  • B False negative where the system failed to detect actual attack activity that occurred unnoticed
  • C False positive reducing analyst trust in the monitoring system and potentially leading to alert fatigue and missed real threats ✓ Correct
  • D True positive indicating actual malicious activity that requires immediate remediation and threat hunting
Explanation

False positives are legitimate activities incorrectly flagged as malicious; excessive false positives cause alert fatigue, where analysts become desensitized and may miss genuine threats.

Q57 Medium

An analyst is reviewing SIEM logs and notices that an employee accessed sensitive data repositories at 3 AM from an IP address in a different country than their normal location. The employee is currently scheduled to be on vacation. What is the most appropriate immediate response?

  • A Disable the employee's account immediately and escalate to management for investigation of potential account compromise ✓ Correct
  • B Allow the access to continue while monitoring for additional suspicious activities from that IP address
  • C Document the finding for quarterly review since the employee's vacation schedule explains the unusual access patterns
  • D Assume the employee is using a VPN and take no action unless additional anomalies are detected in the coming weeks
Explanation

The combination of unusual time, geographic impossibility, and known absence indicates likely account compromise and warrants immediate account disabling and incident investigation to prevent data theft.

Q58 Medium

A security team is implementing a data loss prevention (DLP) solution. During the pilot phase, the system blocks legitimate business emails containing financial reports and customer contact information. What is the primary challenge this scenario illustrates?

  • A The organization lacks sufficient encryption infrastructure to support DLP deployment
  • B Employee training programs have failed to educate users about data handling practices and DLP policies
  • C DLP solutions are ineffective and should be replaced with manual monitoring procedures
  • D Balancing security controls with business functionality by properly tuning policies to prevent both data loss and operational disruption ✓ Correct
Explanation

This scenario demonstrates the critical challenge of DLP implementation—creating policies that protect sensitive data while minimizing false positives that block legitimate business communications.

Q59 Hard

An organization discovers that an attacker has been using a zero-day vulnerability in a third-party software component to gain unauthorized access. The vendor has not yet released a patch. Which of the following represents the most effective compensating control?

  • A Disable all antivirus and anti-malware tools to reduce false positives from the affected software
  • B Schedule an immediate hardware upgrade to replace the vulnerable system with newer equipment
  • C Increase the frequency of security awareness training for all employees to reduce social engineering risk
  • D Implement network segmentation and access controls to restrict the affected system's connectivity and limit potential lateral movement if exploited ✓ Correct
Explanation

When a patch is unavailable for a zero-day vulnerability, the most effective compensating control is restricting network access and limiting system connectivity to reduce exploitation impact and lateral movement potential.

Q60 Hard

A penetration tester uses a tool to capture network traffic and discovers several unencrypted passwords transmitted across the organization's internal network. The IT department states that internal network communication does not need encryption because it is behind the firewall. What is the primary flaw in this security assumption?

  • A Encryption keys for internal networks are more expensive than external network encryption and should be avoided
  • B Internal networks are still vulnerable to insider threats, compromised systems, and lateral movement attacks regardless of firewall protection ✓ Correct
  • C The firewall hardware is not compatible with encrypted internal traffic and will cause performance degradation
  • D Employee privacy regulations require that all communications be encrypted only for external transmission to partners
Explanation

The assumption that internal networks are secure solely because of firewall protection ignores insider threats and compromised internal systems that can capture unencrypted credentials for lateral movement.

Q61 Hard

During threat modeling for a new application, a security team identifies that user session tokens are stored in browser local storage without httpOnly or Secure flags. What vulnerability does this create, and what is the primary attack vector?

  • A Cross-site scripting attacks enabling malicious scripts to access session tokens from local storage for session hijacking ✓ Correct
  • B Clickjacking attacks tricking users into revealing their session tokens through UI overlay manipulation
  • C Server-side request forgery allowing attackers to make unauthorized requests on behalf of the server
  • D Insecure deserialization allowing remote code execution through malformed session token objects
Explanation

Session tokens in local storage without httpOnly flag are accessible to JavaScript, making them vulnerable to XSS attacks where malicious scripts can steal tokens and hijack user sessions.

Q62 Medium

A security analyst reviews user access logs and observes that a contractor account has not been disabled 60 days after the contract end date, despite a policy requiring immediate access revocation. What is this finding primarily an example of?

  • A Insufficient encryption of access control list files requiring encryption algorithm upgrade
  • B A failure in access governance and lifecycle management controls allowing unauthorized persistent access ✓ Correct
  • C Evidence of privilege creep requiring immediate password reset for all contractor accounts
  • D Excessive privileged access that requires immediate escalation to the CISO
Explanation

Failing to revoke contractor access after contract termination demonstrates a breakdown in access lifecycle management and governance controls, creating risk of unauthorized access from former employees.

Ready to test your knowledge?

You've reviewed all 62 questions. Take the interactive practice exam to simulate the real test environment.

▶ Start Practice Exam — Free