exam questions

Exam AZ-104 All Questions

View all questions & answers for the AZ-104 exam

Exam AZ-104 topic 6 question 16 discussion

Actual exam question from Microsoft's AZ-104
Question #: 16
Topic #: 6
[All AZ-104 Questions]

DRAG DROP -
You have an Azure Linux virtual machine that is protected by Azure Backup.
One week ago, two files were deleted from the virtual machine.
You need to restore the deleted files to an on-premises Windows Server 2016 computer as quickly as possible.
Which four actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
Select and Place:

Show Suggested Answer Hide Answer
Suggested Answer:
Step 1: From the Azure portal, click File Recovery from the vault
Step 2. Select a restore point that contains the deleted files
Step 3: Download and run the script to mount a drive on the local computer
Generate and download script to browse and recover files:
Step 4: Copy the files using File Explorer!
After the disks are attached, use Windows File Explorer to browse the new volumes and files. The restore files functionality provides access to all files in a recovery point. Manage the files via File Explorer as you would for normal files.
Step 1-3 below:
To restore files or folders from the recovery point, go to the virtual machine and perform the following steps:
1. Sign in to the Azure portal and in the left pane, select Virtual machines. From the list of virtual machines, select the virtual machine to open that virtual machine's dashboard.
2. In the virtual machine's menu, select Backup to open the Backup dashboard.
3. In the Backup dashboard menu, select File Recovery.

The File Recovery menu opens.

4. From the Select recovery point drop-down menu, select the recovery point that holds the files you want. By default, the latest recovery point is already selected.
5. Select Download Executable (for Windows Azure VMs) or Download Script (for Linux Azure VMs, a python script is generated) to download the software used to copy files from the recovery point.
Running the script and identifying volumes:
For Linux machines, a python script is generated. Download the script and copy it to the relevant/compatible Linux server.
Reference:
https://docs.microsoft.com/en-us/azure/backup/backup-azure-restore-files-from-vm https://docs.microsoft.com/en-us/azure/backup/backup-azure-vms-automation#restore-files-from-an-azure-vm-backup

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
biglebowski
Highly Voted 3 years, 5 months ago
Restore of Linux VM can be only performed on compatiblie Linux client. In my opinion correct order is: Step 1: From the Azure portal, click File Recovery from the vault Step 2. Select a restore point that contains the deleted files Step 3: Download and run the script to mount a drive on the local computer (LINUX!!!) Step 4. Copy the files by using AZCopy (yes, to blob storage and next to Windows 2016)
upvoted 77 times
bur88
2 years, 9 months ago
we should restore As soon as possible. File explorer will be faster than AZCopy to blob storage and next to Windows 2016. I would select Step 1: From the Azure portal, click File Recovery from the vault Step 2. Select a restore point that contains the deleted files Step 3: Download and run the script to mount a drive on the local computer (Windows scripts can be created aswell) Step 4. Copy the files by using File explorer
upvoted 48 times
Lexxsuse
1 year, 11 months ago
It's only there's no File Explorer on Linux. And since we are required to restore Linux backup we seem to do that on Linux machine only. So I believe we should go with some console option. Like AZCopy.
upvoted 6 times
Fabian_G
1 year, 4 months ago
In question - "Restore the deleted files to an on-premises Windows Server 2016 computer as quickly as possible" so Bur88 is correct
upvoted 7 times
...
...
...
magichappens
2 years, 8 months ago
It's an on-premise Windows Server. AzCopy will take way to long. Assuming that I have access to the server anyhow I can just copy files using File Explorer.
upvoted 10 times
...
Magis
2 years, 2 months ago
Agree with bur88 and magichappens. Completed this procedure multiple times in practice and you can use File Explore for sure.
upvoted 6 times
...
...
clouddba
Highly Voted 3 years, 5 months ago
Watch out for below context: "You need to restore the deleted files to an on-premises Windows Server 2016 computer" Answer would be: Copy the files by using File Explorer. "You need to restore the deleted files to an on-premises computer" Answer would be: Copy the files by using AZ Copy.
upvoted 49 times
...
SeMo0o0o0o
Most Recent 2 months ago
CORRECT
upvoted 2 times
...
23169fd
6 months ago
Given answer is correct: 1. From the Azure portal, click File Recovery from the vault. 2. Select a restore point. 3. Download and run the script. 4. Copy file using File Explorer.
upvoted 1 times
...
kun12345678
9 months, 1 week ago
Question came in my exam on 28 Feb 2024. Be careful!
upvoted 3 times
...
nmnm22
1 year, 2 months ago
this question came in my exam 25/9/2023
upvoted 4 times
...
hidefo6963
1 year, 2 months ago
Tested in a Lab. A downloaded Python script on a Windows machine crashes with an error "AttributeError: module 'os' has no attribute 'getuid'". The code shows the text: This script can be run on a machine with below operation systems. print("Ubuntu 12.04 and above") print("CentOS 6.5 and above") print("RHEL 6.7 and above") print("Debian 7 and above") print("Oracle Linux 6.4 and above") print("SLES 12 and above") print("OpenSUSE 42.2 and above")
upvoted 1 times
...
RandomNickname
1 year, 5 months ago
Given answer is correct; See; https://learn.microsoft.com/en-us/azure/backup/backup-azure-restore-files-from-vm When at download script stage in Az backup select which flavour of script as per below from url; "Select Download Executable (for Windows Azure VMs) or Download Script (for Linux Azure VMs, a Python script is generated) to download the software used to copy files from the recovery point."
upvoted 4 times
...
djgodzilla
1 year, 9 months ago
Correct Answer . see link https://learn.microsoft.com/en-us/azure/backup/backup-azure-restore-files-from-vm
upvoted 1 times
...
SedateBloggs
1 year, 9 months ago
Answer is that it can only be run on a linux client. You cant run the downloaded linux script on a windows system. Ive lab'd this and looked at the python scirpt this would download in this specific example and the python script that downloads refers to os.getuid() and this method is available only on UNIX platforms. In addtion, the script that downloads states in the script itself "print("This script can be run on a machine with below operation systems.") print("Ubuntu 12.04 and above") print("CentOS 6.5 and above") print("RHEL 6.7 and above") print("Debian 7 and above") print("Oracle Linux 6.4 and above") print("SLES 12 and above") print("OpenSUSE 42.2 and above")
upvoted 2 times
...
[Removed]
1 year, 11 months ago
On the test!
upvoted 7 times
...
klexams
2 years, 1 month ago
this one is misleading coz "In Linux, the OS of the computer used to restore files must support the file system of the protected virtual machine" so you cannot restore it to Windows machine. https://learn.microsoft.com/en-us/azure/backup/backup-azure-restore-files-from-vm#for-linux-os BUT for the sake of answering: - click File recovery - select restore point - download and run script - copy files using file explorer
upvoted 2 times
...
Herald3883
2 years, 2 months ago
Linux VM to Windows VM restore won't work as this is what the documentation says, In Linux, the OS of the computer used to restore files must support the file system of the protected virtual machine. Windows doesn't support Linux filesystems natively at least.
upvoted 1 times
...
EmnCours
2 years, 3 months ago
Step 1: From the Azure portal, click File Recovery from the vault Step 2. Select a restore point that contains the deleted files Step 3: Download and run the script to mount a drive on the local computer (Windows scripts can be created aswell) Step 4. Copy the files by using File explorer
upvoted 4 times
...
Lazylinux
2 years, 5 months ago
Given Answer is correct as you are restoring on Windows system Step 1: From the Azure portal, click File Recovery from the vault Step 2. Select a restore point that contains the deleted files Step 3: Download and run the script to mount a drive on the local computer -Windows 2016, when you run it it will download VHD and automatically mount it then you just need explorer to find the files Step 4. Copy the files by using Explorer
upvoted 7 times
...
justauser
2 years, 8 months ago
Answer is CORRECT https://docs.microsoft.com/en-us/azure/backup/backup-azure-restore-files-from-vm Scroll about halfway and see red box highlighting "1 Recovery volumes attached" in screencap, immediately followed by "OPEN EXPLORER TO BROWSE FOR FILES" - nowhere does it suggest azcopy, even for Linux.
upvoted 3 times
...
Dobby25
2 years, 8 months ago
Received this on my exam today 19/03/2022
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...