ISTQB CT-SEC Practice Questions with Explanations

Free ISTQB CT-SEC practice questions. 10 of them, each with the correct answer, a full explanation, and the reason every other option is wrong.

CT-SEC practice questions

Question 1

Scenario:You are a member of a test team that is responsible for performing system testing and supporting user acceptance testing. The application being tested has reached the exit criteria in both test levels. The application has been deployed in the pre-production environment, where it has been observed that the database administrator is unable to access the database objects.Question:In the above scenario, which ONE of the following attributes of the test environment is missing?

  • A. Isolated
  • B. Complete
  • C. Restorable
  • D. Testable
Show answer and explanation ▾

Correct answer: B

A complete test environment contains every component and access path the system needs, including the access a database administrator uses. The administrator being locked out of the database objects shows something the environment should provide is missing.

Why the other options are wrong:

  • A. Isolated means separated from other systems; the problem here is missing access, not interference.
  • C. Restorable is about returning the environment to a known state, which is not the issue described.
  • D. Testable is about being able to observe and test the system; the fault here is an absent access capability.

Question 2

Sophie is analyzing the security requirements of user stories to ensure that the security-related aspects of the users' needs have been adequately covered. She is also defining the most workable approach to develop the application in a secure way.In which stage of the software development life cycle should this activity be performed?

  • A. Requirement
  • B. Design
  • C. Implementation
  • D. System Testing
Show answer and explanation ▾

Correct answer: A

Analyzing user stories and the security needs behind them is requirements work. Deciding at that point how to build the application securely lets security be planned in from the start.

Why the other options are wrong:

  • B. Design turns agreed requirements into an architecture; the analysis of user stories comes earlier.
  • C. Implementation is writing the code, long after requirements are analyzed.
  • D. System testing checks the finished system and is too late for this activity.

Question 3

Which ONE of the following security vulnerabilities can be identified through structural testing during component testing?

  • A. Vulnerabilities due to interactions between components, with other systems and with organizational elements.
  • B. Malicious code inserted by an internal employee or contractor.
  • C. Vulnerabilities due to non-compliance with specified security requirements.
  • D. Security vulnerabilities that are detected by introducing massive amounts of synthetic data, according to a specific systematic pattern, into the component or system being tested.
Show answer and explanation ▾

Correct answer: B

Structural testing examines the code of a single component. Reading and analyzing that code can reveal malicious code that an insider has planted, which black-box methods would not see.

Why the other options are wrong:

  • A. Problems from interactions between components and other systems show up in integration and system testing.
  • C. Non-compliance with specified requirements is found by requirements-based, specification testing.
  • D. Feeding large volumes of synthetic data in a pattern describes fuzz testing, not structural testing.

Question 4

Scenario:At “Happy Wrench Plumbing”, an administrator (admin) manages clients and other users and is able to edit their personal details in the application by accessing the URL: http://www.abcxyz.com/editusers.It is necessary to test if non-admin users can perform this above-mentioned functionality.Question:Which ONE of the following options

CORRECTLY corresponds to the security testing type that is necessary to achieve this goal?

  • A. Authentication
  • B. Authorization
  • C. Access validation
  • D. User experience
Show answer and explanation ▾

Correct answer: B

The goal is to check whether users without admin rights can use an admin-only function. That is authorization testing: confirming that each user can do only what their role permits.

Why the other options are wrong:

  • A. Authentication checks who the user is, not what the user is allowed to do.
  • C. Access validation is not the named security testing type for checking role permissions.
  • D. User experience testing looks at usability, not permissions.

Question 5

Annie is creating a fake email id to present herself as the CTO of a company. She is also using social media, instant messaging, and SMS to trick some potential victims into providing sensitive information.Which ONE of the following attacks is she planning?

  • A. Tailgating
  • B. Eavesdropping
  • C. Social engineering attack
  • D. Fake cryptography
Show answer and explanation ▾

Correct answer: C

Posing as a senior person and using email, social media and messages to trick people into giving up sensitive information is social engineering, which targets people rather than systems.

Why the other options are wrong:

  • A. Tailgating is physically following someone into a secured area.
  • B. Eavesdropping is secretly listening to or capturing communications, not tricking people.
  • D. Fake cryptography is not what impersonating an executive to extract information describes.

Question 6

A firewall has been implemented so that communications can be filtered according to users being the connections and data according to pattern descriptions.What type of access restriction product or mechanism is described above?

  • A. Network filtering
  • B. Web application firewall
  • C. Port filtering
  • D. Resource filtering
Show answer and explanation ▾

Correct answer: B

Web application firewalls go beyond filtering on addresses, ports and protocol options: they also filter communication based on the users behind the connections and filter data using pattern descriptions, which is exactly the mechanism described.

Why the other options are wrong:

  • A. Network filtering works on source and target addresses and protocols, not on users or data patterns.
  • C. Port filtering restricts traffic by TCP or UDP port, not by users or data patterns.
  • D. Resource filtering is not the firewall type that filters on users and data pattern descriptions.

Question 7

Security risk assessment is used to prioritize the security risks in order to align the tests with business security objectives.Which ONE of the following options will lead to a misalignment between the business security objectives and the tests?

  • A. Consistantly informing the stakeholders that may be impacted by security threats.
  • B. Taking into account the potential threats to the organization's security.
  • C. Applying the principle that security threats are independent of the asset.
  • D. Taking into account the likelihood of the occurrence of a given security threat.
Show answer and explanation ▾

Correct answer: C

Prioritizing tests by a security risk assessment aligns them with business security objectives only when the assessment reflects the organization's threats, the impacted stakeholders and the assets to be protected. Treating threats as independent of the asset ignores the assets and breaks that alignment.

Why the other options are wrong:

  • A. Involving the stakeholders impacted by security threats supports alignment with business security objectives.
  • B. Considering the organization's security threats is required for the assessment to support alignment.
  • D. Likelihood of occurrence is one of the two factors used to determine security risk, so it supports alignment.

Question 8

Background:The organization you work for develops a secure electronic document transmission system. You are part of the security test team. In particular, you are responsible for evaluating the tests at the component level.Scenario:The component you evaluate is responsible for one of the mechanisms used to validate the identity of the electronic document source. The source is validated with a variable length string that is generated each time the source of a document requests its transmission to a destination.The chain has the following characteristics:• Minimum length: 6 characters• Maximum length: 12 characters• Special characters allowed: @ # $ & % ? !• Numerical values from 0 to 9• Alphabetic values: all letters of the English alphabet• A chain:- must begin with a lowercase letter-must contain at least one uppercase letter-must contain at least two different special characters-must contain at least two numeric charactersThe following strings, between others, have been used for input data in the various component test cycles:String -1. aA#@5a2. aB#@53. aB#@564. aB#@5675. abCd?!gH48kl6. abcd?!gh48kl7. abCd?!gH48klm8. bbBb?!bB48bb9. abCd?!gH489klm10. bbBb?!B48bbQuestion:Which ONE of the following sets of input values allows 100% coverage of two boundary values for the length of the string?

  • A. {aB#@5, aB#@56, bbBb?!B48bb, abCd?!gH48klm}
  • B. {aB#@5, aB#@56, bbBb?!bB48bb, abCd?!gH48klm}
  • C. {aB#@56, aB#@567, bbBb?!bB48bb, abCd?!gH48klm}
  • D. {aB#@5, aB#@567, bbBb?!bB48bb, abCd?!gH489klm}
Show answer and explanation ▾

Correct answer: B

The valid length range is 6 to 12 characters. Two-value boundary value analysis needs each boundary and its closest neighbor in the adjacent partition: lengths 5, 6, 12 and 13. Only this set holds strings of exactly those lengths.

Why the other options are wrong:

  • A. bbBb?!B48bb has 11 characters, so the upper boundary of 12 is not covered.
  • C. No string has 5 characters, so the invalid neighbor of the lower boundary is missing.
  • D. Lengths 7 and 14 are not boundary values, so the boundaries 6 and 12 and the value 13 are missing.

Question 9

An organization has a security policy in place for the protection of its digital and physical assets. The policy also includes offsite storage on tape and backup on cloud. The security testing objectives do not cover offsite storage.Which ONE of the following arguments regarding this situation is VALID?

  • A. Not covering off-site storage as a test objective may be a valid decision if the data stored on tapes is classified as non-sensitive digital and physical asset.
  • B. Not covering off-site storage as a test objective is a valid decision as off-site storage is typically secret and unknown to hackers.
  • C. Not covering off-site storage as a test objective is a valid decision because the data stored on tapes is generally low importance and hence can be treated out of scope.
  • D. Not covering off-site storage as a test objective is a valid decision because off-site storage is physically secured.
Show answer and explanation ▾

Correct answer: A

Security test objectives relate directly to specific assets and the protections in place for sensitive assets, and the greater the need to protect sensitive assets, the greater the coverage needed. Leaving off-site storage out can be valid only if the data held there is not sensitive.

Why the other options are wrong:

  • B. Assuming off-site storage is secret and unknown to attackers is not a valid basis for leaving it untested.
  • C. Backup tapes can hold sensitive customer data, so they cannot be assumed to be of low importance.
  • D. Physical security alone does not justify leaving an asset out of the security test objectives.

Question 10

Which ONE of the following aspects should NOT be considered when setting up the return on investment (ROI) calculation for any open source tool?

  • A. How much time it takes to install, configure and understand the tool.
  • B. The support availability.
  • C. The scope and customization of the features and functionality.
  • D. The cost of the tool.
Show answer and explanation ▾

Correct answer: D

Open source tools can often be obtained for free, so the ROI calculation focuses on other aspects: the limited scope of the tool, the time to learn, administer and configure it, upgrade effort, the tool's future direction and the responsiveness of its support community.

Why the other options are wrong:

  • A. The time to learn to administer, configure and use the tool is an aspect to consider in the ROI calculation.
  • B. The responsiveness of the support community is an aspect to consider in the ROI calculation.
  • C. The scope of the tool's functionality is an aspect to consider in the ROI calculation.

That was 10 of 45.

The full ISTQB CT-SEC pack has all 45 questions, each with the answer, the explanation and why the other options are wrong, plus a questions-only copy for timed runs. $39.00 USD, paid once, with free monthly updates and a pass-or-your-money-back guarantee.

Get the full pack

Not ready yet? Get the first 10 free as one PDF by email. Get the Half Pack →

About the CT-SEC exam

These 10 ISTQB CT-SEC questions are free here, and as a free PDF by email.

They are drawn from the same bank as the full CT-SEC pack, which has 45 questions in total.

Back to blog