The interview problem
A customer requires their own key controls for stored exports. Turn that requirement into a testable delivery contract.
Original practice, not a reported company interview. Scenarios and numbers are illustrative. Interview date: not applicable. Sources retrieved October 1, 2026.
1. Scope and worked approach
Map who creates, administers and uses the key. Configure narrowly scoped encryption and decryption permissions for the service, record key identifiers in metadata and test access from the actual runtime. Clarify behavior when the customer disables the key.
2. Trace the design or derivation
Customer key policy → service grant → encrypted artifact → access test → revocation drill
Keep production recovery procedures customer-owned and documented before launch. Do not copy customer key material into a support environment to simplify debugging. Report policy failures with safe identifiers and a correlation ID rather than logging plaintext payloads.
3. Calculate the example
An export can remain physically stored while becoming unreadable after key access is revoked. Storage deletion and loss of decryption access are different lifecycle events and need separate status reporting.
4. Failure cases and trade-offs
Assuming key ownership implies service permission causes outages. Cached plaintext or data keys complicate immediate revocation expectations. Rotation is not automatically re-encryption of every old object.
5. Validation, follow-ups and self-review
Acceptance: test encrypt, decrypt, denied access and the agreed revocation window. Follow-up: who restores access after an accidental disable? Self-review: distinguish key administration from data use.
Sources and related practice
Technical reference: docs.aws.amazon.com — KMS key lifecycle and access concepts.
Source publication/update: Not established. Retrieved October 1, 2026. The workflow, calculations and review exercises are original; this reference is not evidence that a company asked this question.
Continue with Rotate encryption keys without rewriting every object; Debug a customer's cross-account cloud role.
Continue your preparation
Choose a connected learning path or browse more FDE interviews questions. Read our editorial method and attribution policy.