Exam EX200 All QuestionsBrowse all questions from this exam
Question 19

SIMULATION -

Download ftp://192.168.0.254/pub/boot.iso to /root, and mounted automatically under /media/cdrom and which take effect automatically at boot-start.

    Correct Answer:

    To download the file from the FTP server and mount it under /media/cdrom, and to ensure it is mounted automatically on boot, you should follow these steps precisely. First, navigate to the /root directory and use wget to download the file from the FTP server with the command: 'cd /root; wget ftp://192.168.0.254/pub/boot.iso'. Next, create the directory /media/cdrom if it does not already exist with: 'mkdir -p /media/cdrom'. Then, you need to edit the /etc/fstab file to add an entry that will mount the ISO file automatically at boot. Edit the file by adding the following line: '/root/boot.iso /media/cdrom iso9660 defaults,loop 0 0'. You can use a text editor like vim to do this ('vim /etc/fstab'). Finally, execute 'mount -a' to mount the ISO file immediately. This ensures that the ISO will be mounted under /media/cdrom both immediately and automatically on future system boots.

Discussion
jahmad0730

Is this on the exam in 2023 May? Earlier post says FTP stuff is not on exam???

JAlley1403

Did you ever receive a response? I take the exam soon and would like to know how I should best prepare.

AdhamObada95

I think that using wget or something like lftp to download a file from an FTP server does not equate to configuring an FTP server. It is just a simple command to download a file anyway, so just learn it.