Azure Storage Flashcards
What are the 4 types of storage services?
Blob storage
File storage
Table storage
Queue storage
Block blob file size limit
195 GB
Page Blob file size limit
1 TB
Append Blob file size limit
195 GB
What is a shard?
Spreads data across multiple databases, allows for elastic scaling
What is CORS?
Cross-Origin Resource Sharing
Allows browser in one domain to access object in a different domain.
Where are the logs stored in Storage Analytics?
logs are stored in a container called $logs in blob storage.
What type of encryption encrypts the entire disk using bitlocker, stores keys in Azure key vault, and is recommended for VM’s?
Azure disk encryption.
What type of encryption encrypts blob data only, not tables or queues?
Storage Service Encryption (SSE)
What are the 2 advantages of using a Stored Access Policy?
Hides parameters
Can be revoked
What are the 3 types of Blobs?
Block (read from beg to end, such as media files) sequential IO, most cost effective type of storage
Page (random access, used for VM’s)
Append (block blobs optimized for append operations)
Max # of VM’s in a VM Scale Set?
1000
300 for your own custom VM images
What are the 3 disk cache types?
Read/Write
Read Only
None
What are the 2 types of Geo-Replication?
Standard Geo-Replication (single offline secondary database in paired region of the primary database.
Active Geo-Replication (create up to 4 readable secondary databases across multiple Azure regions)
How do you retrieve property values of a storage object?
Use the ‘FetchAttributes’ method
How do you set properties on a storage object?
Use the ‘Set Properties’ method.
How do you set metadata on a blob or container resource?
Add name-value pairs to the Metadata collection on the resource,
then call the ‘SetMetadata’ method to save values to the service.
How do you retrieve metadata on a blob or container resource?
Call the ‘FetchAttributes’ method on your blob or container to populate the Metadata collection,
then read the values.
What is the default endpoint for Blob storage?
.blob.core.windows.net
What are the 2 methods of pointing a custom domain name to the blob endpoint of your storage account?
- Direct CNAME mapping
- Intermediary mapping with asverify
What is asverify used for?
asverify is a special subdomain that is used as an intermediary registration step to avoid application downtime.
What is CDN?
Content Deliver Network caches static web content at strategically placed locations to provide max throughput for delivering content to users.
What are the benefits of CDN?
- Better performance
- large scaling
- distributes user requests and serves content from edge servers thereby less traffic is sent to the origin.
What are the steps required to create a CDN?
- Create a new CDN profile.
2. Create a new CDN endpoint.
What are the 4 types of storage redundancy?
LRS - Locally Redundant Storage
GRS - Geo-Redundant Storage
RA-GRS - Read-Access Geo-Redundant Storage
ZRS - Zone-Redundant Storage
Which type of storage redundancy can only be used for block blobs in a standard storage account and replicates your data across 2-3 facilities within a single region or across 2 regions?
ZRS
What type of storage redundancy has no metrics or logging capability?
ZRS
Which type of storage redundancy makes 3 copies of all data within a single region before a write is deemed successful?
LRS
What type of storage redundancy makes 3 synchronous copies of the data in the primary region and 3 replicas in a paired region?
GRS
What type of storage redundancy uses GRS plus the ability to read data in the secondary region?
RA-GRS
What are the 2 types of SAS?
Service SAS
Account SAS
What type of SAS service delegates access to a resource in just one of the storage services: the Blob, Queue, Table, or File service.
Service SAS
What type of SAS delegates access to resources in one or more of the storage services?
Account SAS
What are the parameters for a service SAS token?
Storage resource:
Storage resources for which you can delegate access with a service SAS include: Containers and blobs File shares and files Queues Tables and ranges of table entities.
What are the parameters for an account SAS token?
- Service or services.
- Storage resource types.
How to specify storage services version in an SAS?
sv=
How to specify start time in an SAS?
st=
How to specify expiry time in an SAS?
se=
How to specify a resource in an SAS?
sr=
How to specify permissions in an SAS?
sp=
How to specify an IP range in an SAS?
sip=
How to specify a protocol in an SAS?
spr=
How to specify a signature in an SAS?
sig=
How do you asynchronously copy blob data?
Use the AzCopy utility
How do you enable storage logging and configure retention periods in the Azure Portal?
- Go to storage account
- Go to monitoring
- Go to Diagnostics blade.
How to you enable storage logging via Powershell?
Use the Set-AzureStorageServiceLoggingProperty cmdlet.
In Storage Logging, what does authentication type “AnonymousSuccess” mean?
- blob is public
- accessed via URL without a SAS
- authentication type is anonymous
In Storage Logging, what does authentication type “SASSuccess” mean?
- blob is private
- accessed with a SAS
- authentication type is SAS
In Storage Logging, what does authentication type “Success” mean?
- blob is private
- access with a storage key
- authentication type is authenticated
What tool can you use to view and analyze storage log files?
Microsoft Message Analyzer
What tool can you use to view the container holding $logs and $metrics ?
Microsoft Azure Storage Explorer
Which Azure SQL database model allows you to manage multiple databases in a pool?
Elastic database pools
Which Azure SQL database model is appropriate for a small number of databases?
Single databases.
For Azure SQL, what are the 4 service tiers?
Basic
Standard
Premium
Premium RS
For Azure SQL, how is performance expressed within each tier?
WIth DTUs (database throughput units) and "Performance Level" eDTUs (elastic database transaction units) are used for elastic pools.
What is the maximum database size for an Azure SQL database in the BASIC service tier?
2 GB
What is the maximum database size for an Azure SQL database in the STANDARD service tier?
250 GB
What is the maximum database size for an Azure SQL database in the PREMIUM service tier?
500 GB for P1
1 TB for P11
For Azure SQL, what are the timeframes for a point-in-time restore for each database tier?
Basic = 7 days Standard = 14 days Premium = 35 days
For Azure SQL, what are the 3 types of disaster-recovery features?
Geo-Restore
Standard Geo-Replication
Active Geo-Replication
Which Azure SQL disaster-recovery method allows you to restore a SQL database from a backup to any SQL database server in any Azure region?
Geo-Restore
Which Azure SQL disaster-recovery method enables you to create a single offline secondary database in the paired region of the primary database?
Standard Geo-Replication (retired in March 2017)
Which Azure SQL disaster-recovery method enables you to create up to 4 readable secondary databases across multiple Azure regions?
Active Geo-Replication
What are the 3 types of databases in an Azure sync group?
The Hub Database: must be an Azure SQL Database.
The member databases: can be either SQL Databases, on-premises SQL Server databases, or SQL Server instances on Azure virtual machines.
The Sync Database: contains the metadata and log for Data Sync. The Sync Database has to be an Azure SQL Database located in the same region as the Hub Database. The Sync Database is customer created and customer owned.
How many databases can you store in an Azure Recovery Services vault and for how long?
Up to 1000 per vault for 10 years.
What are the 3 requirements for an Azure Recovery Services vault?
- must create the vault in the same Azure subscription that created the SQL server
- same geographic region
- same resource group
What are the 2 steps for creating an Azure Recovery Services Vault?
- Create the vault in the same Azure subscription, geo region and resource group.
- Configure the retention policy for the database in question.
What are the 4 steps to enable long-term backup retention of an Azure SQL database?
- Create an Azure Recovery Services vault in the same region, subscription, and resource group as your SQL database server.
- Register the server to the vault.
- Create an Azure Recovery Services protection policy.
- Apply the protection policy to the databases that require long-term backup retention.
What 2 types of interfaces does Azure File Storage support?
SMB
REST
What are the 2 ways of securing access to storage data?
Storage Account Keys
Shared Access Sigs (SAS) and Storage Access Policy
What type of storage is not available for use with Storage Analytics?
File Storage
What kind of storage account uses high-performance SSD’s and is recommended for all VM’s?
Premium storage