Courseiva

CCNA Fundamentals Of Testing Questions

31 questions · Fundamentals Of Testing topic · All types, answers revealed

1
MCQmedium

A tester finds a defect and reports it. During the bug fix, the developer accidentally introduces a new issue. What testing is required to catch this?

A.Confirmation testing.
B.Regression testing.
C.System testing.
D.Static testing.
AnswerB

Regression testing involves re-running existing tests to ensure that changes, such as bug fixes, have not adversely affected previously working features. It is the specific process designed to detect when a fix inadvertently introduces new defects or breaks existing functionality elsewhere in the system, maintaining overall application integrity.

Why this answer

Regression testing is necessary whenever changes are made to the code. Even if a bug fix seems isolated, it can have unintended consequences in other parts of the system. By performing regression testing, the team ensures that the fix did not break existing, previously working functionality.

This is a fundamental safeguard against the risks of code modification and is essential for maintaining system stability throughout the development process.

Exam trap

Candidates might choose confirmation testing alone, forgetting that modifying code for a bug fix can introduce unexpected side effects elsewhere.

2
MCQmedium

Which role is primarily responsible for ensuring that the test environment is correctly configured for the upcoming test execution phase?

A.The developer
B.The end user
C.The test manager
D.The business analyst
AnswerC

The test manager is responsible for ensuring that the necessary infrastructure and test environment are prepared and available for the testing team. They coordinate with IT or infrastructure teams to ensure that the environment reflects the requirements defined during the test planning phase for successful execution.

Why this answer

The test manager or the designated test lead is typically responsible for planning and coordinating the environment setup, but the task is often executed by a test environment coordinator or the test team. This responsibility is essential because an incorrectly configured environment is a major cause of false negatives, where tests fail not because of product defects, but due to setup issues. Managing this ensures stability and reliability during testing.

Exam trap

Candidates often select the test engineer or developer, assuming that because they perform the technical setup, they are ultimately responsible for the environment's readiness and configuration management.

3
MCQhard

Refer to the exhibit. Which testing activity is most appropriate to determine the root cause of these cascading failures?

A.Test execution.
B.Debugging.
C.Test monitoring.
D.Regression testing.
AnswerB

Debugging is specifically focused on identifying the underlying cause of a failure. By analyzing the time-stamped logs, developers and testers can trace the sequence of events leading to the crash. This process is distinct from testing, as it involves isolating the faulty code responsible for the observed system errors.

Why this answer

Debugging is the process of finding, analyzing, and removing the cause of failures in software. While testing identifies the failure, debugging identifies the source. In this scenario, the testers must correlate the logs to see if the payment module timeout triggered the connection pool exhaustion, ultimately leading to the kernel memory leak.

This logical analysis is essential for fixing underlying issues rather than just reporting the symptoms observed during testing.

Exam trap

Candidates often select 'Testing' or 'Regression Testing', failing to realize that finding the root cause of a failure is specifically the definition of the debugging process.

4
MCQhard

Refer to the exhibit. A tester observes these logs during a load test. How does this relate to the 'Testing shows the presence of defects' principle?

A.The test successfully proved that no other defects exist in the PaymentGateway.
B.The test confirms that the system is not capable of handling any production load.
C.The test identified a defect but does not guarantee the absence of other defects.
D.The test proved that the database latency caused the NullPointerException.
AnswerC

Finding a defect confirms the principle that testing shows the presence of bugs. However, it does not confirm the absence of others. The logs capture one failure instance; there could be memory leaks or race conditions occurring simultaneously that were not explicitly logged or triggered by this test run.

Why this answer

This exhibit demonstrates that testing reveals specific failure points under load. The defect (NullPointerException) was triggered by a specific condition (latency). This principle is crucial because it reminds us that while we can observe defects, we cannot state that other, non-triggered paths are error-free.

It highlights the importance of environmental monitoring and dynamic analysis in uncovering issues that only surface under stress, reinforcing the need for continuous, context-aware testing strategies.

Exam trap

Candidates incorrectly assume that passing a rigorous load test proves the software is entirely bug-free and will never fail in production.

5
MCQeasy

Which of the following is an example of 'static testing'?

A.Running unit tests against the codebase.
B.Conducting a formal review of a requirement specification.
C.Executing regression tests after a new patch.
D.Performing load testing to check system performance.
AnswerB

A formal review of a requirement specification is a classic example of static testing. Because the document is examined and discussed without executing any software, it allows the team to find errors in the logic or requirements that would otherwise lead to defects in the implementation.

Why this answer

Static testing involves examining documents or code without executing the software. This is an essential technique for finding defects at the earliest possible stage, often before any code is actually written. By reviewing requirements, designs, and source code, testers can identify logic errors, ambiguities, and inconsistencies, which significantly lowers the cost of remediation compared to finding these same issues during the dynamic testing phase of the development lifecycle.

Exam trap

Candidates often select 'running unit tests' as static testing because they confuse automated code execution with static analysis, which does not involve executing the code.

6
MCQmedium

Why does the ISTQB syllabus state that 'testing is context-dependent'?

A.Because all testing tools are designed for specific programming languages.
B.Because different applications require different testing approaches and rigors.
C.Because testers should always change their testing style to please stakeholders.
D.Because the number of testers available changes the test strategy.
AnswerB

Different projects have different levels of risk and compliance requirements. Testing a life-support system is fundamentally different from testing a social media app. The context-dependence principle mandates that testers must adapt their strategies, documentation levels, and intensity to match the project's unique needs, ensuring appropriate quality assurance for the domain.

Why this answer

Testing methods, tools, and processes must change based on the specific context of the project. A safety-critical medical system requires rigorous documentation and exhaustive testing, while a simple marketing website might prioritize speed and user experience over formal test artifacts. Recognizing this prevents the adoption of a one-size-fits-all approach, ensuring that test effort is tailored to the actual risks and goals of the software, thereby optimizing the return on testing investment.

Exam trap

Candidates often mistake context-dependency for 'testing is difficult' or 'testing requires many tools', missing the core point that the approach must vary based on project risk.

7
Multi-Selecthard

Which TWO of the following statements regarding the relationship between testing and debugging are correct?

Select 2 answers
A.Testing is performed by developers, while debugging is performed by testers.
B.Testing is the process of finding the root cause of a defect.
C.Testing identifies failures, whereas debugging removes the cause of the failure.
D.Debugging is a prerequisite for successful test execution.
E.Testing and debugging are both essential activities for software quality.
AnswersC, E

Testing is the systematic process of exercising the system to uncover failures. Once a failure is observed, the debugging process begins, where developers analyze the code to pinpoint the root cause and implement a fix, ensuring the system functions as intended and the failure is resolved.

Why this answer

Testing and debugging are distinct but complementary processes. Testing is the activity of executing software to identify failures, while debugging is the developer's process of finding, analyzing, and removing the root cause of those failures. Understanding this relationship is vital for project managers and testers to ensure that defects are not just detected but systematically resolved, thereby improving software quality and preventing the recurrence of similar issues in future versions.

Exam trap

Candidates often conflate testing and debugging, incorrectly assuming that finding failures is the same thing as analyzing and fixing their root causes.

8
MCQmedium

Why is 'debugging' considered a different activity than 'testing'?

A.Testing is performed by developers, while debugging is performed by testers.
B.Testing confirms the presence of defects, whereas debugging corrects the code.
C.Debugging is only required if the testing process was unsuccessful.
D.Testing and debugging are identical, just using different industry terminology.
AnswerB

Testing is the systematic search for failures to demonstrate the presence of defects. Debugging is the subsequent engineering activity of identifying the root cause within the source code and implementing a fix. Separating these ensures that testing remains objective and focused on quality verification rather than code modification.

Why this answer

Testing involves executing software to find defects, whereas debugging is the process of locating, analyzing, and removing those defects. While they are closely related in the development lifecycle, they require different skill sets and objectives. Testing focuses on validation and verification of the system's behavior, while debugging focuses on code correction.

Distinguishing these roles helps manage project expectations, as one is about discovery while the other is about resolution and fixing.

Exam trap

Candidates often treat testing and debugging as synonyms, failing to realize that testing is the discovery of failures while debugging is the technical act of fixing the root cause.

9
MCQmedium

When should the 'Test Planning' phase be revisited during a project?

A.Only when the testing phase is completely finished.
B.When significant changes occur to the project scope or requirements.
C.Only if a critical defect is discovered.
D.Never, as the test plan is a rigid document.
AnswerB

Changes to the project scope, requirements, or timeline are significant triggers that necessitate an update to the test plan. If these factors change, the original assumptions about resource needs and test coverage are likely invalid, and the plan must be adjusted to remain accurate and relevant.

Why this answer

Test planning is not a one-time event; it is an iterative process. It must be revisited whenever there are significant changes to the project scope, timeline, requirements, or test results that suggest the original plan is no longer valid. Keeping the plan current ensures that the testing effort remains aligned with the project's reality, preventing wasted effort on obsolete tasks and helping the team adapt to dynamic project environments effectively.

Exam trap

Students often believe test planning ends once the initial document is signed off, forgetting that planning is a continuous, iterative lifecycle activity.

10
MCQmedium

Which of the following activities is specifically a part of the test analysis process according to ISTQB terminology?

A.Creating test data
B.Determining test conditions
C.Executing test cases
D.Writing the test summary report
AnswerB

Determining test conditions is the primary outcome of the test analysis phase. Testers analyze the test basis to identify the features and functionality that need to be verified. This ensures that the testing efforts are focused on the most critical parts of the application according to requirements.

Why this answer

Test analysis involves determining 'what' to test, focusing on reviewing the test basis to identify testable features. During this phase, testers evaluate the requirement specifications or other project documents to derive test conditions. This step is critical as it bridges the gap between raw documentation and actionable test cases, ensuring that the test strategy remains aligned with the project's defined goals and scope throughout the testing lifecycle.

Exam trap

Candidates often confuse test analysis with test execution or test design, choosing concrete test case creation instead of identifying abstract test conditions.

11
MCQmedium

When should testing be started in the software development lifecycle?

A.Immediately after the code is fully implemented.
B.During the requirements analysis phase.
C.Once the build is ready for deployment.
D.When the QA team is fully staffed.
AnswerB

Starting testing activities during requirements analysis is the best practice. By analyzing requirements, testers can find ambiguity or logical errors before development even begins. This early detection saves time and money, and ensures that the requirements are testable and clear, which leads to higher-quality software and faster development cycles.

Why this answer

Testing should start as early as possible. Early involvement, such as reviewing requirements or design documents, allows testers to identify defects long before code is written. This is known as the 'shift-left' approach.

Starting early significantly reduces the cost of fixing defects, as it is much cheaper to correct a requirement error in a document than to fix a bug in the finished application after it has been fully implemented and integrated.

Exam trap

Many candidates assume testing starts when code is ready, ignoring the 'shift-left' principle which emphasizes that requirement reviews are a critical part of the testing process.

12
MCQhard

Which TWO of the following are examples of static testing?

A.Executing test cases on the system.
B.A technical review of a requirements document.
C.Using automated tools for static code analysis.
D.Running a performance load test.
E.Performing user acceptance testing.
AnswerB, C

A technical review is a form of static testing because it analyzes documentation to find defects in the requirements. This prevents errors from propagating into the design and code. By checking for clarity, consistency, and completeness early, the team avoids building the wrong feature and reduces costly rework down the line.

Why this answer

Static testing involves examining documents or code without executing the software. It allows for early defect detection, which is significantly cheaper than finding bugs during execution. Common static testing techniques include formal reviews, walkthroughs, and static analysis.

These activities help improve the quality of the requirements and the design before the coding phase begins, ultimately reducing the cost and effort of the entire software development lifecycle by preventing errors from being introduced into the codebase.

Exam trap

Candidates often select dynamic testing activities like component integration or user acceptance testing because they overlook the core definition of static testing as code or document review without execution.

13
MCQmedium

Which of the following best describes the 'Early Testing' principle in the context of the software development lifecycle?

A.Testing should start only after the code is fully compiled.
B.Test activities should begin during the requirements and design phases.
C.Testing must be completed before the development phase begins.
D.Early testing is only applicable in Waterfall development models.
AnswerB

Early testing emphasizes that testers should be involved in reviewing requirements and design documents before coding begins. This allows for the identification of inconsistencies, ambiguities, and errors at the earliest possible stage, which significantly reduces the cost and effort required to fix these defects later.

Why this answer

Early testing involves starting test activities as early as possible, such as reviewing requirements or design documents. This is crucial because it allows for the early detection and correction of defects, which are significantly cheaper to fix in these stages than during the implementation or release phases. It promotes proactive quality assurance and reduces the overall cost and risk of the project by preventing defects from propagating into downstream development activities.

Exam trap

Candidates frequently confuse early testing with 'early automation' or 'automated unit testing', failing to realize it primarily refers to reviewing requirements and design documents before implementation begins.

14
MCQmedium

A developer fixates on unit testing, claiming that since all logic paths are covered, the system is free of bugs. As a tester, how do you best challenge this perspective based on ISTQB principles?

A.Accept the code coverage metrics as sufficient proof of quality.
B.Explain that testing can only demonstrate the presence of defects, not their absence.
C.Suggest replacing unit tests with comprehensive system integration tests.
D.Advise the developer to perform manual exploratory testing instead.
AnswerB

This fundamental principle highlights that testing proves the existence of bugs rather than validating the total absence of them. Even exhaustive testing cannot guarantee a system is 100% defect-free, as environmental factors and latent logic errors often manifest only during actual usage, regardless of how thorough initial testing was performed.

Why this answer

Testing can show the presence of defects but cannot prove their absence. Even with 100% path coverage, the software might fail to meet user needs or miss requirements. This emphasizes that testing is context-dependent and requires a holistic view beyond mere code logic.

The tester's role is to identify risks that exist outside the developer's narrow focus, ensuring the system functions reliably in the intended production environment.

Exam trap

Candidates often argue that high coverage proves the system is bug-free, failing to recognize the principle that testing can show the presence of defects but never their total absence.

15
MCQeasy

What is the primary reason for performing 'regression testing' throughout the software development lifecycle?

A.To verify that new requirements are correctly implemented by the developers.
B.To ensure that changes have not adversely affected existing system features.
C.To improve the performance of the system under high user load.
D.To replace the need for unit testing on modified modules.
AnswerB

Regression testing specifically aims to identify defects introduced by changes. As code is modified, the risk of breaking existing features increases. Executing regression suites ensures that current stability is maintained, which is critical for preventing new code from causing regressions in previously stable and verified parts of the application.

Why this answer

Regression testing is vital because changes to software, such as bug fixes or feature additions, often introduce unintended side effects in previously working parts of the system. By re-executing tests, teams ensure that existing functionality remains intact. This practice is essential for maintaining software stability and confidence in the system, preventing the degradation of quality as the product evolves over time and becomes more complex.

Exam trap

Exam takers often confuse regression testing with confirmation testing, incorrectly thinking regression checks if a specific fixed bug is gone rather than ensuring existing features still work.

16
MCQeasy

A tester is working on a project where the requirements are vague and constantly changing. Which testing mindset is most beneficial here?

A.Rigidly following the initial test plan.
B.Waiting for final requirements before starting testing.
C.Maintaining a curious and collaborative mindset.
D.Focusing only on automated test scripts.
AnswerC

A curious and collaborative mindset allows testers to engage with developers and stakeholders to clarify ambiguity. This enables them to provide early feedback and adapt test cases as features evolve. This flexibility is vital in agile or volatile environments where the product scope is frequently adjusted by the business.

Why this answer

A collaborative and curious mindset is essential when requirements are unstable. Testing must adapt to changes, and testers need to communicate frequently with stakeholders to understand the shifting goals. This approach helps reduce the risk of building the wrong feature and ensures that testing efforts are focused on the most critical parts of the application, even when the underlying requirements are not clearly defined or documented.

Exam trap

Test-takers sometimes choose rigid, process-heavy mindsets when dealing with vague requirements, failing to realize that unstable environments demand high collaboration and adaptability.

17
Multi-Selecthard

Which THREE of the following are considered valid objectives of software testing?

Select 3 answers
A.To prevent defects by analyzing requirements and designs.
B.To guarantee that the software is 100% free of defects.
C.To gain confidence in the quality of the system.
D.To verify that all specified requirements are met.
E.To replace the need for code reviews by developers.
AnswersA, C, D

Static testing, such as reviewing requirements, is a powerful way to identify ambiguities or missing features before they are built. This proactive approach prevents defects from being introduced into the code, which is a fundamental and high-value objective of modern software testing practices.

Why this answer

Testing is not just about finding bugs; it serves multiple strategic objectives. These include validating that the system meets user needs, preventing defects through early involvement, building confidence in the product's quality, and providing stakeholders with the information necessary to make informed project decisions. Understanding these objectives helps testers align their daily work with the broader goals of quality assurance rather than just focusing on defect detection as a isolated task.

Exam trap

Candidates mistakenly believe testing is solely focused on finding bugs, overlooking strategic objectives like preventing defects early and building overall confidence in software quality.

18
MCQmedium

During the test completion phase, what is the most important document to produce for the stakeholders?

A.Test case specification
B.Test summary report
C.Test plan
D.Requirements traceability matrix
AnswerB

The test summary report is the essential document created during test completion. It summarizes the testing performed, the status of defects, and the overall assessment of the system quality against the exit criteria. It is the primary means of communicating the final testing status to key stakeholders.

Why this answer

The test summary report is the final output of the testing process. It consolidates all testing activities, outcomes, and metrics into a single document that stakeholders can use to assess the software's readiness for production. This report provides transparency, documents the quality level achieved, and captures lessons learned, which is essential for project accountability and continuous improvement within the testing process across the organizational lifecycle.

Exam trap

Students frequently choose 'Defect Report' or 'Test Plan', forgetting that the summary report is the high-level document required for stakeholders to make final release decisions.

19
MCQmedium

Which of the following is a primary objective of testing?

A.To guarantee that the software is bug-free.
B.To find as many bugs as possible.
C.To provide information about the system's quality.
D.To automate as many test cases as possible.
AnswerC

Testing provides data and evidence regarding how well the software performs against expectations. This information enables stakeholders to make informed decisions about whether the system is ready for release, what risks remain, and where further development or maintenance effort should be directed to ensure long-term stability and success.

Why this answer

The primary objective of testing is to gain confidence in the quality of the system and provide information for decision-making. By finding defects and verifying features, testers help stakeholders understand the risks associated with the software before it is released. This information is critical for business decisions regarding launch readiness, risk mitigation, and the overall reliability of the system as it moves from development to production environments.

Exam trap

Candidates often fall into the trap of thinking testing can prove a system is entirely bug-free, misunderstanding that testing's goal is to provide quality information and reduce risk.

20
MCQmedium

Which of the following describes the 'pesticide paradox' in software testing?

A.Testers find fewer bugs as they spend more time on a module.
B.Repeating the same test cases will eventually stop finding new defects.
C.Automated tests are less effective than manual tests.
D.Testing becomes more expensive over time.
AnswerB

The pesticide paradox states that if the same tests are executed repeatedly, they will stop finding new defects. To find more bugs, existing tests need to be updated, and new, different tests need to be added to the suite to maintain test effectiveness throughout the software development lifecycle.

Why this answer

The pesticide paradox explains that repeatedly running the same tests will eventually lead to those tests failing to find new bugs, as the software becomes 'immune' to them. This is why testers must regularly review and update their test suites. By introducing new test cases and techniques, testers ensure that the test suite remains effective at identifying defects that were previously missed by existing, static test coverage strategies.

Exam trap

Test-takers frequently confuse the pesticide paradox with defect clustering, wrongly assuming that finding many bugs in one module means the same thing as tests losing their effectiveness over time.

21
MCQmedium

Which of the following describes the 'Pesticide Paradox' in the context of software testing?

A.Automated tests always find more defects than manual tests over time.
B.Repeating the same test cases will eventually stop finding new bugs.
C.Testing becomes more expensive as the software grows in size.
D.Developers will stop fixing bugs if they are found too frequently.
AnswerB

The Pesticide Paradox states that if tests are not reviewed and updated, they eventually stop uncovering new defects because the system logic covered by those tests is already verified. New defects often lie in areas not covered by existing tests, requiring the development of new, varied test scenarios.

Why this answer

The Pesticide Paradox occurs when the same set of test cases is repeatedly executed, eventually becoming ineffective at finding new defects because the software becomes 'immune' to them. This happens because the existing tests only exercise known paths. To remain effective, testers must periodically update and create new, diverse test cases to uncover different types of failures that were not addressed by the original, repetitive testing suite.

Exam trap

Candidates sometimes confuse this with 'testing is context-dependent' or 'absence of errors fallacy', failing to recognize the specific phenomenon of test repetition leading to reduced effectiveness.

22
MCQhard

A software project has a high cost of failure. Which testing approach should the test manager prioritize to minimize risk?

A.Exhaustive testing of all features.
B.Risk-based testing.
C.Testing only the UI components.
D.Automated regression testing only.
AnswerB

Risk-based testing uses the project's risk profile to prioritize test cases. By focusing testing on high-risk areas—those where failure is likely or where the impact is severe—the team can maximize the effectiveness of their testing effort, providing the greatest value and protection for the business and the end-users.

Why this answer

In high-risk projects, risk-based testing is the most effective strategy. By identifying the most critical features and the areas most likely to fail, testers can allocate their limited time and resources to the areas that matter most. This ensures that the most severe defects are caught early, reducing the overall business impact and project risk.

This prioritization is central to effective test management in professional settings.

Exam trap

Candidates often select 'exhaustive testing' or 'full regression testing' as a way to minimize risk, ignoring that these are practically impossible and ineffective strategies for high-risk projects.

23
MCQmedium

What is the primary benefit of performing 'confirmation testing' after a defect has been fixed?

A.To find new, unrelated defects in the system.
B.To ensure the specific defect is resolved as expected.
C.To estimate the time required for future test cycles.
D.To test the system's performance under heavy load.
AnswerB

The sole purpose of confirmation testing is to verify that the original failure reported by the test is no longer occurring. This gives the team confidence that the fix implemented by the developer successfully addresses the identified problem and meets the expected behavior specified in the requirements.

Why this answer

Confirmation testing is essential to verify that the fix actually resolved the reported failure and that no further issues were introduced by the fix itself. This ensures the defect is truly closed and the system behaves as expected. Without this step, teams risk assuming a fix works when it may have been incomplete or unsuccessful, leading to wasted time and increased frustration when the same issue is discovered again in production.

Exam trap

Candidates often confuse confirmation testing with regression testing, incorrectly believing it is meant to check the whole system rather than specifically verifying the fix for a known defect.

24
MCQmedium

Which role is primarily responsible for ensuring that the testing strategy aligns with the business goals?

A.The developer.
B.The test analyst.
C.The test manager.
D.The end user.
AnswerC

The test manager defines the strategy, manages resources, and aligns testing with project objectives. They ensure that the testing effort supports the business, providing stakeholders with clear insights into system quality and risk. This strategic oversight is essential to ensure that testing efforts are efficient, effective, and appropriately prioritized.

Why this answer

The test manager is responsible for planning, monitoring, and controlling the testing project. This includes aligning the testing strategy with business needs, such as risk appetite and time-to-market. By bridging the gap between technical testing activities and business objectives, the test manager ensures that testing provides maximum value to the organization.

They also manage resources and communicate testing status to stakeholders, ensuring that everyone is aware of the quality levels achieved.

Exam trap

Many students attribute high-level strategic alignment tasks to individual testers or developers instead of recognizing the overarching managerial responsibilities.

25
MCQmedium

A project manager argues that testing is too expensive and suggests skipping the test planning phase to start coding immediately. Which ISTQB principle best counters this argument?

A.Defect clustering suggests that testing is only needed for one module.
B.Early testing reduces the cost of fixing defects found later in the lifecycle.
C.Testing is context-dependent, so planning is unnecessary for small projects.
D.Exhaustive testing is impossible, so planning only wastes time.
AnswerB

The 'early testing' principle highlights that finding bugs during requirements or design is significantly cheaper than finding them during production. Early planning allows for static testing, which identifies issues before a single line of code is written, drastically reducing the overall cost of quality for the entire project.

Why this answer

Testing is most cost-effective when planned early. The 'early testing' principle states that testing activities should begin as soon as possible. Skipping planning leads to reactive, disorganized testing that misses critical defects, ultimately costing far more to fix after release.

By planning, testers prioritize high-risk areas, ensuring that resources are focused on the parts of the system most likely to fail, thereby maximizing the return on investment for testing efforts.

Exam trap

Candidates may choose 'Testing is context-dependent' or 'Testing shows the presence of defects', missing the specific link between planning and the cost-reduction benefit of early testing.

26
MCQeasy

What is the primary purpose of 'regression testing'?

A.To verify the new functionality is working as expected.
B.To test the system against non-functional requirements.
C.To confirm that changes have not adversely affected existing features.
D.To perform exhaustive testing of all code paths.
AnswerC

The specific goal of regression testing is to confirm that modifications to the software, such as bug fixes or new feature additions, have not caused failures in parts of the application that were previously working correctly, thus preserving the overall integrity of the system.

Why this answer

Regression testing is performed to ensure that new code changes or fixes have not inadvertently introduced or uncovered defects in existing, previously working functionality. As software evolves, it is common for changes in one area to cause failures elsewhere. This testing is crucial in all development lifecycles to maintain system stability and ensure that the quality of the existing product is not compromised by new additions or updates.

Exam trap

Candidates often incorrectly believe regression testing is meant to find new bugs in new features, rather than verifying that existing, previously working features remain functional after changes.

27
MCQhard

Refer to the exhibit. A tester is validating this security policy. Which activity represents 'validation'?

A.Checking if the code correctly parses the JSON file.
B.Verifying that the password length is exactly 12 characters.
C.Testing if the policy effectively prevents unauthorized access.
D.Running a syntax check on the JSON configuration file.
AnswerC

Testing whether the policy effectively prevents unauthorized access is a validation activity. It evaluates whether the system fulfills the user's goal of security. If the policy is implemented correctly but fails to secure the system, it is a validation failure, even if the system is built correctly.

Why this answer

Validation confirms that the system meets user needs. By checking if the security policy actually protects the user's data and meets business security goals (e.g., does it actually prevent unauthorized access?), the tester is performing validation. This is distinct from verification, which would simply check if the code implements the JSON values as written without considering the broader business impact or the effectiveness of the security controls in a real environment.

Exam trap

Candidates frequently confuse verification with validation, mistakenly picking code-checking tasks instead of activities that measure whether the system satisfies actual user needs and business goals.

28
MCQeasy

Which of these is a 'test basis'?

A.The list of identified defects.
B.The source code of the application.
C.Business requirement specifications.
D.The test execution report.
AnswerC

Business requirement specifications define what the system must do to support business goals. These are a primary test basis, as they allow testers to understand the expected behavior and design tests that verify the system meets these needs. Every test case should ideally be traceable back to a requirement.

Why this answer

A test basis is the documentation used as the foundation for identifying test conditions. It includes everything from requirements and design documents to business processes and user stories. Without a clear test basis, it is impossible to know what the system is supposed to do, making it impossible to write meaningful test cases.

Testers use this basis to trace their tests back to specific requirements to ensure complete coverage.

Exam trap

Candidates often confuse a 'test basis' with actual test cases or execution results, failing to recognize that it refers specifically to the upstream source documentation used to derive test conditions.

29
MCQmedium

What is the primary difference between verification and validation in the context of testing?

A.Verification is for developers, validation is for testers.
B.Verification checks specifications; validation checks user needs.
C.Validation is done early; verification is done late.
D.Verification is testing; validation is debugging.
AnswerB

Verification is concerned with confirming that the product matches the requirements and design specifications. Validation is concerned with ensuring that the product satisfies the user's requirements and needs in the real-world operational environment. Both processes are crucial for confirming that the final software is both correct and useful.

Why this answer

Verification asks 'Did we build the system right?' by checking if the software meets the specifications. Validation asks 'Did we build the right system?' by checking if it meets user needs. Both are essential: verification ensures internal consistency and adherence to requirements, while validation ensures the software provides real value to the end user.

Combining both ensures the software is both technically sound and fit for its intended business purpose.

Exam trap

Candidates frequently invert verification and validation, mixing up whether building the system right corresponds to specifications or actual user operational needs.

30
MCQeasy

Which of the following is a key characteristic of the 'whole-team' approach to testing in Agile environments?

A.Testers work in isolation to ensure objective and unbiased results.
B.Testing is considered a shared responsibility across the entire team.
C.Developers do not need to write tests, as the tester handles all validation.
D.Documentation is eliminated entirely to save time for writing code.
AnswerB

The whole-team approach promotes collective ownership of quality. When developers, testers, and business stakeholders work together, they identify risks earlier and resolve issues faster. This shared responsibility ensures that the quality strategy is integrated into the development process rather than being an afterthought performed by a separate group.

Why this answer

In a whole-team approach, quality is a shared responsibility, not just the tester's job. Developers, testers, and business analysts collaborate throughout the process, from planning to deployment. This reduces silos, improves communication, and ensures that quality is considered at every step.

By involving everyone, the team leverages diverse perspectives, leading to faster identification of issues and a more robust, user-focused end product that satisfies all stakeholder expectations effectively.

Exam trap

Candidates often believe the whole-team approach means everyone performs the same tasks, rather than understanding it as a shared responsibility for quality outcomes across different roles.

31
MCQmedium

A QA lead at a medical device software company is asked by an auditor to demonstrate that their process provides confidence the product meets regulatory requirements. The lead's team follows defined test design techniques, tracks coverage metrics, and reviews results against entry and exit criteria. A colleague argues that because testers never build the software, testing cannot contribute to quality. How should the lead explain testing's relationship to quality assurance in this regulated context?

A.Quality assurance is a subset of testing, since the only meaningful way to assure quality is to execute test cases and log defects until the defect count reaches zero.
B.Testing is entirely separate from quality assurance, and testers should not be involved in reviewing requirements, designing processes, or defining standards because that would compromise their independence.
C.Testing and quality assurance are the same activity, so demonstrating test results is sufficient evidence that the development process itself is compliant.
D.Testing is a form of quality control that measures product quality, while quality assurance is process-oriented and includes activities such as defining test processes and standards.
AnswerD

Testing is a quality control activity that evaluates the work product against expectations, whereas quality assurance focuses on the process used to build it. In this medical device scenario, the lead's defined techniques, coverage metrics, and criteria are process-level QA elements, and the test execution results are QC evidence. The two are complementary, not mutually exclusive, so the colleague's premise misreads the distinction.

Why this answer

Testing is a quality control activity that evaluates work products, while quality assurance is concerned with the processes that produce them. In a regulated environment, defining test design techniques, coverage criteria, and entry/exit criteria are process-level quality assurance contributions, and executing tests against them produces quality control evidence. The lead should present both as complementary, since process definition and product measurement together give the auditor confidence.

Exam trap

The trap here is assuming that finding and fixing defects is the same as assuring quality, which confuses quality control results with process-level quality assurance.

Ready to test yourself?

Try a timed practice session using only Fundamentals Of Testing questions.