A new e-commerce platform offers tiered discounts based on customer loyalty status and purchase total. The rules are: 'Bronze' members get 5% off on purchases over $50. 'Silver' members get 10% off on purchases over $75. 'Gold' members get 15% off on purchases over $100. Using equivalence partitioning, which set of test data represents the most effective approach for testing the 'Silver' member discount?
Answer and explanation
Correct answer: B
This is the correct application of equivalence partitioning. For a 'Silver' member, the two partitions are purchases up to $75 (no discount) and purchases over $75 (discount applies). Choosing one representative value from each partition ($65 and $85) is the most efficient way to test this logic using this technique.
Question 2
A test manager is leading a project that uses an Agile development methodology with two-week sprints. To effectively communicate progress to stakeholders, which set of metrics would be most valuable for the daily stand-up meetings and the end-of-sprint review?
Answer and explanation
Correct answer: C
This is the best choice for an Agile context. A burn-down chart provides a clear visual of progress against the sprint goal. Highlighting blocking issues and critical defects is crucial for the team to address impediments quickly, which is a key focus of daily stand-ups and sprint reviews.
Question 3
In a system built on a microservices architecture, one team is responsible for the 'User Authentication' service and another for the 'Order Processing' service. Testing that an authenticated user's token is correctly passed to and validated by the Order Processing service when an order is placed is an example of what test level?
Answer and explanation
Correct answer: B
This is a classic example of integration testing. It specifically focuses on testing the interface and interaction between two separate software components or services ('User Authentication' and 'Order Processing') to ensure they work together as expected.
Question 4
True or False: The 'pesticide paradox' testing principle suggests that if the same set of tests is repeated many times, it becomes increasingly effective at finding new defects.
Answer and explanation
Correct answer: B
This is correct. The pesticide paradox states that if the same tests are repeated over and over again, they will eventually no longer find new defects. To overcome this, test cases need to be regularly reviewed and revised, and new tests need to be written to exercise different parts of the software.
Question 5
Multiple answers
You are tasked with testing a new insurance premium calculation module. The calculation depends on the applicant's age (18-65), driving record (number of violations, 0-5), and vehicle type (Sedan, SUV, Truck). Which of the following test techniques would be MOST effective to ensure the complex business rules and combinations of conditions are thoroughly validated? (Select THREE)
Answer and explanation
Correct answers: A, B, C
Equivalence Partitioning is highly effective here for dividing the possible inputs into groups that are expected to be processed similarly. For example, ages 18-25 might be one partition, and 26-40 another. This helps achieve broad coverage efficiently.
Boundary Value Analysis is crucial for testing the edges of the numerical ranges, such as ages 18 and 65, and the number of violations (0 and 5). Errors often occur at these boundaries, making this technique essential.
Decision Table Testing is ideal for this scenario because it involves complex business rules based on combinations of different conditions (age, violations, vehicle type). This technique systematically covers all valid combinations of rules, ensuring no logic path is missed.
Question 6
A project team is analyzing their test process to identify inefficiencies. The test manager presents the following diagram showing the average time spent in each stage. Based on the diagram, where is the most significant bottleneck in the process that the team should investigate first?
flowchart LR
A[Test Planning: 2 days] --> B{Test Case Design: 5 days}
B --> C[Test Environment Setup: 8 days]
C --> D[Test Execution: 4 days]
D --> E[Defect Triage: 1 day]
E --> F[Test Reporting: 1 day]
Answer and explanation
Correct answer: C
According to the flowchart, Test Environment Setup takes 8 days, which is the longest duration of any stage in the process. This represents the most significant delay and is therefore the primary bottleneck that the team should focus on improving.
Question 7
During a formal review (inspection) of a requirements specification, the team is struggling to reach a consensus on the severity of several identified defects. The discussion becomes heated, and the author of the document becomes defensive. What is the primary responsibility of the moderator in this situation?
Answer and explanation
Correct answer: B
This accurately describes the key responsibilities of a moderator. Their primary function is to lead the review, maintain focus, ensure the process is followed, and mediate any conflicts to help the team reach a consensus in a professional and constructive manner.
Question 8
A project heavily invested in a test automation framework for regression testing. However, they neglected manual exploratory testing. What is the MOST significant risk of this approach?
Answer and explanation
Correct answer: D
This is the core risk. Automated tests are excellent at verifying known, expected behavior repeatedly. However, they can only check what they are programmed to check. Exploratory testing leverages human intelligence, curiosity, and domain knowledge to discover defects in unexpected scenarios that were not anticipated in the formal test scripts.
Question 9
A development team released a new software module that passed 100% of its automated functional tests. However, customer feedback indicates the module is difficult to navigate and does not solve their business problem efficiently. This situation is a clear example of which testing principle?
Answer and explanation
Correct answer: C
This principle directly addresses the scenario. It states that finding and fixing many defects does not guarantee success if the system built is unusable or does not fulfill the users' needs and expectations. The software may be functionally bug-free but still be the wrong product.
Question 10
Case Study: HealthFirst Patient Portal
A healthcare provider, HealthFirst, is developing a new patient portal. The portal will allow patients to view their medical records, schedule appointments, and communicate securely with their doctors. The project is subject to strict HIPAA regulations, which mandate the protection of sensitive patient health information (PHI). The target audience includes a wide range of users, many of whom are elderly and not tech-savvy. The system must also be highly responsive, with key pages loading in under two seconds.
The project manager has allocated a limited budget for the testing phase and needs to prioritize efforts to mitigate the most significant risks. Key features include a multi-factor authentication (MFA) login, a calendar for appointment booking with complex scheduling rules, and a secure messaging module. The portal will be accessed via web browsers on desktops and mobile devices.
Given the context of this project, which of the following represents the MOST effective and risk-oriented test strategy?
Answer and explanation
Correct answer: C
This is the most effective strategy. It directly addresses the highest risks identified in the case study: security (HIPAA), usability (elderly users), and performance (responsiveness). By prioritizing testing efforts based on these risks, the team can use its limited budget to make the biggest impact on quality and compliance, while still validating complex functional areas.