




























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





























































































Question 1. In the ALM life‑cycle, which phase is primarily responsible for defining functional and non‑functional requirements? A) Development B) Design C) Requirements D) Maintenance Answer: C Explanation: The Requirements phase captures business needs, functional specifications, and non‑functional constraints before any design or coding begins. Question 2. Which testing activity corresponds to the “Verification” side of the V‑Model? A) User Acceptance Testing B) System Testing C) Integration Testing D) Unit Testing Answer: D Explanation: Verification ensures each component is built correctly; Unit Testing validates individual code units, aligning with the left side of the V‑Model. Question 3. In an Agile sprint, the practice of executing automated regression tests early in the development cycle is known as: A) Shifting right
B) Continuous Deployment C) Shifting left D) Test‑driven development Answer: C Explanation: “Shifting left” means moving testing activities earlier (to the left) in the lifecycle to catch defects sooner. Question 4. Which metric best indicates the effectiveness of a defect‑prevention process? A) Defect density B) Test coverage C) Defect leakage D) Mean time to repair (MTTR) Answer: C Explanation: Defect leakage measures defects that escaped earlier testing phases, reflecting how well prevention worked. Question 5. Which testing level is primarily the responsibility of developers rather than the test team? A) System Testing B) Integration Testing C) Unit Testing D) Acceptance Testing
Question 8. WCAG 2.1 Level AA compliance is most closely associated with which testing type? A) Performance testing B) Security testing C) Usability testing D) Accessibility testing Answer: D Explanation: WCAG (Web Content Accessibility Guidelines) defines standards for making web content accessible, which is verified through accessibility testing. Question 9. When deciding between selective and full regression testing, which factor is most critical? A) Number of test cases in the suite B) Availability of test data C) Impact of recent code changes D) Test environment hardware specs Answer: C Explanation: The scope of recent changes determines which parts of the application may be affected, guiding selective versus full regression. Question 10. A test strategy document should NOT typically contain: A) Detailed test case steps B) Scope and objectives
C) Exit criteria D) Resource and environment needs Answer: A Explanation: Detailed test case steps belong in the test design/specification, not in the high‑level strategy document. Question 11. In risk‑based testing, which factor has the greatest influence on test prioritization? A) Test case execution time B) Defect severity and likelihood C) Number of test environments available D) Tester experience level Answer: B Explanation: Risk‑based testing focuses on areas with high impact (severity) and high probability (likelihood) of defects. Question 12. Wideband Delphi is primarily used for: A) Automated test script generation B) Estimating test effort through expert consensus C) Measuring code coverage D) Managing test data Answer: B
Question 15. Equivalence partitioning helps reduce the number of test cases by: A) Testing only the boundary values B) Grouping inputs that should be treated similarly by the system C) Creating decision tables for all combinations D) Using state transition diagrams for every module Answer: B Explanation: Inputs that fall into the same equivalence class are expected to produce similar behavior, so one representative test is sufficient. Question 16. Boundary value analysis is most effective when applied to: A) Boolean logic conditions B) Numeric input ranges C) User interface layout testing D) Security role permissions Answer: B Explanation: Testing values at, just below, and just above the limits of numeric ranges uncovers edge‑case defects. Question 17. Decision table testing is particularly useful for: A) Simple linear workflows B) Complex business rules with multiple conditions and actions
C) Performance benchmarking D) UI layout verification Answer: B Explanation: Decision tables map combinations of conditions to expected actions, handling complex rule sets efficiently. Question 18. State transition testing is essential when a system: A) Has a static data model B) Performs calculations without user interaction C) Changes behavior based on its current state D) Uses a single login screen only Answer: C Explanation: State transition testing validates that the system moves correctly between defined states. Question 19. Use case testing primarily focuses on: A) Verifying individual methods in code B) Validating end‑to‑end business scenarios C) Measuring response time under load D) Scanning for security vulnerabilities Answer: B
Question 22. Which of the following is a characteristic of a “golden” test environment? A) It is shared across all teams simultaneously B. It mirrors production in hardware, software, and data C. It is refreshed daily with random data D. It runs only automated tests Answer: B Explanation: A golden environment is a stable replica of production, used for high‑fidelity testing. Question 23. Test coverage analysis that measures “branch coverage” ensures that: A. Every line of code is executed at least once B. All possible outcomes of each decision point are exercised C. All functional requirements have tests D. All UI screens are displayed during testing Answer: B Explanation: Branch coverage verifies that each true/false path of conditional statements is taken. Question 24. Statement coverage is considered the minimum level of code coverage because: A. It guarantees detection of all logical errors
B. It only checks that each line of code runs at least once C. It measures execution of all possible input combinations D. It includes performance metrics Answer: B Explanation: Statement coverage ensures each executable line runs, but does not guarantee all decision outcomes are tested. Question 25. Which metric is most useful for assessing the stability of a test suite over multiple releases? A. Defect density B. Test case pass rate trend C. Mean time between failures (MTBF) of the application D. Number of automated scripts Answer: B Explanation: Tracking pass rate trends shows whether the suite is becoming more flaky or stable across releases. Question 26. In defect lifecycle terminology, what does the state “Deferred” indicate? A. The defect is being actively worked on B. The defect cannot be reproduced C. The defect is postponed for future fixing D. The defect has been verified as fixed
Question 29. An exit criterion that requires “no critical defects (severity 1) remaining” is an example of: A. A test design technique B. A quality gate C. A defect lifecycle stage D. A test environment configuration Answer: B Explanation: Exit criteria are quality gates that must be satisfied before moving to the next phase. Question 30. Smoke testing performed after a production deployment primarily aims to: A. Validate full functional coverage B. Measure performance under peak load C. Verify that the most critical functionalities are operational D. Conduct security penetration tests Answer: C Explanation: Smoke testing quickly checks that core features work, confirming a successful deployment. Question 31. In a typical ALM tool, which module stores the linkage between test cases and defects?
A. Requirements Management B. Test Execution Tracking C. Defect Tracking D. Release Management Answer: C Explanation: The Defect Tracking module records which test case uncovered each defect, maintaining the linkage. Question 32. Which integration point is essential for triggering automated UI tests after each code commit? A. Requirement traceability matrix B. Continuous Integration server (e.g., Jenkins) C. Test data management repository D. Release notes generator Answer: B Explanation: CI servers monitor code commits and can initiate automated test suites automatically. Question 33. Custom fields in an ALM tool are most often used to: A. Reduce the number of test cases B. Capture organization‑specific metadata (e.g., regulatory compliance ID) C. Replace the need for a defect lifecycle
Question 36. Data‑Driven frameworks are especially useful when: A. Test steps change frequently B. The same test logic must run with multiple data sets C. The application has a single UI flow D. Tests need to be written in multiple programming languages Answer: B Explanation: Data‑Driven frameworks separate data from scripts, allowing the same test to iterate over many input combinations. Question 37. In CI/CD pipelines, the term “shift‑left” is most closely associated with: A. Deploying to production earlier B. Running automated tests earlier in the build process C. Delaying performance testing until after release D. Using feature flags to hide incomplete functionality Answer: B Explanation: Shifting left means moving testing activities earlier (into the CI stage) to detect defects sooner. Question 38. Which of the following ensures that test results from automated runs are visible to all stakeholders in a central ALM tool? A. Manual entry of results after each run
B. Publishing results via the tool’s REST API or plugin integration C. Sending email attachments of log files D. Storing results only on the local test server Answer: B Explanation: Automated publishing through API or plugins updates the ALM repository directly, providing centralized visibility. Question 39. In the context of performance testing, “think time” refers to: A. The time a server spends processing a request B. The pause a virtual user takes between actions to simulate real user behavior C. The duration of the entire test run D. The time needed to generate test data Answer: B Explanation: Think time models realistic user pacing, improving the accuracy of load simulations. Question 40. Which security testing technique focuses on evaluating the application’s resistance to injection attacks? A. Fuzz testing B. Static code analysis C. Penetration testing using OWASP Top 10 D. Compliance scanning
Question 43. When using the Function Point Analysis (FPA) technique for effort estimation, which factor is NOT directly considered? A. Number of external inputs B. Complexity of user interface controls C. Number of internal logical files D. Degree of developer experience Answer: D Explanation: FPA quantifies functional size; developer experience is an external factor, not part of the calculation. Question 44. Which of the following best describes “test data refresh”? A. Re‑generating test scripts after a code change B. Updating the test environment’s data to a known baseline state C. Archiving old test results for compliance D. Automating defect creation from failed tests Answer: B Explanation: Refreshing ensures that test data reflects a consistent, known state for repeatable execution. Question 45. The primary purpose of a “sanity check” after a new build is to: A. Validate full end‑to‑end functionality B. Confirm that critical features work before deeper testing
C. Measure system performance under load D. Conduct a security audit of the build Answer: B Explanation: Sanity testing quickly verifies that major functions are stable enough for comprehensive testing. Question 46. In a test automation repository, “flaky tests” are typically caused by: A. Well‑written, deterministic scripts B. External dependencies like time‑outs or network latency C. High test coverage percentages D. Use of data‑driven approach Answer: B Explanation: Flakiness arises from nondeterministic factors such as timing issues, making test results unreliable. Question 47. Which ALM tool feature helps ensure that every requirement has at least one associated test case? A. Defect severity matrix B. Requirement coverage report C. Automated code review D. Build number tracking Answer: B