0
0
Testing Fundamentalstesting~20 mins

Performance test planning in Testing Fundamentals - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Performance Test Planning Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Key Metric Identification in Performance Testing

Which of the following is the most important metric to monitor during a load test to understand system responsiveness?

ACPU usage percentage
BResponse time of requests
CNumber of test scripts executed
DDisk space available
Attempts:
2 left
💡 Hint

Think about what tells you how fast the system reacts to user actions.

🧠 Conceptual
intermediate
2:00remaining
Purpose of Baseline Testing

What is the main purpose of establishing a baseline in performance test planning?

ATo identify the maximum number of users the system can handle
BTo verify the correctness of functional requirements
CTo test the system's security vulnerabilities
DTo measure current system performance under normal conditions
Attempts:
2 left
💡 Hint

Baseline is about knowing how the system behaves before changes.

framework
advanced
2:00remaining
Selecting Performance Test Types

You are planning a performance test for a web application expected to have sudden spikes in user traffic. Which combination of test types should you include to best simulate this scenario?

ALoad testing and stress testing
BBaseline testing and usability testing
CSecurity testing and regression testing
DFunctional testing and smoke testing
Attempts:
2 left
💡 Hint

Think about tests that simulate normal and extreme user loads.

assertion
advanced
2:00remaining
Validating Performance Test Success Criteria

Given a performance test plan with the success criterion: "Response time must be under 2 seconds for 95% of requests." Which assertion correctly validates this criterion after test execution?

Testing Fundamentals
assert (sum(t <= 2 for t in response_times) / len(response_times)) >= 0.95
Aassert (sum(t <= 2 for t in response_times) / len(response_times)) >= 0.95
Bassert (len([t for t in response_times if t <= 2]) / len(response_times)) >= 0.95
Cassert (max(response_times) <= 2)
Dassert (sum(response_times) / len(response_times)) < 2
Attempts:
2 left
💡 Hint

Focus on counting requests with response time less than or equal to 2 seconds.

🔧 Debug
expert
2:00remaining
Identifying a Bottleneck from Performance Test Results

After running a performance test, the CPU usage is low, memory usage is stable, but response times increase drastically under load. What is the most likely cause?

ACPU overheating causing throttling
BMemory leaks causing slowdowns
CNetwork bandwidth saturation causing delays
DDisk space running out causing errors
Attempts:
2 left
💡 Hint

Think about what can cause slow responses without high CPU or memory use.