exam questions

Exam 70-740 All Questions

View all questions & answers for the 70-740 exam

Exam 70-740 topic 1 question 217 discussion

Actual exam question from Microsoft's 70-740
Question #: 217
Topic #: 1
[All 70-740 Questions]

DRAG DROP -
You have a server named Server1 that runs Windows Server 2016.
You open a command prompt on Server1 and run the following commands.

You back up the data on Disk 1.
You plan to convert Disk 1 to a GPT disk, and then to restore the data to Disk 1.
Which four DiskPart commands should you run in sequence before you restore the data? To answer, move the appropriate commands from the list of commands to the answer area and arrange them in the correct order.
Select and Place:

Show Suggested Answer Hide Answer
Suggested Answer:
References:
https://www.remosoftware.com/info/convert-gpt-mbr-without-data-loss https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/create-partition-primary

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
SmokaLot
Highly Voted 5 years, 8 months ago
Disk 1 is already selected. In my opinion, answer should be; Clean Convert GPT Create partition primary Format fs=ntfs This way there's also a partition to restore the data to.
upvoted 27 times
coleman
5 years, 8 months ago
sorry , you are wrong
upvoted 2 times
Person
5 years, 8 months ago
I think SmokaLot is right. The question say: "Which four DiskPart commands should you run in sequence before you restore the data". If you dont execute "format fs=ntfs" you cant restore the data because the disk havent File System.
upvoted 12 times
RicardoRyuma
5 years, 8 months ago
SmokaLot is right. Coleman are wrong
upvoted 14 times
...
...
zach
5 years, 2 months ago
NO You are wrong
upvoted 1 times
...
Dave_Holden
5 years ago
Coleman is correct. The task is to convert the partition to GPT and put the data back. We do not know what format the data was in. It could be FAT32 or ReFS. Doesn't matter. The existing partition was marked primary and was 100% allocated for Disk 1. So, the format command is ruled out. So the only other usable command is select disk. Even though technically we don't need to enter it again because disk 1 is already selected, it's the only valid option left for the 4th command REQUIRED.
upvoted 1 times
Dave_Holden
5 years ago
Also we have left diskpart during the steps. "You back up the data on Disk 1." Recall that we backed up the data before doing the conversion. That means we left diskpart did the backup and then have to come back and run diskpart again to change the drive with these new 4 commands. Tricky....
upvoted 1 times
gd1f365
4 years, 9 months ago
"That means we left diskpart did the backup and then have to come back and run diskpart again" - Wrong. You can backup the data without leaving Diskpart. You cannot restore the data without a filesystem, so setting a filesystem MUST be the final command.
upvoted 1 times
Dave_Holden
4 years, 8 months ago
A file system is not needed to be set. It's in the backup data already. Only needs a partition that is sized at least equal to the backup data. If you have ever backed up a HDD or transferred data from one HDD to another blank NEW HDD you would notice the same thing. New drives come blank. Do you need to format them before you transfer the data from the other drive? No. They just need to be initialised with GPT or MBR. Then the backup/restore software has you pick your source data, and then asks you to size a partition on the new drive before it then copies that source data that already carries the format, NTFS, ReFS, FAT32 etc.
upvoted 1 times
...
...
...
...
...
lbs
5 years, 2 months ago
I agree. The question itself has already selected Disk 1
upvoted 2 times
...
...
popcar11
Highly Voted 5 years, 1 month ago
Please read the question carefully, "You back up the data on Disk 1." - He is not on the cmd anymore.
upvoted 6 times
gd1f365
4 years, 9 months ago
Incorrect. Also, even if that was the case, you couldn't run "select disk 1" as the first command, as are outside cmd, so you would need to open cmd and run "diskpart" as the first command.
upvoted 1 times
...
...
Ahmedprof
Most Recent 4 years, 7 months ago
@person is right... you must format the hard disk
upvoted 1 times
...
Dave_Holden
4 years, 8 months ago
Where was the requirement to format the drive to NTFS? NOWHERE. The backup image holds the required format. Don't MESS WITH IT
upvoted 2 times
...
Tenshi
4 years, 9 months ago
My 5 cents on this MS question, not 100% sure but: "Which four DiskPart commands should you run in sequence before you restore the data?" This means the disk should be ready for restoring, thus the last step must make the disk operational. The only selection that provides that is "Format fs=ntfs " Taking things backward you you get.. Clean Convert GPT Create Partition Primary Format FS=NTFS This also solves the dilemma if the disk is already selected or not.... Agree at your own risk.
upvoted 1 times
abhic25
4 years, 9 months ago
I think we no need to assume scenarios ourself, as stated in the question they asking what you will do just before data restoration, so they came until below steps Clean Convert GPT Create Partition Primary Format FS=NTFS
upvoted 1 times
...
...
Jacky2020
4 years, 10 months ago
It is a little tricky because it just says you open a command prompt on Server1 and run the following commands and those commands are only for showing the current state, it does not say that you have to keep going to do the rest of parts, it seems that it has already left out of the command situation, just to bring up a main question here to say that you back up the data on Disk 1, and here you then return back to the initial settings, it does not mention you cannot open another command prompt to enter the command from the very beginning.
upvoted 1 times
...
sachi_j
4 years, 11 months ago
Select Disk 1 is already selected. I tried using my flash drive to simulate. this is the output Microsoft DiskPart version 10.0.18362.1 PS C:\WINDOWS\system32> diskpart Microsoft DiskPart version 10.0.18362.1 Copyright (C) Microsoft Corporation. On computer: DISKPART> list disk Disk ### Status Size Free Dyn Gpt -------- ------------- ------- ------- --- --- Disk 0 Online 465 GB 0 B Disk 1 Online 7381 MB 7380 MB DISKPART> select disk 1 Disk 1 is now the selected disk. DISKPART> list partition There are no partitions on this disk to show. DISKPART> clean DiskPart succeeded in cleaning the disk. DISKPART> convert gpt DiskPart successfully converted the selected disk to GPT format. DISKPART> format fs=ntfs quick There is no volume selected. Please select a volume and try again. DISKPART> create partition primary DiskPart succeeded in creating the specified partition. DISKPART> format fs=ntfs quick There is no volume selected. Please select a volume and try again. So on my part, it is: Clean Convert GPT Create Partition Primary Format FS=NTFS
upvoted 3 times
...
TA77
4 years, 11 months ago
Firstly, you cannot use "Format fs=ntfs" after "Create Partition Primary". To be able to use "Format fs=ntfs" you should first use "Select Disk" & "Select Partition" commands. Hence, "Format fs=ntfs" is not part of the solution. Moreover, you should use "Select Disk" Before you using "Clean" and after "Create Partition Primary". Therefore, in my opinion, the answer could be either:- Clean Convert GPT Create partition primary Select disk 1 Or :- Select disk 1 Clean Convert GPT Create partition primary I also tested it on a usb drive: 1- https://ibb.co/fxhrz9P 2- https://ibb.co/QrGbC0R Note: As in the first image, I tried to run "format fs=ntfs" directly after "Create Partition Primary" but it returned a list of commands, which means I have to select a disk and partition before creating a file system. Reference: https://docs.microsoft.com/en-us/windows-server-essentials/install/create-a-bootable-usb-flash-drive
upvoted 3 times
Jrhord
4 years, 9 months ago
In your example https://ibb.co/fxhrz9P you missspelt format which is why you returned thoes options ( you put fortmat )
upvoted 3 times
...
...
Robbie
5 years ago
The question does not state what format the data is in, for all we know it could already be in an NTFS format, so format fs=ntfs is an assumption. also if you read carefully, it already said ''you back up data on disk 1'' which means disk 1 is already removed from the cmd thus, you have to reselect.
upvoted 1 times
...
khalid86
5 years, 2 months ago
Hi all, I have proof that the answer in the question is 100% correct. See the link below. It says that after creating a partition you have to select partition before you format it. There is no command for select partition and the question asks about commands in sequence. https://docs.microsoft.com/en-us/windows-server-essentials/install/create-a-bootable-usb-flash-drive
upvoted 1 times
khalid86
5 years, 2 months ago
Sorry. I have tested in the lab. When you create partition primary, the disk part auto select the partition, only you need to format the partition without selecting it. So the correct answer is Clean Convert GPT create partition primary format=ntfs
upvoted 4 times
...
...
Thermal
5 years, 3 months ago
It's infuriating knowing that the correct answer is absolutely... Clean Convert GPT Create partition primary Format fs=ntfs It states above in the scenario that you.. "You open a command prompt on Server1 and run the following commands." Then it states "Select Disk 1" The disk will stay selected until you close your prompt or select another disk. That and you cannot restore data without formatting the partition. I'm going with the correct answer above but I can't shake the feeling I'll get it marked wrong because, well Microsoft hasn't checked the question, hopefully they use metrics and everyone choosing the same answer which isn't there's has led them to update it but i think that's just wishful thinking.
upvoted 3 times
...
NOKI
5 years, 4 months ago
Hi, Anyone got this question on test day?. I believe no need to use add select 1
upvoted 1 times
...
Ben22
5 years, 5 months ago
You plan to convert Disk 1 to a GPT disk, and then to restore the data to Disk 1. Which four DiskPart commands should you run in sequence before you restore the data? NOT selected Disk one, so you have to select the Disk Which is Disk 1. So the given answer is correct.....!!
upvoted 2 times
Dejvoch
5 years, 5 months ago
If you read carefully you'll see that there is "Select disk" already mentioned. So from my point of view disk is selected, therefore SmokaLot seems to be answered right.
upvoted 6 times
...
...
rashad040
5 years, 8 months ago
https://docs.microsoft.com/en-us/windows-server-essentials/install/create-a-bootable-usb-flash-drive
upvoted 3 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 ...