Read a sample: 1. Reading a Storage Scenario
A community theater wants to keep photographs from past productions, share working documents among staff, and process ticket requests without making customers wait while every background task finishes. All three needs involve data. They do not necessarily call for the same kind of storage.
That distinction is the starting point for this book. In a certification scenario, the word storage rarely tells you enough to choose a service. You need to know what is being stored, how it will be used, who or what will use it, and what must happen when something goes wrong.
The theater’s photographs are individual objects. Its staff may expect shared folders and familiar file access. Its ticketing application needs a way to hand work to another component. The same organization can have all three requirements, even though no single storage choice is automatically the best fit for every one of them.
This chapter gives you a practical way to read scenarios before you study each service in detail. The goal is not to memorize a list of product names. It is to learn how to turn a short description into a set of useful requirements—and how to recognize when the description leaves an important question unanswered.
When you encounter a storage question, it is tempting to search for a familiar word and immediately select the corresponding Azure service. Sometimes that works. It can also lead you past the detail that makes the question meaningful.
Imagine a scenario that mentions “files.” That word might describe photographs uploaded to a website, documents in a shared departmental folder, or temporary messages exchanged between application components. People may casually call all of them files, but the expected behavior is different in each case.
A better first question is:
What must the user or application be able to do with the data?
An upload service might need to save and retrieve each photograph as a whole. A finance team might need to open and edit documents through a shared directory. An application might need to place a request somewhere so another component can process it later. The required behavior narrows the choice more effectively than the everyday label.
For most introductory storage scenarios, examine four dimensions:
1. Data shape: What kind of thing is being stored?
2. Access pattern: How will people or applications find, read, change, or process it?
3. Management needs: What infrastructure or operational responsibilities does the organization want to retain or avoid?
4. Resilience: What failures or disruptions must the solution be prepared to handle?
Cost and security matter throughout the decision. They are not afterthoughts, but neither can be evaluated well without understanding the workload. A low-cost option that cannot support the required access pattern is not a useful bargain. A service with appropriate access controls still needs those controls to be configured for the people and applications that use it.
Data shape is a plain-language description of what the information looks like and how it is organized. It is not a demand to inspect every byte. It is a way to distinguish a document from a message, a record from a shared folder, and a collection of related business transactions from a collection of images.
Consider these common shapes.
Objects. An object is often a self-contained item such as an image, video, PDF, backup, or application asset. The application may save the item and retrieve it by name or another identifier. Azure Blob Storage is the principal service discussed in this book for object storage.
Files in shared directories. A file may look much like an object when viewed in isolation. The difference in a scenario is often the access experience: users or existing applications expect a shared file system with directories and files. Azure Files provides managed file shares for this kind of requirement.
Messages. A message represents information or work to be handled, often by another part of an application. For example, a website can submit a request to create a thumbnail, and a background component can process it. Azure Queue Storage is designed for message-based workloads, not as a substitute for a shared document repository.
Key-attribute records. Some applications store many records that have identifiers and properties but do not require a traditional relational database. A device inventory entry, for example, might have a device identifier, a location, and a status. Azure Table Storage provides a nonrelational way to organize this kind of data.
Related transactional data. Other workloads depend on relationships, rich queries, or coordinated changes to business records. An order system might need to connect customers, orders, payments, and inventory. A relational database service may be a better starting point than choosing a storage service simply because it can hold data.
These categories are clues, not rigid labels. A photograph is a file in ordinary speech, but an application that uploads and retrieves photographs as individual objects may be well served by Blob Storage. Likewise, Azure Table Storage has “table” in its name, but that does not make it the same kind of system as a relational database.
Ask what structure the workload relies on. Does it need a folder hierarchy exposed as a file share? Does it look up records by keys? Must it query relationships among business entities? Does it need to pass a work request to a separate process? The answers begin to distinguish services that might otherwise sound interchangeable.
Data shape tells you what…