Which of the following is considered a characteristic of stress testing?
Answer : D
Stress testing is designed to evaluate how a system behaves under extreme conditions, often exceeding its design limitations. The goal is to identify bottlenecks, memory leaks, and failures that occur beyond normal operating conditions.
Option A is incorrect because it refers to resilience testing, which focuses on recovery rather than stress beyond limits.
Option B is incorrect as it describes load testing, which measures performance under expected loads.
Option C is incorrect since determining the maximum transactions is a feature of capacity testing, not stress testing.
Which of the following is a typical performance risk associated with mainframe architectures?
Answer : B
One of the key performance risks in mainframe architectures is slow hard disk speed, which can impact transaction processing, batch jobs, and database access times.
Option A (Inconsistent loads via APIs) is more relevant to distributed or cloud architectures rather than mainframes.
Option C (Misconfigured host machine) is a configuration issue, not a typical performance risk.
Option D (Lack of RAM) is less common in mainframes, which typically use optimized memory management.
Stakeholders were unhappy with previous performance test results, which indicated that the adjustments were not made fast enough and engine stall was probable. The developers have now made changes that they believe will significantly improve the performance of the adjustments.
What should you do to ensure the performance test objectives have been properly defined before you run the next set of performance tests?
Answer : A
Before running the next set of performance tests, it is crucial to understand the differences (delta) between the previous test results and the expected improvements. This ensures that:
The changes made by developers are properly validated.
Performance objectives are aligned with measurable improvements.
Option B (Adjust stakeholder expectations) is incorrect, as performance testing should focus on real data rather than adjusting expectations.
Option C and D (Realign objectives for milestones or time-to-market goals) are incorrect because test objectives should focus on technical accuracy rather than schedule constraints.
What is an advantage of aggregating the results of performance testing?
Answer : C
Aggregating test results helps stakeholders understand performance trends by combining data points from multiple test runs. This makes it easier to draw conclusions about system behavior.
Option A is incorrect because aggregation may reduce detailed visibility, not increase it.
Option B is incorrect because aggregation does not expedite testing itself.
Option D is incorrect because aggregated results do not indicate test completion.
Which of the following is considered a common web service protocol?
Answer : B
REST (Representational State Transfer) is a widely used web service protocol that enables client-server communication over HTTP. It is commonly used in modern APIs and web applications for performance testing.
Option A (SOAK) refers to soak testing, which evaluates performance over an extended period.
Option C (HTTP) is a transport protocol, but REST is the actual web service architecture built on HTTP.
Option D (RTE) is not a web service protocol but may refer to Real-Time Enterprise systems.
When following the principal performance testing activities, when are resources allocated?
Answer : A
Resource allocation happens during the test planning phase, where hardware, tools, and personnel are assigned to the project. This ensures that performance tests are adequately supported.
Option B (Test execution) is when resources are actually used, not allocated.
Option C (Test evaluation) happens after execution to analyze results.
Option D (Test completion) focuses on documentation and reporting.
What challenge must be considered when using crowds to emulate load generation?
Answer : A
Crowd-based load generation relies on real users from different locations, making test conditions highly variable. This makes it difficult to reproduce the same test scenario multiple times under identical conditions.
Option B (Less sensitive to changes) is incorrect because crowd-based load is highly sensitive to external conditions (network, device types, etc.).
Option C (Suitable for mainframe applications) is incorrect because crowd-based load testing is typically used for web and cloud applications, not mainframes.
Option D (More precise than other methods) is incorrect because crowd-based load testing lacks precision due to real-world inconsistencies.