Cloud Storage Interview Questions: Interfaces and Integrity
Cloud storage interviews test whether you can choose the right interface and explain what its protection features actually establish. Compare object, block and file access before discussing capacity or cost. Then distinguish integrity, availability, version history and access control. The worked case below uses an invented export file whose ETag was mistaken for a universal MD5 checksum.
Topic: Cloud Computing: AWS, Azure & GCP in IT Infrastructure · Interview preparation
Quick answer: Cloud storage interviews test whether you can choose the right interface and explain what its protection features actually establish. Compare object, block and file access before discussing capacity or cost. Then distinguish integrity, availability, version history and access control. The worked case below uses an invented export file whose ETag was mistaken for a universal MD5 checksum. A careful answer asks which checksum was recorded and how it was calculated before claiming the file is intact.
Key takeaways
- Choose an interface from application access requirements.
- Separate durability, availability and recoverability in your answer.
- Compare checksums only when their algorithm and scope match.
- Check deletion permissions and retention separately from version history.
- Explain public-access controls without assuming all authorised access is removed.
Table of Contents
- How do object, block and file storage differ?
- What is the difference between durability and availability?
- Does an ETag always prove that a file has the same MD5?
- What would a defensible integrity review contain?
- Does versioning prevent accidental or deliberate deletion?
- How would you explain private storage access?
- How do storage classes and lifecycle rules affect a design?
- References
How do object, block and file storage differ?
Object storage exposes named objects through service APIs. Block storage exposes addressable blocks that an operating system or application can organise. File storage exposes a shared filesystem interface, with paths and file operations. These differences affect application compatibility before performance is measured.
The Amazon S3 overview describes S3 object storage. The Amazon EBS overview describes block volumes used with EC2. The Amazon EFS overview describes managed file storage using supported NFS protocols.
If a legacy application needs filesystem locking across several clients, placing files in an object bucket does not automatically preserve its expectations. Conversely, a document download service can use an object API without requiring a shared filesystem. Explain the operations the application performs, then compare services that support those operations.
| Access need | Interface to evaluate | Question to ask next |
|---|---|---|
| Retrieve a document by object key | Object API | What are the access and checksum requirements? |
| Provide storage to a VM filesystem | Block device | What attachment and filesystem constraints apply? |
| Share paths among compatible clients | Network filesystem | What are the locking and identity semantics? |
What is the difference between durability and availability?
Durability concerns retaining data over time. Availability concerns being able to use the service when needed. A retained object can still be temporarily unavailable to a caller because of a service interruption, access denial or unavailable key.
Recoverability adds another question: can the organisation regain the required data and use it within its objectives? A service durability statement does not prove that an application owner can recover a specific deleted version with the permissions available to them.
Avoid reciting a single number for all cloud storage. Service types and storage classes have different failure boundaries and terms. In an interview, ask which class, location arrangement and operation are under discussion. Then explain which measurement supports the claim being made. Do not substitute a general provider reputation for those specific conditions.
Does an ETag always prove that a file has the same MD5?
No. The Amazon S3 Object API reference explicitly says an S3 ETag may or may not be an MD5 digest, depending on how the object was created and encrypted. Treat the ETag according to its documented semantics rather than assuming it is interchangeable with a locally calculated digest.
In this supplied case, an export team records a local MD5 value. A later object listing contains a different-looking ETag. The team labels the upload corrupt without recording the upload method or a matching checksum field. That conclusion is premature.
Ask for the agreed checksum algorithm, whether it covers the full object or a composite multipart calculation, and the actual values associated with the transfer. Preserve the original observation. Comparing different kinds of identifiers is not a valid integrity test.
What would a defensible integrity review contain?
The Amazon S3 integrity guide describes supported checksum capabilities for uploads, downloads and stored objects. Select a documented algorithm and understand whether the returned value covers the full object or its multipart representation.
For the export case, the review worksheet contains the source file identity, its byte length, the intended object version and a checksum with its algorithm and scope. A reviewer checks like-for-like evidence and records any missing fields. A matching checksum supports a conclusion about the compared bytes, not about whether the export contains every expected business record.
Keep those two tests separate. A complete transfer can faithfully preserve an incomplete report. The application owner should compare the report's expected date range and record count as a separate content acceptance check.
| Supplied evidence | Supported conclusion | Remaining question |
|---|---|---|
| ETag only | An object identifier was reported | Is it the required checksum type? |
| Matching full-object checksum and byte length | Compared bytes match the agreed evidence | Does the report include the required records? |
| Correct record count but no matching checksum | Business count appears plausible | Was transfer integrity established? |
Does versioning prevent accidental or deliberate deletion?
The Amazon S3 Versioning guide explains how S3 Versioning retains variants and how ordinary deletion can create a delete marker. It also describes versioning states and storage charges for retained versions.
Version history is useful, but permissions still matter. A caller allowed to remove particular versions or alter protection settings can change the recovery position. Ask who can perform those operations and which retention requirement applies to the dataset.
In an interview follow-up, separate accidental overwrite recovery from mandatory retention. If an export must remain available for an approved period, establish the relevant retention mechanism and its actual configuration. Naming versioning alone does not establish that requirement, and extra copies may increase both cost and exposure if access controls are neglected.
How would you explain private storage access?
A private storage design needs both an approved network path and an authorised caller. A private address or network route does not grant permission to read every object. Likewise, an identity policy does not establish that a network path exists.
The Amazon S3 Block Public Access guide describes S3 Block Public Access settings and how prohibitions are evaluated across applicable levels. These settings address public-access configurations; they do not mean that no authenticated identity can read the data.
For the export exercise, identify the producing service, approved reviewers and retention operator as separate access needs. A reviewer who needs one export should not automatically receive broad administrative rights. Explain which identity and object scope you would evaluate, and retain evidence of the intended restriction rather than exposing a real dataset during interview practice.
How do storage classes and lifecycle rules affect a design?
Match retrieval needs to the storage class and its documented conditions. An archive option may be suitable for infrequent access, but the retrieval method, waiting time and charges can change whether it fits a reporting deadline. Capacity price alone is insufficient.
Lifecycle rules can move or expire data. Review current and noncurrent versions, approved retention needs and downstream dependencies before describing a rule as a cost optimisation. A rule that saves storage expense while removing required evidence is a design failure.
For a final spoken answer, use the export's requirements: an API-friendly object, an identified version, documented integrity evidence, restricted reviewers and an explicit retrieval deadline. State what further service-class information you need. This gives the interviewer a concrete selection process without inventing universal latency, durability or compliance guarantees.
Related reading: Cloud networking questions; Database administration questions.
References
Frequently Asked Questions
What's Your Reaction?
Like
0
Dislike
0
Love
0
Funny
0
Wow
0
Sad
0
Angry
0