Azure Storage Flashcards
Some Benefits of Azure Storage are…
Benefits of Azure Storage
Azure Storage services offer the following benefits for application developers and IT professionals:
- Durable and highly available. Redundancy ensures that your data is safe in the event of transient hardware failures. You can also opt to replicate data across data centers or geographical regions for additional protection from local catastrophe or natural disaster. Data replicated in this way remains highly available in the event of an unexpected outage.
- Secure. All data written to an Azure storage account is encrypted by the service. Azure Storage provides you with fine-grained control over who has access to your data.
- Scalable. Azure Storage is designed to be massively scalable to meet the data storage and performance needs of today’s applications.
- Managed. Azure handles hardware maintenance, updates, and critical issues for you.
- Accessible. Data in Azure Storage is accessible from anywhere in the world over HTTP or HTTPS. Microsoft provides client libraries for Azure Storage in a variety of languages, including .NET, Java, Node.js, Python, PHP, Ruby, Go, and others, as well as a mature REST API. Azure Storage supports scripting in Azure PowerShell or Azure CLI. And the Azure portal and Azure Storage Explorer offer easy visual solutions for working with your data.
What are the Azure Storage data services?
Azure Storage data services
The Azure Storage platform includes the following data services:
- Azure Blobs: A massively scalable object store for text and binary data. Also includes support for big data analytics through Data Lake Storage Gen2.
- Azure Files: Managed file shares for cloud or on-premises deployments.
- Azure Queues: A messaging store for reliable messaging between application components.
- Azure Tables: A NoSQL store for schemaless storage of structured data.
- Azure Disks: Block-level storage volumes for Azure VMs.
Define Azure Blobs
Azure Blobs: A massively scalable object store for text and binary data. Also includes support for big data analytics through Data Lake Storage Gen2.
Define Azure Queues
Azure Queues: A messaging store for reliable messaging between application components.
Name sample scenarios for Azure Files
Sample scenarios for Azure Storage services
The following table compares Files, Blobs, Disks, Queues, and Tables, and shows example scenarios for each.
FeatureDescriptionWhen to useAzure FilesOffers fully managed cloud file shares that you can access from anywhere via the industry standard Server Message Block (SMB) protocol.
You can mount Azure file shares from cloud or on-premises deployments of Windows, Linux, and macOS.You want to “lift and shift” an application to the cloud that already uses the native file system APIs to share data between it and other applications running in Azure.
You want to replace or supplement on-premises file servers or NAS devices.
You want to store development and debugging tools that need to be accessed from many virtual machines.
Name sample scenarios for Azure Blobs
FeatureDescriptionWhen to use Azure BlobsAllows unstructured data to be stored and accessed at a massive scale in block blobs.
Also supports Azure Data Lake Storage Gen2 for enterprise big data analytics solutions.You want your application to support streaming and random access scenarios.
You want to be able to access application data from anywhere.
You want to build an enterprise data lake on Azure and perform big data analytics.
Name sample scenarios for Azure Disks
Azure DisksAllows data to be persistently stored and accessed from an attached virtual hard disk.You want to “lift and shift” applications that use native file system APIs to read and write data to persistent disks.
You want to store data that is not required to be accessed from outside the virtual machine to which the disk is attached.
Name Sample scenarios for Azure Queues
Azure QueuesAllows for asynchronous message queueing between application components.You want to decouple application components and use asynchronous messaging to communicate between them.
For guidance around when to use Queue storage versus Service Bus queues, see Storage queues and Service Bus queues - compared and contrasted.
Name Sample Scenarios for Azure Tables
Azure TablesAllow you to store structured NoSQL data in the cloud, providing a key/attribute store with a schemaless design.You want to store flexible datasets like user data for web applications, address books, device information, or other types of metadata your service requires.
For guidance around when to use Table storage versus the Azure Cosmos DB Table API, see Developing with Azure Cosmos DB Table API and Azure Table storage.
Describe Blob Storage and name what’s ideal for
Blob storage
Azure Blob storage is Microsoft’s object storage solution for the cloud. Blob storage is optimized for storing massive amounts of unstructured data, such as text or binary data.
Blob storage is ideal for:
- Serving images or documents directly to a browser.
- Storing files for distributed access.
- Streaming video and audio.
- Storing data for backup and restore, disaster recovery, and archiving.
- Storing data for analysis by an on-premises or Azure-hosted service.
How can we access Blob Storage? What are the programming API Languages?
Objects in Blob storage can be accessed from anywhere in the world via HTTP or HTTPS. Users or client applications can access blobs via URLs, the Azure Storage REST API, Azure PowerShell, Azure CLI, or an Azure Storage client library. The storage client libraries are available for multiple languages, including .NET, Java, Node.js, Python, PHP, and Ruby
Describe Azure Files and name some common scenarios
Azure Files
Azure Files enables you to set up highly available network file shares that can be accessed by using the standard Server Message Block (SMB) protocol. That means that multiple VMs can share the same files with both read and write access. You can also read the files using the REST interface or the storage client libraries.
One thing that distinguishes Azure Files from files on a corporate file share is that you can access the files from anywhere in the world using a URL that points to the file and includes a shared access signature (SAS) token. You can generate SAS tokens; they allow specific access to a private asset for a specific amount of time.
File shares can be used for many common scenarios:
Many on-premises applications use file shares. This feature makes it easier to migrate those applications that share data to Azure. If you mount the file share to the same drive letter that the on-premises application uses, the part of your application that accesses the file share should work with minimal, if any, changes.
Configuration files can be stored on a file share and accessed from multiple VMs. Tools and utilities used by multiple developers in a group can be stored on a file share, ensuring that everybody can find them, and that they use the same version.
Resource logs, metrics, and crash dumps are just three examples of data that can be written to a file share and processed or analyzed later.