Home / ISTQB Certified Tester - Security Testing (CT-SEC) / Mock exam
ISTQB Certified Tester - Security Testing (CT-SEC) Exam-style mock test

ISTQB Security Testing (CT-SEC) Practice Exams|Practice test

Full explanations Exam format Pass line 65%
33 USD One-time · lifetime access
Enroll →

Sample questions

Example1 · Security Testing Fundamentals & Context
A B2B SaaS company that handles tenant billing data is defining the primary goal of its new security testing programme. Which statement best describes the fundamental purpose of security testing in this context?
・To verify that every functional requirement in the billing module behaves exactly as described in the signed-off specification documents
Incorrect. Verifying functional behaviour against the specification is the goal of functional testing, not of security testing, which focuses on protection of assets.
✓To assess whether security controls protect the confidentiality, integrity and availability of assets against identified threats
Correct. Security testing evaluates whether controls adequately protect confidentiality, integrity and availability of assets against the threats the organization faces.
・To guarantee that the billing platform can never be successfully compromised by any external or internal attacker
Incorrect. Security testing reduces risk and provides assurance, but it can never guarantee that a system is impossible to compromise.
・To measure the response time of the billing API endpoints under peak concurrent tenant load conditions
Incorrect. Measuring endpoint response time under load is a performance testing objective, which is unrelated to protecting assets from threats.
Explanation
The fundamental purpose of security testing is to provide assurance that security controls protect the confidentiality, integrity and availability of assets against relevant threats, rather than to prove absolute invulnerability or to validate functional or performance behaviour.
Example2 · Security Risks & Threat Analysis
A B2B SaaS invoicing platform stores customer billing records and payment tokens in a managed database. While preparing a security risk analysis, a tester is categorizing the elements that the assessment must reference. How should the stored billing records and payment tokens be classified in this analysis?
・As vulnerabilities, because they can be exploited by attackers to gain unauthorized access to the database engine
Incorrect. A vulnerability is a weakness that can be exploited; the data itself is not a weakness but the thing attackers want to reach through weaknesses.
・As threats, since any sensitive data that an attacker could pursue inherently represents a hostile action against the platform
Incorrect. A threat is a potential cause of an unwanted incident or the actor behind it, not the valuable data being targeted.
✓As assets, because they hold value to the organization and warrant protection from compromise
Correct. Assets are items of value to the organization that need protection, and stored billing records and payment tokens clearly qualify.
・As countermeasures, given that the database already applies encryption and access controls to the records
Incorrect. Countermeasures are controls that reduce risk; the data being protected is the asset, not the control.
Explanation
In threat analysis, assets are the valuable items requiring protection, distinct from threats (potential causes of harm) and vulnerabilities (exploitable weaknesses).
Example3 · Security Test Techniques & Design
A security tester at a B2B SaaS invoicing company must confirm that the running production-like deployment has no known-vulnerable library versions or missing patches, without reviewing source code or disrupting live traffic. Which security test technique best fits this objective?
・Static application security testing performed against the full source repository and third-party dependency trees
Incorrect. Static application security testing inspects source code and dependencies but requires repository access and does not exercise the running, deployed system as the objective demands.
✓Vulnerability scanning of the deployed, running system against a database of known weaknesses
Correct. Vulnerability scanning probes the deployed running system and compares findings against a known-vulnerability database, matching version and patch gaps without source access or disruption.
・Manual secure code review focused on authentication and session-handling routines in the codebase
Incorrect. Manual secure code review needs source access and targets logic flaws, not the identification of outdated library versions on the live deployment.
・Fuzzing the exposed REST endpoints with large volumes of malformed and randomized input payloads
Incorrect. Fuzzing stresses input handling to find crashes or unexpected behavior and can disturb live traffic, which does not meet the non-disruptive patch-verification objective.
Explanation
Confirming known-vulnerable versions and missing patches on a running system is the defining purpose of vulnerability scanning, which operates without source code and against a known-weakness database.
Example4 · Testing Security Mechanisms
A healthcare services firm's patient portal lets clinicians log in with only a username and password over a session that never times out. A security tester is asked to strengthen the login mechanism against credential theft and shared-workstation misuse. Which recommendation most directly improves the authentication mechanism against these specific threats?
✓Add multi-factor authentication and enforce an inactivity-based session timeout on the portal
Correct. MFA counters stolen-credential reuse and an inactivity timeout mitigates shared-workstation misuse, so both named threats are addressed at the authentication layer.
・Encrypt the stored patient database records using a strong symmetric cipher and rotated keys
Incorrect. Encrypting stored records protects data confidentiality at rest but does nothing to strengthen the login mechanism against credential theft or shared-workstation use.
・Deploy a network intrusion detection sensor that inspects traffic flowing to the portal servers
Incorrect. An intrusion detection sensor can flag suspicious traffic but it does not harden the authentication mechanism itself against stolen credentials or idle sessions.
・Introduce a web application firewall that filters malformed requests sent to the login page
Incorrect. A web application firewall filters malicious input patterns, yet valid stolen credentials and idle authenticated sessions pass through as legitimate traffic.
Explanation
Testing authentication mechanisms focuses on verifying how identity is proven and how sessions are governed; MFA plus session timeout directly targets credential theft and shared-workstation misuse.
Example5 · Security Test Tools, Reporting & Process
A healthcare services firm wants to automatically crawl its patient-portal web application while it is running in the test environment, sending crafted requests to find reflected input-handling flaws without access to the source code. Which category of security test tool is the most appropriate choice for this need?
・A static application security testing tool that parses the portal's source files for insecure coding patterns
Incorrect. Static analysis examines source or byte code at rest and cannot exercise the running application by sending crafted live requests.
✓A dynamic application security testing tool that probes the running portal through its exposed web interface
Correct. A dynamic application security testing tool interacts with the running application over its exposed interface and sends crafted requests, matching the need to test without source code.
・A software composition analysis tool that inventories the third-party libraries bundled into the portal build
Incorrect. Software composition analysis focuses on identifying known-vulnerable dependencies, not on probing the live application's input handling.
・A password-cracking tool that attempts to recover portal account credentials from captured hash values
Incorrect. A password cracker targets credential recovery from hashes and does not crawl the running portal for input-handling flaws.
Explanation
Testing a running application through its interface without source access is the defining use case for dynamic application security testing (DAST).
Example6 · Security Testing Fundamentals & Context
A healthcare services firm stores patient diagnoses and treatment histories in a web portal. During a review, the test lead states that the primary security goal under threat is that unauthorized staff must never be able to read these records. Which information security objective is the test lead primarily protecting?
・Integrity, ensuring the diagnoses and histories cannot be altered in transit or at rest by any unauthorized party
Incorrect. Integrity concerns preventing unauthorized modification of data, not preventing unauthorized reading of it.
✓Confidentiality, ensuring patient records are disclosed only to individuals who are properly authorized
Correct. Confidentiality is the objective of restricting disclosure of information to authorized individuals, which matches protecting records from being read by unauthorized staff.
・Availability, ensuring that authorized clinicians can retrieve the records whenever they are needed
Incorrect. Availability concerns timely access by authorized users, not preventing unauthorized disclosure.
・Non-repudiation, ensuring a clinician cannot later deny having accessed a particular record
Incorrect. Non-repudiation concerns proof of actions so they cannot be denied, not restriction of who may read data.
Explanation
Preventing unauthorized reading of sensitive data is the definition of confidentiality, one of the core CIA information security goals.
Example7 · Security Testing Fundamentals & Context
At retailer NordMart, the functional test team confirms the checkout flow correctly calculates totals and applies discounts under expected inputs. The security lead argues that a separate security testing effort is still required for the same checkout feature. Which statement best explains how the security testing goal differs from the functional testing already performed?
・Security testing verifies that totals and discount rules continue to produce correct results when valid inputs are supplied across many browsers and devices
Incorrect. Confirming correct results for valid inputs across platforms describes functional and compatibility testing, not the adversarial intent central to security testing.
✓Security testing evaluates how the checkout behaves when a malicious actor deliberately supplies crafted input to misuse the feature or access protected assets
Correct. Security testing specifically examines behaviour under deliberate misuse by an attacker, aiming to protect assets, which is distinct from verifying expected functional behaviour.
・Security testing measures whether the checkout responds within agreed time limits when many shoppers submit orders during a peak sales campaign
Incorrect. Measuring response time under load is a performance testing concern and does not address protection of assets against malicious actors.
・Security testing checks that the checkout screens follow the brand style guide and remain usable for shoppers who rely on assistive technology
Incorrect. Checking brand styling and accessibility relates to usability testing rather than defending the feature against intentional attacks.
Explanation
Security testing is differentiated by its focus on how a system behaves when an attacker intentionally tries to misuse it and compromise protected assets, as opposed to functional, performance, or usability goals.
Example8 · Security Testing Fundamentals & Context
NordMart stores shopper payment card details in a database. A tester notes that the database connection string with its password is written in plaintext inside a configuration file deployed to the web servers. In security terminology, how should this plaintext credential be classified?
・It is a threat, because an external criminal group is actively attempting to break into the NordMart payment systems
Incorrect. A threat is a potential cause of an unwanted incident, such as the external group; the stored credential itself is a weakness, not the threat agent.
✓It is a vulnerability, because the weakness in how the credential is stored could be exploited to gain access to the asset
Correct. A vulnerability is a weakness that can be exploited by a threat; storing the credential in plaintext is exactly such an exploitable weakness.
・It is an asset, because the payment card data it ultimately protects has clear value to the retailer and its shoppers
Incorrect. The payment card data is the asset; the plaintext credential is the flaw in protecting that asset, not the asset itself.
・It is an attack, because the credential is being used to access the database during normal processing
Incorrect. An attack is an attempt to exploit a weakness; legitimate use of the credential during processing is not an attack.
Explanation
A vulnerability is a weakness that can be exploited by a threat to harm an asset; the plaintext credential is a storage weakness, making it a vulnerability rather than the asset, threat, or an attack.
Example9 · Security Testing Fundamentals & Context
During a review of NordMart's loyalty platform, a tester finds that a shopper can edit the hidden quantity field in a request and change the points balance of another member's account. Which security objective is most directly violated by this finding?
・Confidentiality, because the unauthorized party is able to view loyalty information that belongs to a different member of the programme
Incorrect. Confidentiality concerns unauthorized disclosure of data; here the issue is unauthorized change of data, not merely viewing it.
✓Integrity, because unauthorized modification alters loyalty data so that it no longer reflects its correct and intended value
Correct. Integrity is about preventing unauthorized or improper modification of data; altering another member's points balance breaks the integrity objective.
・Availability, because the loyalty platform becomes unreachable for members who are trying to redeem their accumulated points
Incorrect. Availability relates to the system being accessible when needed; nothing in the scenario indicates the platform is unreachable.
・Non-repudiation, because the member can later deny having submitted the request that changed the balance
Incorrect. Non-repudiation concerns the ability to prove who performed an action; the described flaw is improper modification of data, which is an integrity issue.
Explanation
Unauthorized modification of data that changes it from its correct value is a breach of integrity, one of the core confidentiality, integrity, and availability objectives that guide security testing.
Example10 · Security Testing Fundamentals & Context
A retail bank is launching a mobile payment feature and asks its test team to explain the primary aim of security testing for the release. Which statement best describes the fundamental purpose of security testing in this context?
・To confirm that the payment feature loads screens quickly and remains responsive under the peak transaction volumes expected during month-end salary deposits
Incorrect. Responsiveness under peak load is a performance testing concern, not the core aim of security testing.
✓To identify weaknesses that could let an attacker violate the confidentiality, integrity, or availability of the bank's assets and customer data
Correct. Security testing aims to reveal weaknesses that could allow attackers to compromise confidentiality, integrity, or availability of assets.
・To verify that every functional requirement in the payment specification has been implemented exactly as the business analysts documented it
Incorrect. Confirming functional implementation against the specification is the goal of functional testing, not security testing.
・To ensure the user interface of the payment feature conforms to the bank's branding and accessibility standards across devices
Incorrect. Branding and accessibility conformance is a usability and UI concern, unrelated to the purpose of security testing.
Explanation
Security testing's fundamental aim is to uncover vulnerabilities that could enable an attacker to breach the confidentiality, integrity, or availability of an organization's assets, distinguishing it from performance, functional, and usability testing.
Example11 · Security Testing Fundamentals & Context
At a financial services firm, a flaw lets an attacker alter the account balance figures shown in generated statements without authorization. Which element of information security is primarily compromised by this flaw?
・Availability, because customers might find that the statement generation service becomes unreachable during periods of very high demand
Incorrect. Availability concerns access to data and services, but the described flaw changes data rather than blocking access.
・Confidentiality, because unauthorized individuals may be able to view the private balance details belonging to other customers
Incorrect. Confidentiality concerns unauthorized disclosure, whereas here the data is being modified, not merely read.
✓Integrity, because the accuracy and trustworthiness of the account data in the statements has been undermined
Correct. Integrity ensures data accuracy and trustworthiness, which is exactly what unauthorized alteration of balances undermines.
・Non-repudiation, because a customer could later deny having initiated a transaction that appears on the altered statement
Incorrect. Non-repudiation concerns proof of actions taken, not the unauthorized modification of balance figures.
Explanation
Unauthorized modification of data compromises integrity, the element of information security that ensures data remains accurate and trustworthy and is not altered by unauthorized parties.
Example12 · Security Testing Fundamentals & Context
A manufacturing distributor runs an online ordering portal for its wholesale buyers. The test manager is drafting the primary aim of the new security testing effort for this portal. Which statement best describes the central aim of security testing in this situation?
✓To evaluate whether the portal preserves confidentiality, integrity, and availability of order data against identified threats
Correct. Security testing aims to assess whether security properties such as confidentiality, integrity, and availability are preserved against the threats that apply to the asset.
・To measure the response time of the portal under peak order submission load from many wholesale buyers
Incorrect. Measuring response time under load is the aim of performance testing, not security testing.
・To verify the ordering workflow matches the agreed business rules for discounts and stock levels
Incorrect. Verifying the workflow against business rules for discounts and stock is functional testing, not security testing.
・To confirm the portal screens render correctly across the browsers that buyers commonly use
Incorrect. Confirming correct rendering across browsers is compatibility testing and is unrelated to the security aim.
Explanation
The core aim of security testing is to determine whether security attributes (confidentiality, integrity, availability and related properties) hold against relevant threats, distinguishing it from performance, functional, and compatibility testing.
Example13 · Security Testing Fundamentals & Context
The distributor's QA lead reviews a test plan covering both functional tests and security tests for the warehouse management system. A colleague asks what fundamentally separates the security tests from the functional tests in the plan. Which answer is most accurate?
✓Security tests check that the system blocks unintended or malicious behaviour, whereas functional tests check intended behaviour works correctly
Correct. Security testing focuses on how a system resists unintended and malicious use, in contrast to functional testing which confirms intended behaviour operates as specified.
・Security tests are always executed manually by specialists, whereas functional tests are always fully automated by the delivery team
Incorrect. Security tests can be automated and functional tests can be manual; execution method is not the distinguishing factor.
・Security tests only apply to externally facing systems, whereas functional tests apply to internal systems
Incorrect. Security testing applies to internal systems too, so facing direction does not define the difference.
・Security tests are only run after release, whereas functional tests are run before release
Incorrect. Both security and functional testing can occur before and after release; timing does not define the distinction.
Explanation
Security testing is distinguished by its focus on resistance to unintended and malicious behaviour, while functional testing confirms that specified intended behaviour works; neither automation, system location, nor timing is the defining difference.
Example14 · Security Testing Fundamentals & Context
A national telecom operator is establishing a security testing programme for its customer self-service portal. The security lead wants to articulate the primary purpose of security testing to executives who confuse it with functional testing. Which statement best describes the primary purpose of security testing in this context?
・To confirm that each customer-facing feature behaves correctly and produces the outputs expected by the business requirements
Incorrect. Confirming that features produce the outputs expected by business requirements describes functional testing, which focuses on correctness of behaviour rather than protection against threats.
✓To assess whether the security controls protecting the portal adequately reduce risk to an acceptable level for the organization
Correct. Security testing exists to evaluate whether controls reduce security risk to an acceptable level, giving stakeholders confidence that assets are adequately protected.
・To measure the response time and throughput of the portal under peak subscriber load during billing cycles
Incorrect. Measuring response time and throughput under peak load is the goal of performance testing, not security testing.
・To verify that the portal's screens render consistently across the browsers and mobile devices used by subscribers
Incorrect. Verifying consistent rendering across browsers and devices is a compatibility concern and is unrelated to assessing security risk.
Explanation
The central purpose of security testing is to determine whether security controls reduce risk to an acceptable level, distinguishing it from functional, performance, and compatibility testing.
Example15 · Security Testing Fundamentals & Context
During a workshop at the telecom operator, an engineer notes that the SIM-activation API lacks input validation and that criminals are known to attempt fraudulent activations. The team must classify these two facts correctly. Which classification of the unvalidated input and the criminal intent is correct?
・The unvalidated input is a threat agent and the criminal intent is the attack surface exposed by the activation endpoint
Incorrect. A threat agent is the actor, and attack surface is the set of exposed entry points; neither term fits an unvalidated input weakness.
✓The unvalidated input is a vulnerability and the criminal intent represents a threat against the activation service
Correct. The missing input validation is a vulnerability (a weakness that can be exploited), and the criminals' intent to misuse it constitutes a threat.
・The unvalidated input is an attack and the criminal intent is the residual risk remaining after controls are applied
Incorrect. An attack is the act of exploiting a vulnerability, not the weakness itself, and criminal intent is not residual risk.
・The unvalidated input is a countermeasure and the criminal intent is a security control weakness
Incorrect. A countermeasure is a protective control; an unvalidated input is a weakness rather than a protection, so this classification is reversed.
Explanation
A vulnerability is a weakness, a threat is a potential cause of harm, and an attack is the realization of a threat exploiting a vulnerability; the input flaw is the vulnerability and the criminal intent is the threat.
▶ Try 10 free questions (graded)
Measure your readiness with a full mock exam
All questions · full explanations · lifetime access
Enroll(33 USD)