PrepAway - Latest Free Exam Questions & Answers

Which of the below mentioned activities is the user performing with the command given above?

A user runs the command “dd if=/dev/zero of=/dev/xvdfbs=1M” on a fresh blank EBS volume attached to a
Linux instance. Which of the below mentioned activities is the user performing with the command given
above?

PrepAway - Latest Free Exam Questions & Answers

A.
Creating a file system on the EBS volume

B.
Mounting the device to the instance

C.
Pre warming the EBS volume

D.
Formatting the EBS volume

Explanation:
When the user creates a new EBS volume and is trying to access it for the first time it will encounter reduced
IOPS due to wiping or initiating of the block storage. To avoid this as well as achieve the best performance it is
required to pre warm the EBS volume. For a blank volume attached with a Linux OS, the “dd” command is used
to write to all the blocks on the device. In the command “dd if=/dev/zero of=/dev/xvdfbs=1M” the parameter
“if =import file” should be set to one of the Linux virtual devices, such as /dev/zero. The “of=output file”
parameter should be set to the drive that the user wishes to warm. The “bs” parameter sets the block size of
the write operation; for optimal performance, this should be set to 1 MB.

7 Comments on “Which of the below mentioned activities is the user performing with the command given above?

  1. Stan says:

    according press4sure correct answer is C

    Explanation:
    When the user creates a new EBS volume and is trying to access it for the first time it will encounter reduced IOPS due to wiping or initiating of the block storage. To avoid this as well as achieve the best performance it is required to pre warm the EBS volume. For a blank volume attached with a Linux OS, the “dd” command is used to write to all the blocks on the device. In the command “dd if=/dev/zero of=/dev/xvdfbs=1M” the parameter “if =import file” should be set to one of the Linux virtual devices, such as/dev/zero. The “of=output file” parameter should be set to the drive that the user wishes to warm. The “bs” parameter sets the block size of the write operation; for optimal performance, this should be set to 1
    MB.




    0



    0
  2. srikanth says:

    correct answer is D.

    it will erase all the data.Never try those command on production data

    for pre warming it should be

    dd if=/dev/xvdf of=/dev/zero bs=1M




    0



    0

Leave a Reply

Your email address will not be published. Required fields are marked *