Skip to main content

LMS Assessment Attempt Storage

Summary

Source-backed AssessmentAttempt persistence reference.

Audience

Engineering, QA, architecture, security, product, and data-governance reviewers.

Reference Content

Attempt is a tenant entity with logical assessment/subject references, lifecycle state, converted result value, optional submitted material, and start/submission timestamps. Personal and assessment result content is intentionally excluded.

Assessment reference is not configured as a database foreign key. A non-unique composite index supports tenant, assessment, and subject queries; it does not restrict retry count or duplicate attempts.

Attempt start inserts an InProgress object. Submission loads and mutates the tracked object, stages pass/fail outbox intent and evidence, and saves once. It does not create a certificate record. There is no separate answer table, attempt versioning, immutable result history, concurrency token, or database-enforced terminal-state rule.

Source References

  • microservices/src/training-service/Infrastructure/TrainingDbContext.cs
  • microservices/src/training-service/Domain/TrainingEntities.cs
  • microservices/src/training-service/Api/TrainingEndpoints.cs

See Also

Keywords

  • LMS database
  • Training persistence
  • Source-backed model

Revision Information

  • Status: Draft
  • Last reviewed: 2026-07-17
  • Review cycle: Quarterly