RANGER GAMEZ

Microsoft Azure Fundamentals (AZ-900) · chapter 9 of 14

Three copies or six?

Objective 2.3

Redundancy options

Copies in the primary region

Azure Storage always stores multiple copies of your data so a failed drive or server doesn't lose it. Two choices keep all copies in the primary region:

  • Locally redundant storage (LRS): three copies in one datacenter. Cheapest; survives a failed disk or rack, not a disaster that takes out the datacenter. At least 11 nines (99.999999999%) durability a year
  • Zone-redundant storage (ZRS): three copies spread across three availability zones in the region. Data stays available even if a whole zone goes down. At least 12 nines
Four Azure Storage redundancy options, each a row with a count of copies. LRS, locally redundant storage: 3 copies in one datacenter in the primary region; it guards against drive, server and rack failures but not a datacenter disaster. ZRS, zone-redundant storage: 3 copies, one in each of three availability zones of the primary region, written at the same time. GRS, geo-redundant storage: LRS in the primary region plus an asynchronous copy to the paired secondary region, where it is stored with LRS again, 6 copies in total. GZRS, geo-zone-redundant storage: ZRS in the primary region plus an asynchronous LRS copy in the secondary region, also 6 copies. A card underneath explains the read-access variants, RA-GRS and RA-GZRS: you can read the secondary copy at any time, while plain GRS and GZRS let you use it only after a failover. A note warns that the geo copy is asynchronous, so the newest writes can be lost in a disaster.
LRS: 3 copies, 1 datacenter. ZRS: 3 copies, 3 zones. GRS: LRS + async copy to the paired region (6). GZRS: ZRS + paired region (6). RA- versions let you read the secondary any time.

Copies in a second region

The geo options add three more copies in a secondary region hundreds of miles away, usually the primary region's pair: six copies in total. Data is copied to the secondary region asynchronously.

  • Geo-redundant storage (GRS): LRS in the primary region plus LRS in the secondary region
  • Geo-zone-redundant storage (GZRS): ZRS in the primary region plus LRS in the secondary region. The most protection: survives a zone outage and a regional disaster

Exam tip GRS and GZRS are designed for at least 16 nines of durability. Their secondary copies can't be read until a failover, unless you choose a read-access option.

Read access: RA-GRS and RA-GZRS

With plain GRS or GZRS, the secondary copies exist for recovery only: you can't read them until a failover makes the secondary region the new primary. Read-access geo-redundant storage (RA-GRS) and read-access geo-zone-redundant storage (RA-GZRS) let apps read from the secondary region at any time through a separate secondary endpoint, so reads keep working while the primary region is down.

Rosa: So RA stands for Really Available?

Dev: Read Access. But yours is easier to remember.

Exam tip Because geo copying is asynchronous, the secondary can lag behind the primary: the newest writes may not be there yet.

Picking one

Ask two questions. First, what must the data survive: a failed disk or rack (LRS), a whole zone going down (ZRS), or a regional disaster (GRS or GZRS)? Second, must apps keep reading it during a regional outage (add RA-)? More protection costs more, so match the option to the data. One catch: the archive tier works only in LRS, GRS and RA-GRS accounts, not zone-redundant ones.

Mr. Barkley: So the flood question has an answer. And a price tag.

Dev: Every answer in the cloud has a price tag. This one's worth reading.

Check yourself 1Order history must survive the loss of a whole Azure region, the reporting app must keep reading it during that outage, and the primary region copies must survive a zone failure. Which option fits?

  1. ZRS
  2. GRS
  3. RA-GZRS
  4. LRS
Show the answer

Answer: C. RA-GZRS

GZRS spreads the primary copies across zones and adds a secondary region; the RA- version lets apps read the secondary at any time.

Check yourself 2Which option keeps three copies of the data in a single datacenter, and nothing more?

  1. Zone-redundant storage (ZRS)
  2. Locally redundant storage (LRS)
  3. Geo-redundant storage (GRS)
  4. Read-access geo-redundant storage (RA-GRS)
Show the answer

Answer: B. Locally redundant storage (LRS)

LRS keeps three copies inside one datacenter in the primary region. It's the lowest-cost option.

Objective 2.3

Options for moving files

AzCopy

AzCopy is a command-line utility for copying blobs or files to or from a storage account, or between storage accounts. Because it's a command, you can script it and schedule it. It can also synchronize in one direction, making the destination match the source; it doesn't sync both ways.

azcopy copy 'C:\exports' '<URL>' --recursive
A picker for moving data into Azure. At the top: what is the job? Each row leads from a need to a tool. Script or sync copies from the command line: AzCopy. Browse and drag and drop in a desktop app: Azure Storage Explorer, which uses AzCopy underneath. Keep an on-premises Windows file server in sync with Azure Files, caching hot files locally: Azure File Sync. Discover, assess and move servers, databases and web apps: Azure Migrate. Huge data, or a slow or costly network, so ship a device instead: Azure Data Box, best for about 40 TB or more.
AzCopy: command line. Storage Explorer: a desktop app. Azure File Sync: file server plus Azure Files. Azure Migrate: move servers and apps. Data Box: ship huge data on a device.

Azure Storage Explorer

Azure Storage Explorer is a free standalone app for Windows, macOS and Linux with a graphical interface. You browse storage accounts like folders and upload, download or move blobs and files with clicks. Under the hood it uses AzCopy for transfers. Handy for people who'd rather not type commands.

Priya: That's the one going on the help desk laptops.

Azure File Sync

Azure File Sync keeps Windows file servers and an Azure Files share in sync, in both directions. The local server works like a fast cache: users keep their mapped drives and shortcuts. With cloud tiering, rarely used files are kept only in Azure and leave a pointer behind, freeing local disk space, while frequently used files stay local. You can sync several servers to one share, and if a server fails, just install File Sync on a new one.

Exam tip Two-way sync that keeps an on-premises Windows file server = Azure File Sync. Scripted copy or one-way sync = AzCopy. Point and click = Storage Explorer.

Check yourself 3Rosa wants staff to keep using the warehouse file server and its mapped drive, while the files are also kept in Azure and old files stop filling the server's disk. Which tool fits?

  1. AzCopy
  2. Azure Storage Explorer
  3. Azure Data Box
  4. Azure File Sync
Show the answer

Answer: D. Azure File Sync

File Sync keeps the local Windows file server and an Azure Files share in sync both ways, and cloud tiering moves rarely used files off the local disk.

Objective 2.3

Migration options

Azure Migrate

Azure Migrate is a hub for moving to Azure. From one place you discover what you run on premises, assess whether it's ready for Azure and what it would cost there, and migrate it. It covers servers, databases, web apps and virtual desktops, and it brings together integrated tools such as Azure Database Migration Service and Azure Data Box, plus partner tools.

Maya: Before we move anything, I want a list of what's still in Pawsome's back room and what it would cost in Azure.

Dev: That's Azure Migrate's first job.

Azure Data Box

When the network is too slow, ship the data. Azure Data Box is a rugged, encrypted device Microsoft sends you. Copy data onto it, ship it back, and Microsoft uploads it to your storage account. Current devices hold 120 TB or 525 TB (the older model held 80 TB); Data Box Disk covers smaller jobs. It also works in reverse, to export data out of Azure.

  • One-time moves of lots of data, like media libraries or backups
  • Sites with little or no network bandwidth
  • Exporting data from Azure, for disaster recovery or a move back on premises

Sam: Sixty terabytes over our line: weeks. A box on a truck: days.

Exam tip Lots of data + slow network = Data Box. 'Discover and assess first' = Azure Migrate.

Check yourself 4Before moving anything, Maya wants a list of Pawsome's remaining on-premises servers and an estimate of what they'd cost to run in Azure. Which service fits?

  1. Azure Migrate
  2. Azure Data Box
  3. AzCopy
  4. Azure File Sync
Show the answer

Answer: A. Azure Migrate

Azure Migrate discovers on-premises servers, assesses their readiness and estimates Azure costs, then helps migrate them.

Practice questions

Answer in your head, then open the answer. Ranger's Sky Desk has 482 questions like these for Azure Fundamentals, with mock exams.

Question 1Dev is designing order messages for Azure Queue Storage. What is the maximum size of one message?

  1. 64 MB
  2. 1 GB
  3. 4 MB
  4. 64 KB
Show the answer

Answer: D. 64 KB

Each Queue Storage message can be up to 64 KB, and a queue can hold millions of them. Larger payloads go in Blob Storage with a reference in the message.

Question 2Sam asks Priya about Azure Files shares. Which statement is true?

  1. Azure Files stores data as NoSQL entities
  2. A share can be mounted by only one VM at a time, like a data disk
  3. Files are reachable only through the REST API
  4. A share can be mounted at once by cloud VMs and on-premises PCs
Show the answer

Answer: D. A share can be mounted at once by cloud VMs and on-premises PCs

Azure Files shares can be mounted concurrently by cloud and on-premises machines over SMB or NFS, which makes them easy replacements for on-premises file servers.

Question 3Dev is deciding what to keep in Blob Storage. Which needs is Blob Storage designed for? Choose two.

  1. Mapping a drive letter over SMB
  2. Streaming video and audio
  3. Storing backups and archive data
  4. Providing the boot volume for a VM
  5. Passing messages between parts of an app
Show the answer

Answers: B. Streaming video and audio, C. Storing backups and archive data

Microsoft lists serving images and documents, streaming video and audio, storing backups and archives, and storing data for analysis as Blob Storage uses.

Question 4Read the exhibit. Which assignment of Azure Storage services fits all four Pawsome Pets data needs?

  1. 1 Blob, 2 Files, 3 Queue, 4 Disks
  2. 1 Files, 2 Blob, 3 Queue, 4 Disks
  3. 1 Blob, 2 Disks, 3 Queue, 4 Files
  4. 1 Blob, 2 Files, 3 Table, 4 Disks
Show the answer

Answer: A. 1 Blob, 2 Files, 3 Queue, 4 Disks

Long-term exports are unstructured objects (Blob), shared folders are Azure Files, work signals are Queue Storage, and a VM's OS drive is a managed disk.

Question 5Which blob access tier has the lowest storage cost, but keeps data offline so it must be rehydrated before it can be read?

  1. Archive
  2. Cool
  3. Cold
  4. Hot
Show the answer

Answer: A. Archive

The archive tier is offline and has the lowest storage cost but the highest retrieval cost; blobs must be rehydrated to an online tier first, which can take hours.

Practice it in Ranger's Sky DeskThe same lessons as a story, with drills, hands-on labs and mock exams. Free, in your browser.
Play free

Microsoft, Azure, Intune and Windows are trademarks of the Microsoft group of companies. Ranger Gamez is not affiliated with or endorsed by Microsoft. The practice questions are written to the published exam objectives; they are not real exam questions.