Azure Storage Flashcards

1
Q

What are the 4 types of storage services?

A

Blob storage
File storage
Table storage
Queue storage

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Block blob file size limit

A

195 GB

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Page Blob file size limit

A

1 TB

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Append Blob file size limit

A

195 GB

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a shard?

A

Spreads data across multiple databases, allows for elastic scaling

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is CORS?

A

Cross-Origin Resource Sharing

Allows browser in one domain to access object in a different domain.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Where are the logs stored in Storage Analytics?

A

logs are stored in a container called $logs in blob storage.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What type of encryption encrypts the entire disk using bitlocker, stores keys in Azure key vault, and is recommended for VM’s?

A

Azure disk encryption.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What type of encryption encrypts blob data only, not tables or queues?

A

Storage Service Encryption (SSE)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are the 2 advantages of using a Stored Access Policy?

A

Hides parameters

Can be revoked

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are the 3 types of Blobs?

A

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)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Max # of VM’s in a VM Scale Set?

A

1000

300 for your own custom VM images

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are the 3 disk cache types?

A

Read/Write
Read Only
None

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What are the 2 types of Geo-Replication?

A

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 well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

How do you retrieve property values of a storage object?

A

Use the ‘FetchAttributes’ method

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

How do you set properties on a storage object?

A

Use the ‘Set Properties’ method.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

How do you set metadata on a blob or container resource?

A

Add name-value pairs to the Metadata collection on the resource,

then call the ‘SetMetadata’ method to save values to the service.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

How do you retrieve metadata on a blob or container resource?

A

Call the ‘FetchAttributes’ method on your blob or container to populate the Metadata collection,

then read the values.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

What is the default endpoint for Blob storage?

A

.blob.core.windows.net

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

What are the 2 methods of pointing a custom domain name to the blob endpoint of your storage account?

A
  • Direct CNAME mapping

- Intermediary mapping with asverify

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

What is asverify used for?

A

asverify is a special subdomain that is used as an intermediary registration step to avoid application downtime.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

What is CDN?

A

Content Deliver Network caches static web content at strategically placed locations to provide max throughput for delivering content to users.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

What are the benefits of CDN?

A
  • Better performance
  • large scaling
  • distributes user requests and serves content from edge servers thereby less traffic is sent to the origin.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

What are the steps required to create a CDN?

A
  1. Create a new CDN profile.

2. Create a new CDN endpoint.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
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
26
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
27
What type of storage redundancy has no metrics or logging capability?
ZRS
28
Which type of storage redundancy makes 3 copies of all data within a single region before a write is deemed successful?
LRS
29
What type of storage redundancy makes 3 synchronous copies of the data in the primary region and 3 replicas in a paired region?
GRS
30
What type of storage redundancy uses GRS plus the ability to read data in the secondary region?
RA-GRS
31
What are the 2 types of SAS?
Service SAS Account SAS
32
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
33
What type of SAS delegates access to resources in one or more of the storage services?
Account SAS
34
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. ```
35
What are the parameters for an account SAS token?
- Service or services. | - Storage resource types.
36
How to specify storage services version in an SAS?
sv=
37
How to specify start time in an SAS?
st=
38
How to specify expiry time in an SAS?
se=
39
How to specify a resource in an SAS?
sr=
40
How to specify permissions in an SAS?
sp=
41
How to specify an IP range in an SAS?
sip=
42
How to specify a protocol in an SAS?
spr=
43
How to specify a signature in an SAS?
sig=
44
How do you asynchronously copy blob data?
Use the AzCopy utility
45
How do you enable storage logging and configure retention periods in the Azure Portal?
1. Go to storage account 2. Go to monitoring 3. Go to Diagnostics blade.
46
How to you enable storage logging via Powershell?
Use the Set-AzureStorageServiceLoggingProperty cmdlet.
47
In Storage Logging, what does authentication type "AnonymousSuccess" mean?
- blob is public - accessed via URL without a SAS - authentication type is anonymous
48
In Storage Logging, what does authentication type "SASSuccess" mean?
- blob is private - accessed with a SAS - authentication type is SAS
49
In Storage Logging, what does authentication type "Success" mean?
- blob is private - access with a storage key - authentication type is authenticated
50
What tool can you use to view and analyze storage log files?
Microsoft Message Analyzer
51
What tool can you use to view the container holding $logs and $metrics ?
Microsoft Azure Storage Explorer
52
Which Azure SQL database model allows you to manage multiple databases in a pool?
Elastic database pools
53
Which Azure SQL database model is appropriate for a small number of databases?
Single databases.
54
For Azure SQL, what are the 4 service tiers?
Basic Standard Premium Premium RS
55
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. ```
56
What is the maximum database size for an Azure SQL database in the BASIC service tier?
2 GB
57
What is the maximum database size for an Azure SQL database in the STANDARD service tier?
250 GB
58
What is the maximum database size for an Azure SQL database in the PREMIUM service tier?
500 GB for P1 | 1 TB for P11
59
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 ```
60
For Azure SQL, what are the 3 types of disaster-recovery features?
Geo-Restore Standard Geo-Replication Active Geo-Replication
61
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
62
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)
63
Which Azure SQL disaster-recovery method enables you to create up to 4 readable secondary databases across multiple Azure regions?
Active Geo-Replication
64
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.
65
How many databases can you store in an Azure Recovery Services vault and for how long?
Up to 1000 per vault for 10 years.
66
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
67
What are the 2 steps for creating an Azure Recovery Services Vault?
1. Create the vault in the same Azure subscription, geo region and resource group. 2. Configure the retention policy for the database in question.
68
What are the 4 steps to enable long-term backup retention of an Azure SQL database?
1. Create an Azure Recovery Services vault in the same region, subscription, and resource group as your SQL database server. 2. Register the server to the vault. 3. Create an Azure Recovery Services protection policy. 4. Apply the protection policy to the databases that require long-term backup retention.
69
What 2 types of interfaces does Azure File Storage support?
SMB | REST
70
What are the 2 ways of securing access to storage data?
Storage Account Keys | Shared Access Sigs (SAS) and Storage Access Policy
71
What type of storage is not available for use with Storage Analytics?
File Storage
72
What kind of storage account uses high-performance SSD's and is recommended for all VM's?
Premium storage