Dataford
Interview QuestionsInterview GuidesExperiencesMock InterviewsPricing
Get started

Classify Sensitive Storage Keys

EasyCoding00:00
Practice interviewer
In session
5 left
00:00

Your question is Classify Sensitive Storage Keys. Take a moment with it on the right.

Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).

You need to log in / sign up to chat or submit.

Problem

Context

Applications often store both low-risk settings and high-risk secrets. Interviewers want to see whether you can distinguish convenience data from credentials and choose the right storage approach.

Core question

Explain how you would handle secure storage of user preferences versus truly sensitive data such as access tokens, refresh tokens, API keys, or passwords.

Address these points:

  1. How do you classify data by sensitivity and risk?
  2. What storage choices are appropriate for preferences versus secrets?
  3. What protections should exist around encryption, key management, access control, and rotation?

Scope guidance

You do not need to design a full production security platform. Focus on practical engineering decisions, clear threat modeling, and the trade-offs between usability, performance, and security. A strong answer should distinguish harmless settings from secrets, explain why “encrypt everything” is not always the full answer, and describe how platform-provided secure storage changes the design.