CTFL-V4-0 Sample Questions & Answers
Test analysis and design, with black-box and white-box techniques, takes the biggest slice, close to managing test activities like planning and risk, plus guiding principles for why testing matters, lifecycle test levels and types, static reviews, and tool support.
Launch the full CTFL-V4-0 simulator →Showing 10 of 20 free samples.
- Question 1Intermediate
Fundamentals of Testing · 1.2.3 Errors, Defects, Failures, and Root Causes
A medical records system incorrectly calculates a patient's age, causing it to display as 25 instead of 52. This leads a doctor to prescribe an incorrect dosage of a medication. In this scenario, what does the incorrect dosage represent?
Show answer & explanation
Correct answer: C
A failure is the manifestation of a defect during execution. The system displaying the wrong age (25 instead of 52) is the failure. The incorrect dosage is a direct, real-world consequence of this software failure.
- Question 2Intermediate
Test Analysis and Design · 4.2.3 Decision Table Testing
You are testing an online shopping cart's discount functionality. The rule is: 'A 10% discount is applied for orders over $100. A 15% discount is applied for orders over $200. A 20% discount is applied for VIP members on any order over $50.' Which test technique is most suitable for systematically testing these overlapping business rules?
Show answer & explanation
Correct answer: C
Decision table testing is specifically designed to handle complex business rules with multiple combinations of conditions (order amount, VIP status) and their corresponding actions (discount percentage). It provides a systematic way to ensure all valid combinations are identified and tested.
- Question 3Beginner
Testing Throughout the Software Development Lifecycle · 2.1.4 DevOps and Testing
True or False: In a DevOps environment utilizing a CI/CD pipeline, manual testing is completely eliminated in favor of fully automated testing.
Show answer & explanation
Correct answer: B
Although DevOps promotes a high level of test automation, manual testing techniques like exploratory testing and usability testing remain crucial for evaluating the user experience and finding defects that automated scripts may miss. Automation is excellent for regression and repetitive checks, but human critical thinking is still needed.
- Question 4Intermediate
Managing the Test Activities · 5.1.6 Test Pyramid
An agile team is using the test pyramid model to guide their test automation strategy. Where in the pyramid would tests that verify the interaction and data transfer between two microservices typically reside?
graph TD A[UI Tests] --> B[Service/API Tests]; B --> C[Unit Tests]; style A fill:#f9f,stroke:#333,stroke-width:2px style B fill:#ccf,stroke:#333,stroke-width:2px style C fill:#cfc,stroke:#333,stroke-width:2pxShow answer & explanation
Correct answer: B
The middle layer of the pyramid is for service-level or API tests, which includes component integration testing. Testing the contract and interaction between two microservices is a perfect example of this. These tests are faster and more stable than UI tests and allow for focused testing of integration points without the overhead of the UI.
- Question 5Beginner
Managing the Test Activities · 5.5.1 Defect Management
A tester logs the following defect: 'The application crashes when I click the Save button.' The developer rejects the defect, stating it is not reproducible. Upon review, the tester realizes they omitted key information. Which of the following pieces of information are MOST critical to add to the defect report to ensure reproducibility?
Show answer & explanation
Correct answer: C
Defects are often specific to a particular environment, configuration, or set of data. Providing precise details about the test environment (OS, browser, device) and the exact data entered before the crash is crucial for the developer to replicate the exact conditions that led to the failure.
- Question 6Intermediate
Static Testing · 3.1.3 Differences between Static Testing and Dynamic Testing
During a formal review of a requirements specification for a financial calculation module, which of the following findings is a typical defect that would be identified by static testing but NOT by dynamic testing?
Show answer & explanation
Correct answer: C
This is an example of an ambiguous and untestable requirement. Static testing (specifically, a review) is the ideal method for finding such defects in documentation. You cannot dynamically test 'fast' without a specific, measurable criterion (e.g., 'responds within 2 seconds'). Dynamic testing can measure performance, but it cannot identify that the requirement itself is flawed.
- Question 7Beginner
Testing Throughout the Software Development Lifecycle · Maintenance Testing
A new version of an operating system is being released. A test team is tasked with ensuring that existing applications that worked on the old version still work on the new one. What type of testing is primarily being performed?
Show answer & explanation
Correct answer: C
This is a classic example of maintenance testing, specifically triggered by a migration or upgrade of the operational environment (the operating system). This type of testing involves extensive regression testing to ensure that the change in the environment has not adversely affected the existing applications.
- Question 8Advanced
Test Analysis and Design · 4.2.2 Boundary Value Analysis
A new feature in a social media application allows users to select a privacy level for their posts: 'Public', 'Friends Only', or 'Private'. Using 2-value boundary value analysis on this ordered, discrete set of options, which values would be tested?
Show answer & explanation
Correct answer: B
In an ordered set of discrete values, the 'boundaries' are the first and last valid values. 2-value BVA tests the boundary value itself and its immediate neighbor in the adjacent partition. For discrete sets, this simplifies to testing the first and last elements ('Public', 'Private') and their neighbors. However, since there are no invalid partitions defined adjacent to 'Public' and 'Private', the most practical application of BVA is to test the minimum and maximum valid values themselves.
- Question 9Intermediate
Managing the Test Activities · 5.2.4 Product Risk Control
A project is nearing its release date, but several low-severity defects remain open. The project manager decides to release the software without fixing them, accepting the potential consequences. This decision is an example of which activity?
Show answer & explanation
Correct answer: D
Risk acceptance is a product risk control strategy where a conscious decision is made to accept the risk without taking further action to mitigate it. By releasing the software with known, low-severity defects, the project manager and stakeholders are accepting the residual risk associated with those defects.
- Question 10Intermediate
Test Analysis and Design · 4.2.4 State Transition Testing
A team is testing a university enrollment system. The system's behavior changes based on the student's status, which can be 'Applicant', 'Admitted', 'Enrolled', 'Withdrawn', or 'Graduated'. An action like 'Pay Tuition' is only valid for an 'Enrolled' student and would be invalid for an 'Applicant'. Which test technique would be most effective for designing tests to cover these scenarios?
Show answer & explanation
Correct answer: C
This scenario is a classic application of state transition testing. The system has a finite number of well-defined states ('Applicant', 'Enrolled', etc.), and events (e.g., 'Pay Tuition') cause transitions between these states. This technique allows testers to model this behavior and systematically test valid and invalid transitions.
Ready for the real thing?
The full CTFL-V4-0 simulator has every exam-style question, timed mode, and instant scoring.