Questions: Runtime Verification

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

An LTL property 'G(request -> F grant)' (every request is eventually granted) is monitored over a finite execution trace that ends with an ungranted request. What does the monitor report?

AViolation: the property is definitively false
BSatisfaction: the property is definitively true
CInconclusive: the trace neither satisfies nor violates the property because the grant may still occur in a future extension of the trace
DError: LTL cannot be monitored at runtime
Question 2 True / False

Runtime verification can detect all violations of safety properties (nothing bad happens) on a single execution trace, but cannot definitively verify liveness properties (something good eventually happens) from a finite prefix.

TTrue
FFalse
Question 3 Short Answer

Explain the difference between offline and online runtime verification, and describe one advantage of each approach.

Think about your answer, then reveal below.
Question 4 Short Answer

Specification mining (or trace-based invariant inference) derives formal specifications from observed execution traces rather than checking given specifications. How does this relate to runtime verification?

Think about your answer, then reveal below.
Question 5 Multiple Choice

A runtime verification monitor for a concurrent system observes a single interleaving of events. Can it detect property violations that would occur in alternative interleavings that were not observed?

ANo -- runtime verification can only check the observed trace, never alternative interleavings
BYes -- predictive runtime verification techniques analyze the observed trace to infer violations in feasible alternative interleavings by computing a partial order of events and checking all consistent total orders
CYes -- runtime verification always checks all possible interleavings
DOnly if the monitor uses model checking internally