AI & Technical question

How would you design a governance model that behaves consistently across Glean's UI, public APIs, and heterogeneous enterprise connectors, for example, a shared policy layer for permissions, action scopes, audit logging, and redaction, even when source systems expose different authentication models and data granularity?

Practice this question out loud. An AI interviewer asks it, follows up like a real interviewer would, and scores your answer. Type or speak.

Start a mock interview on this question · Mock interview from a job description

What this question tests

Tests designing a unified policy layer that behaves consistently across UI, APIs, and heterogeneous connectors, despite source systems having different auth and permission granularity.

How to approach it

  1. Define a canonical internal permission model, for example a normalized set of scopes and roles, that every connector maps its native auth model into at ingestion time.
  2. Require every connector to declare its permission granularity, for example document-level versus folder-level, so Glean can flag where enforcement is coarser than the source system.
  3. Centralize policy evaluation, redaction rules, action scopes, and audit logging, in one shared service that the UI, public APIs, and agent tooling all call, rather than each surface implementing its own checks.
  4. Handle heterogeneous granularity explicitly: default to the most restrictive applicable policy when a connector cannot express fine-grained permissions.
  5. Log every policy decision centrally so audit trails are consistent regardless of which surface, UI, API, or connector, triggered the action.
  6. Pilot the shared policy layer on two structurally different connectors, one with rich native permissions and one without, to stress-test the normalization.

What a strong answer includes

Common mistakes

Likely follow-up questions

More ai & technical questions

More questions from Glean

Learn the skill behind it

Chapters of the AI PM course that teach what this question tests.

Preparing for a specific role?

Book summaries for this kind of question

Browse all 4,000+ questions in the bank