Which test looks for security weaknesses by simulating an attack?
Why A is the answer
Penetration testing
Penetration testing checks defenses.
In detail
- Penetration testing simulates attacks.
- Agree the scope first.
Use case
An illustrative scenario, not a real incident.
A hired team attacks an app, with permission, and finds a weak login.
See it in different ways
flowchart TD A["Reliability testing"] --> B["Load testing: capacity"] A --> C["Chaos engineering: failure handling"] A --> D["Penetration testing: security"]
mindmap
root((Operations))
Tests
Load
Integration
Chaos
Penetration
Observability
Cloud Logging
Cloud Profiler
Learning
Blameless reviewflowchart LR S0["Agree scope"] --> S1["Attack"] --> S2["Report"] --> S3["Fix"]
Key point: Penetration tests simulate attacks.
Why the other options are wrong
- B. Chaos engineering
- That tests failure handling.
- C. Load testing
- That tests volume.
- D. Profiling
- That finds slow code.

