Certified Tester Model-Based Tester Free Sample Questions

Description

Covers model-based testing objectives and lifecycle integration, modeling activities and languages, classifying and applying test selection criteria, and evaluating an MBT deployment.

20 free sample questions230 in the full practice test

Try simulator

CT-MBT Sample Questions

  1. Question 1

    Intermediate

    Introduction to Model-Based Testing · Objectives and Motivations for MBT

    A project manager is considering adopting Model-Based Testing (MBT) for a complex financial transaction system. The system undergoes frequent regulatory updates requiring logic changes, but the user interface remains relatively stable. Which benefit of MBT is MOST relevant to this specific context regarding the maintenance of the test suite?

    Answer and explanation

    Correct answer: D

    One of the primary benefits of MBT is reduced maintenance effort. When system behavior (logic) changes, only the model needs to be updated. The test cases (abstract and concrete) can then be automatically regenerated, ensuring the test suite stays synchronized with requirements.

  2. Question 2

    Beginner

    MBT Test Implementation and Execution · Activities of Test Adaptation in MBT

    True or False: In a Model-Based Testing approach, the 'Test Adaptation Layer' is responsible for converting concrete test results back into abstract test results for comparison against the model's expected behavior.

    Answer and explanation

    Correct answer: A

    This is True. The adaptation layer works bi-directionally. It concretizes abstract test inputs to drive the SUT, and it abstracts concrete SUT outputs back to the model level to compare against the oracle (expected abstract results).

  3. Question 3

    Beginner

    Selection Criteria for Test Case Generation · Classification of MBT Test Selection Criteria

    You are designing an MBT model for a vending machine. The machine has states like 'Idle', 'Selecting', 'Paying', and 'Dispensing'. You want to ensure your test suite covers every possible transition between states at least once. Which graph-based coverage criterion should you select?

    Answer and explanation

    Correct answer: C

    All-Transitions Coverage ensures that every transition in the state model is traversed at least once by the generated test cases. This is a stronger criterion than All-States, which only requires visiting every state.

  4. Question 4

    Beginner

    MBT Modeling · MBT Modeling Activities

    Which of the following activities is primarily part of the 'MBT Modeling' phase rather than the 'Test Implementation' phase?

    Answer and explanation

    Correct answer: C

    Formalizing requirements into a model (like a state transition diagram) is the core activity of the MBT Modeling phase. The other options relate to implementation (adaptation layer) or execution.

  5. Question 5

    Intermediate

    MBT Modeling · Languages for MBT Models

    You are tasked with modeling a complex loan approval workflow where the focus is on the sequence of business activities and decision points rather than the system's internal states. Which modeling notation is MOST appropriate?

    Answer and explanation

    Correct answer: B

    BPMN is specifically designed for workflow modeling, emphasizing the sequence of activities, gateways (decisions), and flow of business processes. Statecharts focus on the object/system lifecycle states, which is less suitable for a process flow.

  6. Question 6

    Intermediate

    MBT Test Implementation and Execution · Specifics of MBT Test Implementation and Execution

    In the context of MBT, what is the primary purpose of an 'Abstract Test Case'?

    Answer and explanation

    Correct answer: D

    An abstract test case is a path through the model (sequence of inputs/expected outputs) expressed in the model's terminology. It lacks the low-level details (like specific button IDs or API endpoints) needed for execution, making it implementation-independent.

  7. Question 7

    IntermediateMultiple answers

    Evaluating and Deploying an MBT Approach · Manage and Monitor the Deployment of an MBT Approach

    Select TWO common pitfalls when deploying an MBT approach in an organization.

    Answer and explanation

    Correct answers: C, D

    A major pitfall is expecting immediate ROI. Building the initial models and adaptation layer requires significant upfront effort and new skills, often leading to disappointment if expectations aren't managed.

    Trying to 'boil the ocean' by modeling everything at once usually leads to complexity overload and failure. Successful deployments typically start with a small, manageable pilot.

  8. Question 8

    Advanced

    Selection Criteria for Test Case Generation · Classification of MBT Test Selection Criteria

    Which coverage criterion is considered the 'strongest' (most rigorous) among the following options for a state transition model?

    Answer and explanation

    Correct answer: D

    N-Switch coverage requires traversing sequences of N+1 transitions. Even a 1-Switch coverage (pairs of transitions) is stronger than All-Transitions (which is essentially 0-Switch). It detects defects related to history/sequence, not just single steps.

  9. Question 9

    Beginner

    MBT Test Implementation and Execution · Activities of Test Adaptation in MBT

    A team is using MBT for a web application. They have generated abstract test cases from the model. What is the correct term for the software component that bridges the gap between these abstract test cases and the concrete interface of the System Under Test (SUT)?

    Answer and explanation

    Correct answer: A

    The Test Adapter is the specific component responsible for translating abstract commands (e.g., 'Login') into concrete SUT actions (e.g., 'POST /api/login with user=X').

  10. Question 10

    Intermediate

    MBT Modeling · Languages for MBT Models

    Review the following State Transition diagram for a Document Approval System.

    Which sequence of events represents a valid path from 'Draft' to 'Published'?

    Answer and explanation

    Correct answer: C

    According to the diagram, the flow is Draft --(submit)--> Review --(approve)--> Approved --(publish)--> Published. This matches the sequence 'submit -> approve -> publish'.

Register free for 10 more questions

Or unlock all 230 CT-MBT questions with explanations, timed mode and flashcards.