10/246 questions · Unlock full access
Q1

You are a Technical Test Analyst reviewing a C++ module for an industrial control system that manages a chemical mixing process. The system is rated at IEC 61508 SIL 2. You encounter the following code snippet: ```cpp void process_batch(float temperature, int pressure, bool valve_open) { if ((temperature > 150.0f && pressure < 500) || valve_open) { // Initiate emergency shutdown } // ... normal processing } ``` Given the SIL 2 rating, what is the MOST appropriate white-box coverage target for this specific 'if' statement, and what is the minimum number of test cases required to achieve it?

Q2

A static analysis tool has flagged a potential data flow anomaly in a Java application. The report indicates a 'DU' anomaly (Defined-Unused) for a variable named 'sessionCache'. Which of the following scenarios BEST describes the underlying code issue and its potential impact?

Q3

During a code review for a new e-commerce feature, you are presented with a checklist. One item on the checklist is: "Are the most common cases tested first in IF-ELSEIF chains?". What is the PRIMARY quality characteristic this checklist item is intended to improve?

Q4Multiple answers

A mobile banking application is experiencing intermittent freezes and crashes on customer devices after several days of use without restarting the app. The issue is not reproducible in the QA environment where tests are short-lived and devices are frequently reset. The development team suspects a memory management issue. As a Technical Test Analyst, which TWO of the following actions are most appropriate to diagnose this production issue? (Select TWO)

Q5

A keyword-driven test automation framework is being designed for a large-scale CRM application. The business process for creating a new customer involves multiple steps: 'Login', 'NavigateToCustomers', 'ClickNew', 'EnterDetails', and 'SaveCustomer'. A junior automator suggests creating a single, high-level keyword 'CreateNewCustomer' that encapsulates all five steps. As the lead Technical Test Analyst, what is the primary trade-off of this approach?

Q6

You are tasked with performance testing a REST API endpoint that processes financial transactions. The non-functional requirement states: "The endpoint must process 500 transactions per second (TPS) with an average response time under 200ms." After running a load test, you observe the following results: - Throughput: 350 TPS - Average Response Time: 180ms - CPU Utilization on the application server: 95% - Memory Utilization: 40% Based on these results, what is the MOST likely bottleneck?

Q7

True or False: Achieving 100% decision coverage guarantees that all data flow anomalies of type 'UR' (Undefined-Referenced) will be detected.

Q8

A software component for an avionics system (DO-178C, Level A) has the following decision: `if (A && (B || C))`. To achieve 100% Modified Condition/Decision Coverage (MC/DC), which test case pair demonstrates that condition 'B' independently affects the outcome?

Q9

You are leading the technical review of a new distributed caching service. The architect has presented a design that prioritizes data consistency. Which programming practice from the review checklist should you question most critically, as it often trades consistency for performance or availability?

Q10

A penetration tester gains unauthorized access to a system by submitting the string `' OR 1=1; --` into a login form's username field. This bypasses authentication and logs them in as the first user in the database. This is a classic example of what type of security vulnerability?