Part 2: W11-1 System Testing Performance Flashcards

1
Q

What is the objective of system testing?

A

Verifying the implementation conforms to quality requirements on system level

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What sort of environment is System Testing performed on?

A

Emulated environment (similar to production)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

List 5 common performance problems.

A
  • Poor response time
  • Long load time
  • Bottlenecking
  • Poor scalability
  • Disk usage
  • Operation system limitations
  • Poor network configuration
  • Memory utilization
  • CPU utilization
  • Insufficient hardware resources
  • Software configuration issues
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

List 5 common parameters that are monitored.

A
  • Processor usage
  • Memory usage
  • Disk time
  • Bandwidth
  • Disk queue length
  • Network output queue length
  • Response time
  • Throughput
  • Amount of connection pooling
  • Maximum active sessions
  • Garbage collection
  • Committed memory
  • Memory pages/second
  • Page faults/second
  • CPU interrupts/second
  • Network bytes total/second
  • Hit ratios
  • Hits per second
  • Rollback segment
  • Database locks
  • Top waits
  • Thread counts
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What does processor usage measure?

A

Time processor spends executing non-idle threads

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does disk time measure?

A

Amount of time disk is reading or writing.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What does page faults/second measure?

A

of times a process requires code outside working set

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is a hit ratio?

A

of SQL statements handled by cache

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are the types of performance testing?

A
  1. Load testing
  2. Stress testing
  3. Scalability testing
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the difference between load testing and stress testing?

A

Load testing measures operation under full load

Stress testing measure operation under EXTREME load

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are the approaches to Performance testing?

A
  1. Benchmarking - measuring absolute performance of application
  2. Profiling - measures relative system stats
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are ways to implement profiling performance testing?

A
  1. Insertion - placing profiling code in program directly

2. Sampling - monitoring component, saving snapshot of CPU

How well did you know this?
1
Not at all
2
3
4
5
Perfectly