Test your k6 knowledge with a free interactive quiz — 20 questions with answers and explanations. No signup needed to play.
Question 1/12Score 0
How does k6 typically fit into a CI/CD pipeline for catching performance regressions before they reach production?
In this round
How does k6 typically fit into a CI/CD pipeline for catching performance regressions before they reach production?
What is the difference between k6's "load testing", "stress testing", and "spike testing" scenario types, at a conceptual level?
What is the purpose of running a k6 load test against a staging/pre-production environment rather than directly against production?
What is the purpose of k6's "custom metrics" feature (via `Counter`, `Gauge`, `Trend`, `Rate` from the `k6/metrics` module)?
What is k6?
What does a k6 "check" do, and how does it differ from a hard test assertion that stops execution on failure?
What is the purpose of `sleep()` in a k6 test script?
How does k6's architecture (a Go-based runtime executing JavaScript test scripts) contribute to its ability to generate significant load from a single machine?
What are k6's built-in metrics like `http_req_duration` and `http_req_failed` used for?
Why might a team specifically test with a "spike" traffic pattern (a sudden, sharp burst of virtual users) rather than only a gradual ramp-up?
What is the purpose of the `group()` function in a k6 test script?