Thursday 10 September 2015

Red Hat Linux System Administration Multiple Choice Questions And Answers

21. Fill in the blank with the appropriate command.
The ________ command recursively removes files, which have not been accessed for a period of time.
A. tmpwatch
Answer: A

22. Which of the following commands can be used to modify kernel parameters at runtime?
A. sync
B. sysctl
C. mkinitrd
D. lsdev
Answer: B

23. You want to verify the PGP signature of all headers and signatures associated with an RPM package. Which of the following commands will you use to accomplish the task?
Each correct answer represents a complete solution. Choose all that apply.
A. rpm -e
B. rpm -K
C. rpm --checksig
D. rpm -V
Answer: B, C, D

24. Which of following options will you use to force mtr to display numeric IP numbers and not try to resolve the host names?
A. -t
B. -n
C. -l
D. -p
Answer: B

25. Which of the following statements are true about kernel modules?
Each correct answer represents a complete solution. Choose all that apply.
A. Kernel modules do not support executable loaders.
B. The kernel module contains extra kernel codes that may be loaded after the loading of the base kernel.
Only a minimal resident kernel is loaded into memory at boot time.
C. Kernel modules do not support the device drivers, network drivers, and file system drivers.
D. Whenever a user requests a feature that is not present in the resident kernel, a kernel module is dynamically loaded into memory.
Answer: B, D

26. You want to temporarily change your primary group to another group of which you are a member.
In this process, a new shell will be created, and when you exit the shell, your previous group will be reinstated. Which of the following commands will you use to accomplish this task?
A. chgrp
B. newgrp
C. chmod
D. chown
Answer: B

27. You want to make Rick an owner of the files TRADE1.TXT and TRDREPORT.TXT. Which of the following commands will you use to accomplish this?
A. chown rick TRADE1.TXT TRDREPORT.TXT
B. chgrp rick TRADE1.TXT + TRDREPORT.TXT
C. chown rick TRADE1.TXT + TRDREPORT.TXT
D. chgrp rick TRADE1.TXT TRDREPORT.TXT
Answer: A

29. You work as a Network Administrator for McNeil Inc. The company has a Linux-based network. You are a root user on the Linux system. You have to create a user named Trinity and deny interactive login. Which of the following should you use to accomplish the task?
Each correct answer represents a part of the solution. Choose all that apply.
A. vi /etc/passwd
B. vi /etc/shadow
C. useradd Trinity
D. passwd Trinity
E. Trinity:x:505:505::/home/Trinity:/sbin/nonlogin
Answer: A, B, C, D, E

30. Which of the following commands can be used to check the errors of the ext2 and ext3 filesystems?
Each correct answer represents a complete solution. Choose two.
A. fsck --ext2
B. fsck.ext3
C. fsck --ext3
D. e2fsck
Answer: B, D

More Questions & Answers:-
Page1 Page2 Page3 Page4 Page5 Page6

No comments:

Post a Comment