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
Q

What are the 4 types of storage redundancy?

A

LRS - Locally Redundant Storage

GRS - Geo-Redundant Storage

RA-GRS - Read-Access Geo-Redundant Storage

ZRS - Zone-Redundant Storage

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

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?

A

ZRS

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

What type of storage redundancy has no metrics or logging capability?

A

ZRS

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

Which type of storage redundancy makes 3 copies of all data within a single region before a write is deemed successful?

A

LRS

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

What type of storage redundancy makes 3 synchronous copies of the data in the primary region and 3 replicas in a paired region?

A

GRS

30
Q

What type of storage redundancy uses GRS plus the ability to read data in the secondary region?

A

RA-GRS

31
Q

What are the 2 types of SAS?

A

Service SAS

Account SAS

32
Q

What type of SAS service delegates access to a resource in just one of the storage services: the Blob, Queue, Table, or File service.

A

Service SAS

33
Q

What type of SAS delegates access to resources in one or more of the storage services?

A

Account SAS

34
Q

What are the parameters for a service SAS token?

A

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
Q

What are the parameters for an account SAS token?

A
  • Service or services.

- Storage resource types.

36
Q

How to specify storage services version in an SAS?

A

sv=

37
Q

How to specify start time in an SAS?

A

st=

38
Q

How to specify expiry time in an SAS?

A

se=

39
Q

How to specify a resource in an SAS?

A

sr=

40
Q

How to specify permissions in an SAS?

A

sp=

41
Q

How to specify an IP range in an SAS?

A

sip=

42
Q

How to specify a protocol in an SAS?

A

spr=

43
Q

How to specify a signature in an SAS?

A

sig=

44
Q

How do you asynchronously copy blob data?

A

Use the AzCopy utility

45
Q

How do you enable storage logging and configure retention periods in the Azure Portal?

A
  1. Go to storage account
  2. Go to monitoring
  3. Go to Diagnostics blade.
46
Q

How to you enable storage logging via Powershell?

A

Use the Set-AzureStorageServiceLoggingProperty cmdlet.

47
Q

In Storage Logging, what does authentication type “AnonymousSuccess” mean?

A
  • blob is public
  • accessed via URL without a SAS
  • authentication type is anonymous
48
Q

In Storage Logging, what does authentication type “SASSuccess” mean?

A
  • blob is private
  • accessed with a SAS
  • authentication type is SAS
49
Q

In Storage Logging, what does authentication type “Success” mean?

A
  • blob is private
  • access with a storage key
  • authentication type is authenticated
50
Q

What tool can you use to view and analyze storage log files?

A

Microsoft Message Analyzer

51
Q

What tool can you use to view the container holding $logs and $metrics ?

A

Microsoft Azure Storage Explorer

52
Q

Which Azure SQL database model allows you to manage multiple databases in a pool?

A

Elastic database pools

53
Q

Which Azure SQL database model is appropriate for a small number of databases?

A

Single databases.

54
Q

For Azure SQL, what are the 4 service tiers?

A

Basic
Standard
Premium
Premium RS

55
Q

For Azure SQL, how is performance expressed within each tier?

A
WIth DTUs (database throughput units) and "Performance Level"
eDTUs (elastic database transaction units) are used for elastic pools.
56
Q

What is the maximum database size for an Azure SQL database in the BASIC service tier?

A

2 GB

57
Q

What is the maximum database size for an Azure SQL database in the STANDARD service tier?

A

250 GB

58
Q

What is the maximum database size for an Azure SQL database in the PREMIUM service tier?

A

500 GB for P1

1 TB for P11

59
Q

For Azure SQL, what are the timeframes for a point-in-time restore for each database tier?

A
Basic = 7 days
Standard = 14 days
Premium = 35 days
60
Q

For Azure SQL, what are the 3 types of disaster-recovery features?

A

Geo-Restore
Standard Geo-Replication
Active Geo-Replication

61
Q

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?

A

Geo-Restore

62
Q

Which Azure SQL disaster-recovery method enables you to create a single offline secondary database in the paired region of the primary database?

A

Standard Geo-Replication (retired in March 2017)

63
Q

Which Azure SQL disaster-recovery method enables you to create up to 4 readable secondary databases across multiple Azure regions?

A

Active Geo-Replication

64
Q

What are the 3 types of databases in an Azure sync group?

A

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
Q

How many databases can you store in an Azure Recovery Services vault and for how long?

A

Up to 1000 per vault for 10 years.

66
Q

What are the 3 requirements for an Azure Recovery Services vault?

A
  • must create the vault in the same Azure subscription that created the SQL server
  • same geographic region
  • same resource group
67
Q

What are the 2 steps for creating an Azure Recovery Services Vault?

A
  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
Q

What are the 4 steps to enable long-term backup retention of an Azure SQL database?

A
  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
Q

What 2 types of interfaces does Azure File Storage support?

A

SMB

REST

70
Q

What are the 2 ways of securing access to storage data?

A

Storage Account Keys

Shared Access Sigs (SAS) and Storage Access Policy

71
Q

What type of storage is not available for use with Storage Analytics?

A

File Storage

72
Q

What kind of storage account uses high-performance SSD’s and is recommended for all VM’s?

A

Premium storage