CTFL v4.0 Free Sample Questions

Description

Covers testing principles and why testing is necessary, test levels and types across the development lifecycle, static testing and reviews, and test tools.

20 free sample questions248 in the full practice test Other versions: CTFL_001(329),CTFL-2018(40)

Try simulator

CTFL-V4-0 Sample Questions

  1. Question 1

    Intermediate

    Testing Throughout the Software Development Lifecycle · 2.1.6 Retrospectives and Process Improvement

    A software development team is building a new mobile banking application. During a retrospective, the team notes that a significant number of defects are being found during system testing that relate to fundamental misunderstandings of the user requirements. Which of the following practices, if implemented, would be the MOST effective way to address the root cause of this issue in future sprints?

    Answer and explanation

    Correct answer: C

    This is the most effective solution as it directly addresses the root cause. By involving testers early in the process of refining user stories and defining acceptance criteria (a key aspect of the whole team approach and shift left), the team can build a shared understanding and clarify ambiguities before any code is written, thus preventing requirement-related defects.

  2. Question 2

    Intermediate

    Fundamentals of Testing · 1.5.3 Independence of Testing

    A project manager is concerned about the quality of a safety-critical avionics system. To minimize cognitive bias and ensure the most rigorous level of scrutiny, which level of test independence is MOST appropriate for system and acceptance testing?

    Answer and explanation

    Correct answer: D

    This represents the highest level of independence. For safety-critical systems like avionics, using an external entity for verification and validation is often a regulatory requirement. This approach ensures that the testers have no shared biases, assumptions, or organizational pressures, providing the most objective assessment of the software's quality and safety.

  3. Question 3

    Intermediate

    Test Analysis and Design · 4.4.3 Checklist-Based Testing

    A tester is using a checklist-based approach to evaluate a new e-commerce website. One of the items on the checklist is: 'Is the user interface responsive on mobile devices?' After finding several layout issues on a smartphone, the tester starts exploring other related but undocumented responsive design behaviors, such as how the site performs in landscape mode and on tablets. This evolution of testing approach is a natural transition from checklist-based testing to what other technique?

    Answer and explanation

    Correct answer: B

    Exploratory testing is characterized by simultaneous learning, test design, and test execution. The tester used the checklist as a starting point (a form of test charter) and then used the results and their own curiosity to explore unscripted areas of the application. This is a classic example of how structured and exploratory approaches can complement each other.

  4. Question 4

    Intermediate

    Managing the Test Activities · 5.2.3 Product Risk Analysis

    A test manager is creating a test plan for a project with a fixed deadline and a limited budget. The project involves integrating a new third-party payment gateway, which is identified as a high-risk component. Which test management activity is MOST influenced by this risk assessment?

    Answer and explanation

    Correct answer: C

    Product risk analysis directly influences the thoroughness and scope of testing. For a high-risk component, the test manager will prioritize its testing to occur earlier and be more intensive. This includes allocating the best resources (experienced testers) and focusing effort where the risk of failure is highest, which is a core principle of risk-based testing.

  5. Question 5

    BeginnerMultiple answers

    Fundamentals of Testing · 1.4.1 Test Activities and Tasks

    A testing team has just completed a full regression test cycle for a large enterprise resource planning (ERP) system. Which of the following work products would be created during the 'Test Completion' phase? (Select TWO).

    Answer and explanation

    Correct answers: A, C

    A test completion report (or test summary report) is a key deliverable of the test completion phase. It summarizes the results, provides an assessment of quality, and documents any deviations from the plan.

    Analyzing lessons learned and identifying improvements for future projects or iterations is a critical activity in the test completion phase. These are often documented as action items.

  6. Question 6

    Intermediate

    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?

    Answer and 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.

  7. Question 7

    Intermediate

    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?

    Answer and 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.

  8. Question 8

    Beginner

    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.

    Answer and 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.

  9. Question 9

    Intermediate

    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:2px

    Answer and 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.

  10. Question 10

    Beginner

    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?

    Answer and 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.

Register free for 10 more questions

Or unlock all 248 CTFL-V4-0 questions with explanations, timed mode and flashcards.