Lesson 11 of 15 ~10 min
Course progress
0%

Process Optimization Quiz

Test your QA process optimization knowledge

QA Process Optimization Quiz

What is the optimized test pyramid distribution?

E2E: 80%, Integration: 15%, Unit: 5%

E2E: 40%, Integration: 30%, Unit: 30%

E2E: 5%, Integration: 15%, Unit: 80%

Equal distribution across all levels

What is shift-left testing?

Moving QA team to the left side of the office

Moving testing earlier in the development cycle

Testing only the left side of the UI

Reducing test coverage

Which is NOT one of the 7 types of waste in Lean methodology?

Waiting

Over-processing

Collaboration

Defects

How should you handle flaky tests?

Run them multiple times until they pass

Ignore them

Fix root causes: timing issues, dependencies, cleanup

Disable all flaky tests permanently

What is the primary benefit of environment-as-code (Docker/IaC)?

Saves disk space

Fast, consistent environment provisioning (minutes vs hours)

Eliminates need for testing

Increases test coverage

How can you reduce test execution time?

Skip some tests

Parallel execution, eliminate redundancy, optimize waits

Run tests less frequently

Reduce test coverage

What is Kaizen in the context of QA?

A test automation tool

A type of security testing

Continuous small improvements over time

A defect tracking system

What should quality gates in CI/CD pipeline check?

Only code compilation

Only unit tests

Multiple criteria: tests pass, coverage met, no critical bugs, security scan

Just deployment success

How should test data be managed efficiently?

Create manually before each test

Use production data without masking

API-based generation, database snapshots, automated masking

No test data needed

What is the recommended approach for status communication?

5 status meetings per week

No communication

Mostly async updates (Slack/dashboard) + 1 sync meeting/week

Email chains only

Quiz Results

9-10 correct: Excellent process optimization knowledge!

7-8 correct: Good understanding, review missed topics.

5-6 correct: Fair knowledge, revisit key concepts.

Below 5: Study the lesson thoroughly.

Key Optimization Concepts

Test Pyramid

Optimized Distribution:
- Unit Tests: 80% (fast, isolated)
- Integration Tests: 15% (API, services)
- E2E Tests: 5% (critical user paths only)

Waste Elimination

7 Types of Waste (Lean):
1. Waiting (for env, data, builds)
2. Over-processing (excessive docs)
3. Defects (escaped bugs, flaky tests)
4. Motion (context switching)
5. Inventory (untested features)
6. Transportation (manual data movement)
7. Over-production (unused test cases)

Test Optimization

Reduce Execution Time:
- Parallel execution (10x faster)
- Eliminate redundancy
- Optimize waits (smart waits vs sleep)
- Pre-seed test data

Reduce Flakiness:
- Fix timing issues
- Remove dependencies
- Isolate tests
- Clean up resources

CI/CD Integration

Shift-Left: Test early in dev cycle
Quality Gates:
- Unit tests pass (>80%)
- Code coverage (>70%)
- No critical vulnerabilities
- Integration tests pass
- Performance benchmarks met

Environment Management

Environment as Code:
- Docker compose
- Infrastructure as Code
- Fast provisioning (2 min vs 30 min)
- Consistent setups

Continuous Improvement

Kaizen Approach:
1. Identify pain point
2. Propose solution
3. Implement change
4. Measure impact
5. Standardize

Monthly small improvements

Communication

Optimize Meetings:
Before: 5 meetings/week (5 hours)
After: 1 sync + async updates (1 hour)

Time saved: 4 hours/week

ROI Example

Weekly Savings:
- Automation: 15 hours
- Test data: 4 hours
- Environment: 8 hours
- Reporting: 4 hours
- Meetings: 4 hours
Total: 35 hours/week saved

Annual: 1,820 hours = 45 weeks