Launch price: every exam for $29.99 a year, for the first 300 buyers. See the price

CertStreak
Menu

Configure and validate snapshots and backups for SAP workloads

A worked example

Single answer

An SAP application server runs on an Azure Linux VM that has an OS disk and three data disks. The VM is protected by Azure VM backup to a Recovery Services vault. You use the Linux pre-script and post-script framework for application-consistent backups. The current VMSnapshotScriptPluginConfig.json file has continueBackupOnFailure set to false and fsFreezeEnabled set to true.

When the pre-script fails, Azure Backup must fall back to a file system consistent or crash consistent backup instead of failing the backup job.

Which change should you make to VMSnapshotScriptPluginConfig.json?

Choose one answer
Why

The continueBackupOnFailure setting decides what happens when a pre-script or post-script fails. When it is true, Azure Backup falls back to a file system consistent or crash consistent backup. When it is false, the backup fails, except on single-disk VMs. This VM has data disks, so the setting must be changed to true to meet the requirement.

  • Not correct: Set preScriptNoOfRetries to 3. This setting only controls how many times the pre-script is retried before it terminates. If the script keeps failing, the backup still fails while continueBackupOnFailure is false.
  • Not correct: Set timeoutInSeconds to 1800. This setting only sets the script timeout, and 1800 is the maximum. It does not change what happens after a script fails.
  • Not correct: Set ScriptsExecutionPollTimeSeconds to 5. This setting only controls how often the extension polls for script completion. It has no effect on the fallback behavior after a script failure.
  • Not correct: Set fsFreezeEnabled to false. fsFreezeEnabled only controls whether Linux fsfreeze is called for file system consistency. With continueBackupOnFailure still false, a script failure still fails the backup on this multi-disk VM.
  • Correct: Set continueBackupOnFailure to true. When continueBackupOnFailure is true, Azure Backup falls back to a file system consistent or crash consistent backup if the pre-script or post-script fails.

Practise this topic until it's automatic.

Ten questions a day, every answer explained, and misses that come back until you beat them.

Start free