0

operating systems Online Quiz - 19

Description: operating systems Online Quiz - 19
Number of Questions: 20
Created by:
Tags: operating systems
Attempted 0/20 Correct 0 Score 0

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


Correct Option: A

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


Correct Option: A

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


Correct Option: D

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


Correct Option: B

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


Correct Option: C

For application navigation, you use Frame and Page controls.

  1. True

  2. False


Correct Option: A

Indicate the correct statement

  1. PhoneApplicationPages contain PhoneApplicationFrames

  2. PhoneApplicationFrames contain PhoneApplicationPages

  3. Canvas contains a PhoneApplicationPage

  4. Grid Contains a PhoneApplicationFrame


Correct Option: A

which command is used to exit the single user mode ?

  1. exit

  2. init 5

  3. init 3

  4. init 2


Correct Option: A,B,C

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


Correct Option: A

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


Correct Option: A

Which directory contains the configuration files?

  1. /boot

  2. /root

  3. /etc

  4. /bin


Correct Option: C

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

  1. init 0

  2. init 1

  3. init 2

  4. init 3


Correct Option: B

What is the command used to create user account?

  1. usercreate

  2. createuser

  3. adduser

  4. useradd


Correct Option: D

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


Correct Option: D

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


Correct Option: D
  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


Correct Option: C

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


Correct Option: B

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


Correct Option: A

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


Correct Option: A
- Hide questions