Question 1
Topic: 1 Learning Objectives for Fundamentals of Testing
Skill tested: Distinguishes an error, a defect, a failure, and a defect's root cause.
A team investigates an outage in an online booking system. A developer misunderstood a requirement that stated bookings close at midnight local time and instead coded a UTC cutoff. This mistake introduced a defect. On the first day after a daylight-saving change, customers in one region could not submit valid bookings, producing a visible failure. The investigation also finds that the requirement had never been reviewed with regional business representatives. Which statement best distinguishes the root cause from the failure in this scenario?
The developer's misunderstanding is the human action that led to the defect, so it is the root cause. The defect is the incorrect cutoff logic in the software. Its observable effect during operation - the rejected valid bookings - is a failure. The missing stakeholder review is a process condition that may have contributed to the misunderstanding, but it is not the failure. The daylight-saving change exposed the problem; it did not itself constitute the software failure.