Categories
101-500 Dumps

101-500 Real Exam Dumps Questions and answers 111-120

Get Full Version of the Exam
http://www.EnsurePass.com/101-500.html

Question No.111

When piping the output of find to the xargs command, what option to find is useful if the filenames have spaces in them?

  1. -rep-space

  2. -print0

  3. -nospace

  4. -ignore-space

Correct Answer: B

Question No.112

What command changes the nice level of a running process? (Specify ONLY the command without any path or parameters)

Correct Answer: renice

Question No.113

Which of the following commands print the current working directory when using a Bash shell? (Choose two.)

  1. echo quot;${PWD}quot;

  2. echo quot;${WD}quot;

  3. pwd

  4. printwd

  5. echo quot;${pwd}quot;

Correct Answer: C

Question No.114

Which of the following commands makes /bin/foo executable by everyone but writable only by its owner?

  1. chmod u=rwx,go=rx /bin/foo

  2. chmod o rwx,a rx /bin/foo

  3. chmod 577 /bin/foo

  4. chmod 775 /bin/foo

Correct Answer: A

Question No.115

Which of the following commands converts spaces in a file to tab characters and prints the result to standard output?

  1. iconv

  2. expand

  3. unexpand

  4. tab

Correct Answer: C

Question No.116

Which of the following file permissions belong to a symbolic link?

A. -rwxrwxrwx

B. rwxrwxrwx

  1. lrwxrwxrwx

  2. srwxrwxrwx

Correct Answer: C

Question No.117

Which of the following commands will produce the following output?

  1. jobs

  2. proclist

  3. netstat

  4. ps

Correct Answer: D

Question No.118

In the vi editor, what vi command will copy (but not paste) from the current line at the cursor and the following 16 lines (17 lines total)? Specify the correct vi command without spaces.

Correct Answer: 17yy

Question No.119

Which of the following commands changes the ownership of file.txt to the user dan and the group staff?

  1. chown dan/staff file.txt

  2. chown dan:staff file.txt

  3. chown -u dan -g staff file.txt

  4. chown dan -g staff file.txt

Correct Answer: B

Question No.120

Which of the following options must be passed to a filesystem#39;s entry in /etc/fstab in order to mount the file system without root privileges?

  1. auto

  2. norestrict

  3. noauto

  4. user

Correct Answer: D

Get Full Version of 101-500 Dumps

Categories
101-500 Dumps

101-500 Real Exam Dumps Questions and answers 121-130

Get Full Version of the Exam
http://www.EnsurePass.com/101-500.html

Question No.121

Which type of filesystem is created by mkfs when it is executed with the block device name only and without any additional parameters?

  1. ext2

  2. ext3

  3. ext4

  4. XFS

  5. VFAT

Correct Answer: A

Question No.122

How can the list of files that would be installed by the RPM package file apache-xml.rpm be previewed?

  1. rpm -qp apache-xml.rpm

  2. rpm -qv apache-xml.rpm

  3. rpm -ql apache-xml.rpm

  4. rpm -qpl apache-xml.rpm

Correct Answer: D

Question No.123

In compliance with the FHS, in which of the following directories are documentation files found?

  1. /usr/share/documentation

  2. /usr/local/share/documentation

  3. /var/share/doc

  4. /usr/share/doc

  5. /etc/share/doc

Correct Answer: C

Question No.124

Which of the following commands can be used to locate programs and their corresponding man pages and configuration files?

  1. dirname

  2. which

  3. basename

  4. query

  5. whereis

Correct Answer: E

Question No.125

Which command reads and displays the current contents of the Kernel Ring Buffer on the command line? (Specify ONLY the command without any path or parameters.)

Correct Answer: dmesg

Question No.126

What does the command mount -a do?

  1. It ensures that all file systems listed with the option noauto in /etc/fstab are mounted.

  2. It shows all mounted file systems that have been automatically mounted.

  3. It opens an editor with root privileges and loads /etc/fstab for editing.

  4. It ensuresthat all file systems listed with the option auto in /etc/fstab are mounted.

  5. It ensures that all file systems listed in /etc/fstab are mounted regardless of their options.

Correct Answer: D

Question No.127

What does the command grub-install /dev/sda do?

  1. GRUB creates partitions on the device/dev/sdato be used with Linux.

  2. GRUB sets the default BIOS boot device to/dev/sda.

  3. GRUB installs all required files and configures the boot loader on device/dev/sda.

  4. GRUB recompiles the Linux Kernel and installs it on the Master Boot Record of device/dev/sda.

Correct Answer: C

Question No.128

Which command shows all shared libraries required by a binary executable or another shared library? (Specify ONLY the command without any path or parameters.)

Correct Answer: ldd

Question No.129

Which of the following commands creates an ext3 filesystem on /dev/sdb1? (Choose TWO correct answers.)

  1. /sbin/mke2fs -j /dev/sdb1

  2. /sbin/mkfs -t ext3 /dev/sdb1

  3. /sbin/mkfs -c ext3 /dev/sdb1

  4. /sbin/mke3fs -j /dev/sdb1

Correct Answer: AB

Question No.130

Which of the following commands updates the already installed RPM package rpmname?

  1. rpm -update rpmname

  2. rpm -U rpmname

  3. rpm -q rpmname

  4. rpm -force rpmname

  5. rpm -u rpmname

Correct Answer: B

Get Full Version of 101-500 Dumps

Categories
101-500 Dumps

101-500 Real Exam Dumps Questions and answers 91-100

Get Full Version of the Exam
http://www.EnsurePass.com/101-500.html

Question No.91

Which of the following commands can be used to determine how long the system has been running? (Choose TWO correct answers.)

  1. uptime

  2. up

  3. top

  4. uname -u

Correct Answer: AC

Question No.92

Which variable defines the directories in which a Bash shell searches for executable commands?

  1. BASHEXEC

  2. BASHRC

  3. PATH

  4. EXECPATH

  5. PATHRC

Correct Answer: C

Question No.93

Which of the following sequences in the vi editor saves the opened document and exits the editor? (Choose TWO correct answers.)

  1. esc ZZ

  2. ctrl :w!

  3. esc zz

  4. esc :wq!

  5. ctrl XX

Correct Answer: AD

Question No.94

Which of the following commands replaces each occurrence of #39;bob#39; in the file letter with #39;Bob#39; and writes the result to the file newletter?

  1. sed #39;/bob/Bob#39; letter gt; newletter

  2. sed s/bob/Bob/ letter lt; newletter

  3. sed#39;s/bob/Bob#39; letter gt; newletter

  4. sed #39;s/bob/Bob/g#39; letter gt; newletter

  5. sed #39;s/bob, Bob/#39; letter gt; newletter

Correct Answer: D

Question No.95

What happens after issuing the command vi without any additional parameters?

  1. vi starts and loads the last file used andmoves the cursor to the position where vi was when it last exited.

  2. vi starts and requires the user to explicitly either create a new or load an existing file.

  3. vi exits with an error message as it cannot be invoked without a file name to operate on.

  4. vi starts in command mode and opens a new empty file.

  5. vi starts and opens a new file which is filled with the content of the vi buffer if the buffer contains text.

Correct Answer: D

Question No.96

What is the purpose of the Bash built-in export command?

  1. It allows disks to be mounted remotely.

  2. It runs a command as a process in a subshell.

  3. It makes the command history available to subshells.

  4. It sets up environment variables for applications.

  5. It shares NFS partitions for use by other systems on the network.

Correct Answer: D

Question No.97

Which of the following commands displays the contents of a gzip compressed tar archive?

  1. gzip archive.tgz | tar xvf –

  2. tar ztf archive.tgz

  3. gzip -d archive.tgz | tar tvf –

  4. tar cf archive.tgz

Correct Answer: B

Question No.98

Which of the following commands will reduce all consecutive spaces down to a single space?

  1. tr #39;\s#39; #39; #39; lt; a.txt gt; b.txt

  2. tr -c #39; #39; lt; a.txt gt; b.txt

  3. tr -d #39; #39; lt; a.txt gt; b.txt

  4. tr -r #39; #39; #39;\n#39; lt; a.txt gt; b.txt

  5. tr -s #39; #39; lt; a.txt gt; b.txt

Correct Answer: E

Question No.99

Which of the following commands will send output from the program myapp to both standard output (stdout) and the file file1.log?

  1. cat lt; myapp | cat gt; file1.log

  2. myapp 0gt;amp;1 | cat gt; file1.log

  3. myapp | cat gt; file1.log

  4. myapp | tee file1.log

  5. tee myapp file1.log

Correct Answer: D

Question No.100

Which of the following commands kills the process with the PID 123 but allows the process to quot;clean upquot; before exiting?

  1. kill -PIPE 123

  2. kill -KILL 123

  3. kill -STOP 123

  4. kill -TERM 123

Correct Answer: D

Get Full Version of 101-500 Dumps

Categories
101-500 Dumps

101-500 Real Exam Dumps Questions and answers 101-110

Get Full Version of the Exam
http://www.EnsurePass.com/101-500.html

Question No.101

Which of the following signals is sent to a process when the key combination CTRL C is pressed on the keyboard?

  1. SIGTERM

  2. SIGINT

  3. SIGSTOP

  4. SIGKILL

Correct Answer: B

Question No.102

From a Bash shell, which of the following commands directly executes the instruction from the file

/usr/local/bin/runme.sh without starting a subshell? (Please select TWO answers.)

  1. source /usr/local/bin/runme.sh

  2. . /usr/local/bin/runme.sh

  3. /bin/bash /usr/local/bin/runme.sh

  4. /usr/local/bin/runme.sh

  5. run /usr/local/bin/runme.sh

Correct Answer: AB

Question No.103

What is the difference between the i and a commands of the vi editor?

  1. i (interactive) requires the user to explicitly switch between vi modes whereas a (automatic) switches modesautomatically.

  2. i (insert) inserts text before the current cursor position whereas a (append) inserts text after the cursor.

  3. i (independent rows) starts every new line at the first character whereas a (aligned rows) keeps the indentation of the previous line.

  4. i (interrupt) temporarily suspends editing of a file to the background whereas a (abort) terminates editing.

Correct Answer: B

Question No.104

What does the symbol mean in the following grep regular expression: grep #39;^d[aei]\ d$#39; /usr/share/dict/words

  1. Match the preceding character set ([aei]) one or more times.

  2. Match the preceding character set ([aei]) zero or more times.

  3. Match the preceding character set ([aei]) zero or one times.

  4. Match a literal symbol.

Correct Answer: A

Question No.105

In Bash, inserting 1gt;amp;2 after a command redirects

  1. standard error to standard input.

  2. standard input to standard error.

  3. standard output to standard error.

  4. standard error to standard output.

  5. standard output to standard input.

Correct Answer: C

Question No.106

Which of the following commands moves and resumes in the background the last stopped shell job?

  1. run

  2. bg

  3. fg

  4. back

Correct Answer: B

Question No.107

Which of the following statements is correct regarding the command foo 1gt; bar?

  1. The stdout from the command foo is appended to the file bar.

  2. The stdout from the command foo overwrites the file bar.

  3. The command foo receives its stdin from the file bar.

  4. The command foo receives its stdin from the stdout of the command bar.

  5. The stderr from the command foo is saved to the file bar.

Correct Answer: B

Question No.108

Which of the following commands is used to change options and positional parameters for a running Bash?

  1. history

  2. set

  3. bashconf

  4. setsh

  5. envsetup

Correct Answer: B

Question No.109

You are trying to make a hard link to an ordinary file but ln returns an error. Which of the following could cause this?

  1. The source file is hidden.

  2. The source file is read-only.

  3. The source file is a shell script.

  4. You do not own the source file.

  5. The source and the target are on different filesystems.

Correct Answer: E

Question No.110

Which of the following commands can be used to create a USB storage media from a disk image?

  1. gdisk

  2. dd

  3. cc

  4. fdisk

  5. mount

Correct Answer: B

Get Full Version of 101-500 Dumps

Categories
101-500 Dumps

101-500 Real Exam Dumps Questions and answers 61-70

Get Full Version of the Exam
http://www.EnsurePass.com/101-500.html

Question No.61

Which of the following characters can be combined with a separator string in order to read from the current input source until the separator string, which is on a separate line and without any trailing spaces, is reached?

  1. lt;lt;

  2. lt;|

  3. !lt;

  4. amp;lt;

Correct Answer: A

Question No.62

Which of the following commands will NOT update the modify timestamp on the file /tmp/myfile.txt?

  1. file /tmp/myfile.txt

  2. echo quot;Helloquot; gt;/tmp/myfile.txt

  3. sed -ie quot;s/1/2/quot; /tmp/myfile.txt

  4. echo -n quot;Helloquot; gt;gt;/tmp/myfile.txt

  5. touch/tmp/myfile.txt

Correct Answer: A

Question No.63

Which of the following explanations are valid reasons to run a command in the background of your shell?

  1. The command does not need to execute immediately.

  2. The command has to run immediately but the user needs to log out.

  3. The system is being shut down and the command needs to restart execution immediately after the reboot.

  4. The command can run at a lower priority than normal commands run on the command line.

Correct Answer: B

Question No.64

Which signal is missing from the following command that is commonly used to instruct a daemon to reinitialize itself, including reading configuration files?

killall -s daemon

Correct Answer: HUP, SIGHUP, 1

Question No.65

Which of the following command sets the Bash variable named TEST with the content FOO?

  1. set TEST=quot;FOOquot;

  2. TEST = quot;FOOquot;

  3. var TEST=quot;FOOquot;

  4. TEST=quot;FOOquot;

Correct Answer: D

Question No.66

In a nested directory structure, which find command line option would be used to restrict the command to searching down a particular number of subdirectories?

  1. -dirmax

  2. -maxdepth

  3. -maxlevels

  4. -n

  5. -s

Correct Answer: B

Question No.67

What command will generate a list of user names from /etc/passwd along with their login shell?

  1. column -s : 1,7 /etc/passwd

  2. chop -c 1,7 /etc/passwd

  3. colrm 1,7 /etc/passwd

  4. cut -d: -f1,7 /etc/passwd

Correct Answer: D

Question No.68

What is the default action of the split command on an input file?

  1. It will break the file into new files of 1,024 byte pieces each.

  2. It will break the file into new files of 1,000 line pieces each.

  3. It will break the file into new files of 1,024 kilobyte pieces each.

  4. It will break the file into new files that are no morethan 5% of the size of the original file.

Correct Answer: B

Question No.69

In compliance with the FHS, in which of the directories are man pages found?

  1. /usr/share/man

  2. /opt/man

  3. /usr/doc/

  4. /var/pkg/man

  5. /var/man

Correct Answer: A

Question No.70

Which character, added to the end of a command, runs that command in the background as a child process of the current shell?

A. !

B.

  1. amp;

  2. %

  3. #

Correct Answer: C

Get Full Version of 101-500 Dumps

Categories
101-500 Dumps

101-500 Real Exam Dumps Questions and answers 71-80

Get Full Version of the Exam
http://www.EnsurePass.com/101-500.html

Question No.71

In the vi editor, how can commands such as moving the cursor or copying lines into the buffer be issued multiple times or applied to multiple rows?

  1. By using the command :repeat followed by the number and the command.

  2. By specifying the number right in front of a command such as 4l or 2yj.

  3. By selecting all affected lines using the shift and cursor keys before applying the command.

  4. By issuing a command such as :set repetition=4 which repeats every subsequentcommand 4 times.

Correct Answer: B

Question No.72

When starting a program with the nice command without any additional parameters, which nice level is set for the resulting process?

A.

-10

B.

0

C.

10

D.

20

Correct Answer: C

Question No.73

In the vi editor, which of the following commands will copy the current line into the vi buffer?

  1. c

  2. cc

  3. 1c

  4. yy

  5. 1y

Correct Answer: D

Question No.74

Which of the following commands prints a list of usernames (first column) and their primary group (fourth column) from the /etc/passwd file?

  1. fmt -f 1,4 /etc/passwd

  2. split -c 1,4 /etc/passwd

  3. cut -d : -f 1,4 /etc/passwd

  4. paste -f 1,4 /etc/passwd

Correct Answer: C

Question No.75

The /etc/ file lists currently mounted devices.

Correct Answer: mtab

Question No.76

A user accidentally created the subdirectory \dir in his home directory. Which of the following commands will remove that directory?

  1. rmdir #39;~/\dir#39;

  2. rmdir quot;~/\dirquot;

  3. rmdir ~/#39;dir#39;

  4. rmdir ~/\dir

  5. rmdir ~/\\dir

Correct Answer: E

Question No.77

Which shell command is used to continue background execution of a suspended command?

  1. amp;

  2. bg

  3. cont

  4. exec

  5. :amp;

Correct Answer: B

Question No.78

Which command displays a list of all background tasks running in the current shell? (Specify ONLY the command without any path or parameters.)

Correct Answer: jobs

Question No.79

Which of the following shell redirections will write standard output and standard error output to a file named filename?

  1. 2gt;amp;1 gt;filename

  2. gt;filename 2gt;amp;1

  3. 1gt;amp;2gt;filename

  4. gt;gt;filename

  5. 1amp;2gt;filename

Correct Answer: B

Question No.80

What does the ? symbol within regular expressions represent?

  1. Match the preceding qualifier one or more times.

  2. Match the preceding qualifier zero or more times.

  3. Match the preceding qualifier zero or one times.

  4. Match a literal ?character.

Correct Answer: C

Get Full Version of 101-500 Dumps

Categories
101-500 Dumps

101-500 Real Exam Dumps Questions and answers 81-90

Get Full Version of the Exam
http://www.EnsurePass.com/101-500.html

Question No.81

What is the default nice level when a process is started using the nice command?

A.

-10

B.

10

C.

20

D.

0

Correct Answer: B

Question No.82

While editing a file in vi, the file changes due to another process. Without exiting vi, how can the file be reopened for editing with the new content?

  1. :r

  2. :n

  3. :w

  4. :e

Correct Answer: D

Question No.83

Regarding the command: nice -5 /usr/bin/prog

Which of the following statements is correct?

  1. /usr/bin/prog is executed with a nice level of -5.

  2. /usr/bin/prog is executed with a nice level of 5.

  3. /usr/bin/prog is executed with a priority of -5.

  4. /usr/bin/prog is executed with a priority of 5.

Correct Answer: B

Question No.84

Which of the following commands determines the type of a file by using a definition database file which contains information about all common file types?

  1. magic

  2. type

  3. file

  4. pmagic

  5. hash

Correct Answer: C

Question No.85

Which of the following commands will print the last 10 lines of a text file to the standard output?

  1. cat -n 10 filename

  2. dump -n 10 filename

  3. head -n 10 filename

  4. tail -n 10 filename

Correct Answer: D

Question No.86

Which of the following are valid stream redirection operators within Bash? (Choose THREE correct answers.)

A. lt;

B. lt;lt;lt;

C. gt;

D. gt;gt;gt;

E. %gt;

Correct Answer: ABC

Question No.87

Which of the following commands prints all files and directories within the /tmp directory or its subdirectories which are also owned by the user root? (Choose TWO correct answers.)

  1. find /tmp -uid root -print

  2. find -path /tmp -uid root

  3. find /tmp -user root -print

  4. find /tmp -user root

Correct Answer: CD

Question No.88

Which command is used in a Linux environment to create a new directory? (Specify ONLY the command without any path or parameters.)

Correct Answer: mkdir, /usr/bin/mkdir

Question No.89

Immediately after deleting 3 lines of text in vi and moving the cursor to a different line, which single character command will insert the deleted content below the current line?

  1. i (lowercase)

  2. P (uppercase)

  3. p (lowercase)

  4. U (uppercase)

  5. u (lowercase)

    Correct Answer: C

    Question No.90

    What is the maximum niceness value that a regular user can assign to a process with the nice command when executing a new process?

    A.

    9

    B.

    19

    C.

    49

    D.

    99

    Correct Answer: B

    Get Full Version of 101-500 Dumps

Categories
101-500 Dumps

101-500 Real Exam Dumps Questions and answers 31-40

Get Full Version of the Exam
http://www.EnsurePass.com/101-500.html

Question No.31

Which of the following commands can be used to perform a full text search on all available packages on a Debian system?

  1. apt

  2. apt-cache

  3. apt-get

  4. apt-search

  5. dpkg

Correct Answer: B

Question No.32

The dpkg- command will ask configuration questions for a specified package, just as if the package were being installed for the first time.

Correct Answer: reconfigure

Question No.33

Which of the following environment variables overrides or extends the list of directories holding shared libraries?

  1. LD_LOAD_PATH

  2. LD_LIB_PATH

  3. LD_LIBRARY_PATH

  4. LD_SHARE_PATH

  5. LD_RUN_PATH

Correct Answer: C

Question No.34

Which function key is used to start Safe Mode in Windows NT?

  1. F10

  2. F8

  3. F6

  4. Windows NT does not support Safe Mode

Correct Answer: D

Question No.35

Which of the following commands is used to update the list of available packages when using dpkg based package management?

  1. apt-get update

  2. apt-get upgrade

  3. apt-cache update

  4. apt-get refresh

  5. apt-cache upgrade

Correct Answer: A

Question No.36

Typically, which top level system directory is used for files and data that change regularly while the system is running and are to be kept between reboots? (Specify only the top level directory)

Correct Answer: /var, /var/, var, var/

Question No.37

Which of the following commands lists all currently installed packages when using RPM package management?

  1. yum query all

  2. yum list installed

  3. rpm query all

  4. rpm list installed

Correct Answer: C

Question No.38

Which RPM command will output the name of the package which supplied the file /etc/exports?

  1. rpm -F /etc/exports

  2. rpm -qf /etc/exports

  3. rpm -Kl /etc/exports

  4. rpm -qp /etc/exports

  5. rpm -qi/etc/exports

Correct Answer: B

Question No.39

Which of the following commands lists the dependencies of a given dpkg package?

  1. apt-cache depends-onpackage

  2. apt-cache dependencies package

  3. apt-cache depends package

  4. apt-cache requires package

Correct Answer: C

Question No.40

Which command will disable swapping on a device? (Specify ONLY the command without any path or parameters.)

Correct Answer: swapoff, /sbin/swapoff

Get Full Version of 101-500 Dumps

Categories
101-500 Dumps

101-500 Real Exam Dumps Questions and answers 41-50

Get Full Version of the Exam
http://www.EnsurePass.com/101-500.html

Question No.41

To prevent users from being able to fill up the / partition, the directory should be on a separate partition if possible because it is world writeable.

Correct Answer: /tmp, tmp

Question No.42

What is the difference between the remove and the purge action with the dpkg command?

  1. remove removes the program, purge also removes the config files

  2. remove only removes the program, purge only removes the config files

  3. remove removes a package, purge also removes all packages dependent on it

  4. remove removes only the package file itself, purge removes all files related to the package

Correct Answer: A

Question No.43

In which directory must definition files be placed to add additional repositories to yum?

Correct Answer: /etc/yum.repos.d, /etc/yum.repos.d/, yum.repos.d, yum.repos.d/

Question No.44

When using rpm verify to check files created during the installation of RPM packages, which of the following information is taken into consideration? (Choose THREE correct answers.)

  1. Timestamps

  2. MD5 checksums

  3. Inodes

  4. File sizes

  5. GnuPG signatures

Correct Answer: ABD

Question No.45

Which of the following commands can be used to download the RPM package kernel without installing it?

  1. yum download no-install kernel

  2. yumdownloader kernel

  3. rpm download package kernel

  4. rpmdownload kernel

Correct Answer: B

Question No.46

Which world-writable directory should be placed on a separate partition in order to prevent users from being able to fill up the / filesystem? (Specify the full path to the directory.)

Correct Answer: /tmp, tmp,/var/tmp, /tmp/, /var/tmp/

Question No.47

Which of the following commands overwrites the bootloader located on /dev/sda without overwriting the partition table or any data following it?

  1. dd if=/dev/zero of=/dev/sda bs=512

  2. dd if=/dev/zero of=/dev/sda bs=512 count=1

  3. dd if=/dev/zero of=/dev/sda bs=440 count=1

  4. dd if=/dev/zero of=/dev/sda bs=440

Correct Answer: C

Question No.48

After modifying GNU GRUB#39;s configuration file, which command must be run for the changes to take effect?

  1. kill -HUP $(pidof grub)

  2. grub-install

  3. grub

  4. No action is required

Correct Answer: D

Question No.49

What is the name of the main configuration file for GNU GRUB? (Specify the file name only without any path.)

Correct Answer: menu.lst, grub.conf, grub.cfg

Question No.50

To what environment variable will you assign or append a value if you need to tell the dynamic linker to look in a build directory for some of a program#39;s shared libraries?

  1. LD_LOAD_PATH

  2. LD_LIB_PATH

  3. LD_LIBRARY_PATH

  4. LD_SHARE_PATH

  5. LD_RUN_PATH

Correct Answer: C

Get Full Version of 101-500 Dumps

Categories
101-500 Dumps

101-500 Real Exam Dumps Questions and answers 51-60

Get Full Version of the Exam
http://www.EnsurePass.com/101-500.html

Question No.51

What can the Logical Volume Manager (LVM) be used for? (Choose THREE correct answers.)

  1. To create RAID 9 arrays.

  2. To dynamically change the size of logical volumes.

  3. To encrypt logical volumes.

  4. To create snapshots.

  5. To dynamically create or delete logical volumes.

Correct Answer: BDE

Question No.52

Which Debian package management tool asks the configuration questions for a specific already installed package just as if the package were being installed for the first time? (Specify ONLY the command without any path or parameters.)

Correct Answer: dpkg-reconfigure

Question No.53

Which option to the yum command will update the entire system? (Specify ONLY the option name without any additional parameters.)

Correct Answer: update, upgrade

Question No.54

Which of the following is correct when talking about mount points?

  1. Every existing directory can be used as a mount point.

  2. Only empty directories can be used as a mount point.

  3. Directories need to have the SetUID flag set to be used as a mount point.

  4. Files within a directory are deleted when the directory is used as a mount point.

Correct Answer: A

Question No.55

Which grep command will print only the lines that do not end with a / in the file foo?

  1. grep#39;/$#39; foo

  2. grep #39;/##39; foo

  3. grep -v #39;/$#39; foo

  4. grep -v #39;/##39; foo

Correct Answer: C

Question No.56

When given the following command line. echo quot;foo barquot; | tee bar | cat

Which of the following output is created?

  1. cat

  2. foo bar

  3. tee bar

  4. bar

  5. foo

Correct Answer: B

Question No.57

What is the output of the following command? echo quot;Hello Worldquot; | tr -d aieou

  1. Hello World

  2. eoo

  3. Hll Wrld

  4. eoo Hll Wrld

Correct Answer: C

Question No.58

Which of the following files, located in the user home directory, is used to store the Bash history?

  1. .bash_history

  2. .bash_histfile

  3. .history

  4. .bashrc_history

  5. .history_bash

Correct Answer: A

Question No.59

When running the command sed -e quot;s/a/b/quot; /tmp/file gt;/tmp/file

While /tmp/file contains data, why is /tmp/file empty afterwards?

  1. The file order is incorrect. The destination file must be mentioned before the command to ensure redirection.

  2. The command sed did not match anything in that file therefore the output is empty.

  3. When the shell establishes the redirection it overwrites the target file before the redirected command starts and opens itfor reading.

  4. Redirection for shell commands do not work using the gt; character. It only works using the | character instead.

Correct Answer: C

Question No.60

What is the effect of the egrep command when the -v option is used?

  1. It enables color to highlight matching parts.

  2. It only outputs non-matching lines.

  3. It shows the command#39;s version information.

  4. It changes the output order showing the last matching line first.

Correct Answer: B

Get Full Version of 101-500 Dumps