All jobs / Solutions / cloud architect / Identity & Security
Solutions / cloud architect interview question · 0–1 years
The database disks are encrypted at rest. What does that protect against, and what does it not?
The strongest answer
It protects data on lost, stolen or badly decommissioned storage and against raw access to the volumes; it does nothing against anyone with valid database credentials, because the database decrypts transparently
Why it works
Right — at-rest encryption is a storage-layer control; application access is governed by credentials and authorisation.
What a good answer covers
- Protects the storage, not the app path.
- Lost media, raw volume access.
- Credentials still read plaintext.
- Sensitive fields: encrypt in the app.
Answers that fall short
- Close, but not the strongest: It protects the data from being read by anyone who is not an administrator
Administrators are not the boundary; any process with valid credentials reads plaintext. - Weak: It means the data is secure and no further encryption is needed anywhere
Sensitive fields may still need application-level encryption, plus access control and auditing. - Red flag: It protects against SQL injection, since the attacker only gets encrypted bytes
Injection runs through the database, which returns decrypted data; encryption at rest is irrelevant to it.
Who gets asked this
More Identity & Security questions
- A single-page app, a mobile app and a nightly batch job all need to call your API. Which OAuth flows fit?
- How do you design the roles for a product’s permission system so it does not end up as one role per user?
- How should cloud permissions be granted to a new service?
- What does zero trust change about how services talk to each other inside the network?
- Design the key management for a platform that encrypts customer data at rest.
- How do you run a threat-modelling session on a new design?
- Enterprise customers ask to sign in with their own identity provider. What do you build?
- An internal certificate expired on a Sunday and took down service-to-service traffic. What do you change in…