operating systems Online Quiz - 19

operating systems Online Quiz - 19

18 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Which command can be used to verify that all logical volumes in volume group datavg are mirrored?

  1. lsvg -l datavg
  2. lslv -m datavg
  3. lslv -p datavg
  4. lsvg -p datavg
Question 2 Multiple Choice (Single Answer)

A System p administrator plans to install a new system with AIX 5.3 TL5 using a NIM server. Which of the following is required?

  1. NIM server must be at same AIX version and TL or higher.
  2. NIM server must at the same AIX version
  3. New server must have existing AIX installation.
  4. NIM server must be at least at AIX 5.2 and ML9
Question 3 Multiple Choice (Single Answer)

A system administrator issued the errpt command and had no results. The system administrator determined that error logging was turned off. Which of the following commands would start logging system errors?

  1. /usr/lib/errstart
  2. /usr/lib/errlogger
  3. /usr/bin/errmsg
  4. /usr/lib/errdemon
Question 4 Multiple Choice (Single Answer)

A System p adminstrator has a new application that requires AIX 5.3, technology level 6 and service pack 2. Which of the following will display the currently installed service pack level?

  1. lslpp -L
  2. oslevel -s
  3. uname -v
  4. instfix -r
Question 5 Multiple Choice (Single Answer)

Which of the following commands calls rc.net during the second boot phase to initialize and start TCP/IP interfaces?

  1. init
  2. rc
  3. cfgmgr
  4. inittab
Question 6 Multiple Choice (Multiple Answers)

which command is used to exit the single user mode ?

  1. exit
  2. init 5
  3. init 3
  4. init 2
Question 7 Multiple Choice (Single Answer)

which command is used to list the contens of the tar file ?

  1. tar –tvf newfile.tar
  2. tar –xvf newfile.tar
  3. tar –cvf newfile.tar
  4. tar -avf newfile.tar
Question 8 Multiple Choice (Single Answer)

Which command is used to count the no of characters in a file?

  1. wc -m
  2. wc -l
  3. wc -s
  4. wc -w
Question 9 Multiple Choice (Single Answer)

Which directory contains the configuration files?

  1. /boot
  2. /root
  3. /etc
  4. /bin
Question 10 Multiple Choice (Single Answer)

Which of the following runlevel boots Linux in Single user mode?

  1. init 0
  2. init 1
  3. init 2
  4. init 3
Question 11 Multiple Choice (Single Answer)

What is the command used to create user account?

  1. usercreate
  2. createuser
  3. adduser
  4. useradd
Question 12 Multiple Choice (Single Answer)

How will you find the files that are accessed/edited before a day?

  1. find -mtime -24
  2. find -mday -1
  3. find -mday +1
  4. find -mtime -1
Question 13 Multiple Choice (Single Answer)

What will the following command do? echo *

  1. It is similar to 'ls -a' command and displays all the hidden files in the current directory
  2. displays all the files in the /etc directory
  3. displays all the files in the root
  4. It is similar to 'ls' command and displays all the files in the current directory
Question 14 Multiple Choice (Single Answer)

How will you restrict the incoming message?

  1. mesp
  2. mesn
  3. mesk
  4. mesg
Question 15 Multiple Choice (Single Answer)

How will the kernal differentiate the ordinary files and device files?

  1. using the temp filed in the file's inode
  2. using the id filed in the file's inode
  3. using the type filed in the file's inode
  4. using the type filed in the directory's inode
Question 16 Multiple Choice (Single Answer)

How will you substitute the strings in a file using SED?

  1. s/old/new/l
  2. s/old/new/g
  3. s/new/old/g
  4. s/old/new/f
Question 17 Multiple Choice (Single Answer)

How will you change the ownership of the file and group?

  1. chown user:group file
  2. chgrp user:group file
  3. chown group:user file
  4. chgrp group:user file
Question 18 Multiple Choice (Single Answer)

what is the use of chroot command?

  1. Runs a command with a different root directory
  2. Runs a command with a same root directory
  3. Runs a command in root directory
  4. Runs a command with a different /opt directory