MCQs > IT & Programming > Solaris MCQs > Basic Solaris MCQs

Basic Solaris MCQ

1. The Service Access Facility enables you to set up ttymon and listen port monitors by using:

Answer

Correct Answer: the sacadm command

Note: This Question is unanswered, help us to find answer for this one

2. To determine whether a system has 32 bit or 64–bit capabilities enabled on x86 based systems, you use:

Answer

Correct Answer: the isalist command

Note: This Question is unanswered, help us to find answer for this one

3. To list all users of each mounted UFS file system and the number of 1024-byte blocks used, you employ:

Answer

Correct Answer: quot -a

Note: This Question is unanswered, help us to find answer for this one

4. To schedule single (one-time) system tasks, you use the following facility:

Answer

Correct Answer: crontab

Note: This Question is unanswered, help us to find answer for this one

5. What does command ps print without option?

Answer

Correct Answer: all jobs belong to the user

Note: This Question is unanswered, help us to find answer for this one

6. After the cron daemon executes an at job, the at job’s file:

Answer

Correct Answer: is removed from the atjobs directory

Note: This Question is unanswered, help us to find answer for this one

7. Which of the following commands will output all the interfaces to a system?

Answer

Correct Answer: netstat

Note: This Question is unanswered, help us to find answer for this one

8. You can change the locales on your system without reinstalling the OS or manually adding and removing packages, using the command:

Answer

Correct Answer: localeadm

Note: This Question is unanswered, help us to find answer for this one

9. The equivalent of using the following three commands: smpatch analyze, smpatch download, and smpatch add, is to use the command:

Answer

Correct Answer: smpatch update

Note: This Question is unanswered, help us to find answer for this one

10. Which of the following Solaris 10 commands can be used to create a permanent alias?

Answer

Correct Answer: echo

Note: This Question is unanswered, help us to find answer for this one

11. Which is not a tunable parameter in Solaris?

Answer

Correct Answer: Range Configuration

Note: This Question is unanswered, help us to find answer for this one

12. If you want to get a list of all software packages installed on the system you use:

Answer

Correct Answer: pkginfo

Note: This Question is unanswered, help us to find answer for this one

13. To verify that a printer's banner page is optional on printer printer-name, you should look for the output line "Banner not required" in response to:

Answer

Correct Answer: lpstat -p printer-name -l

Note: This Question is unanswered, help us to find answer for this one

14. In order to use the 'smpatch add' command, your system should be in:

Answer

Correct Answer: single-user mode

Note: This Question is unanswered, help us to find answer for this one

15. Instead of using the pprosetup and pprosvc commands, it is better to use the command:

Answer

Correct Answer: smpatch

Note: This Question is unanswered, help us to find answer for this one

16. When applying patches with Patch Manager, you

Answer

Correct Answer: Need to set up the keystore and certificates manually

Note: This Question is unanswered, help us to find answer for this one

17. For a service called SSS, to inspect its properties you do:

Answer

Correct Answer: inetadm -l SSS

Note: This Question is unanswered, help us to find answer for this one

18. Which of the following Solaris 10 commands can be used to create an alias temporarily?

Answer

Correct Answer: ifconfig

Note: This Question is unanswered, help us to find answer for this one

19. Which of the following is not a function of the harness (VTSK) in VTS' agent layer?

Answer

Correct Answer: Encryption of messages.

Note: This Question is unanswered, help us to find answer for this one

20. On a SPARC system, if you want to create a crash (core) dump, you do:

Answer

Correct Answer: halt -d

Note: This Question is unanswered, help us to find answer for this one

21. Which of the following Solaris 10 command will list all open TCP connections?

Answer

Correct Answer: netstat -f inet

Note: This Question is unanswered, help us to find answer for this one

22. By default, the package keystore of a signed packages that is used with pkgadd and patchadd, is stored at:

Answer

Correct Answer: /var/sadm/security

Note: This Question is unanswered, help us to find answer for this one

23. To install a package non-interactively, by default you can set an response file to the 'pkgadd -a' command in:

Answer

Correct Answer: /var/sadm/install/admin

Note: This Question is unanswered, help us to find answer for this one

24. On an inittab File the line starts with 'p3:', if the third field is 'respawn' it means that:

Answer

Correct Answer: The process indicated on the last field is started, and restarted when it dies

Note: This Question is unanswered, help us to find answer for this one

25. To set the hard and soft limits on the number of inodes and the amount of disk space for each user, you use:

Answer

Correct Answer: edquota

Note: This Question is unanswered, help us to find answer for this one

26. Which of the following is an INVALID control for password management in Solaris 10

Answer

Correct Answer: PWDPOLICY

Note: This Question is unanswered, help us to find answer for this one

27. Which of the following shell is a superset of the Bourne shell with C shell-likeenhancements and additional feature?

Answer

Correct Answer: Korn

Note: This Question is unanswered, help us to find answer for this one

28. To remove a software package you use the command:

Answer

Correct Answer: pkgrm

Note: This Question is unanswered, help us to find answer for this one

29. If you are at the PROM level (you pressed stop-A and got to the ok prompt), and you want to get to run level 3 (without a reboot), you use the command:

Answer

Correct Answer: boot

Note: This Question is unanswered, help us to find answer for this one

30. Which of the following is TRUE about ROOT USER?

Answer

Correct Answer: User ID=0, Group ID=1

Note: This Question is unanswered, help us to find answer for this one

31. If you want to view information on the certificate you have stored in the package keystore, you use the command:

Answer

Correct Answer: pkgadm listcert

Note: This Question is unanswered, help us to find answer for this one

32. What is the outpout of svcs command?

Answer

Correct Answer: List all active services

Note: This Question is unanswered, help us to find answer for this one

33. Which of the followiing commands can be used to change the priority of a process?

Answer

Correct Answer: nice

Note: This Question is unanswered, help us to find answer for this one

34. If users want to perform drag-and-drop operations, what must be true about the source and target label?

Answer

Correct Answer: They must be the same.

Note: This Question is unanswered, help us to find answer for this one

35. Which of the folllwing files contain user passwords?

Answer

Correct Answer: Both /etc/passwd and /etc/shadow

Note: This Question is unanswered, help us to find answer for this one

36. How do you list all of the zones that are configured on a system?

Answer

Correct Answer: zoneadm list -c

Note: This Question is unanswered, help us to find answer for this one

37. Because the command, “mpathadm modify” is only effective while the system is running, what must be updated to retain changes that are made after a shutdown?

Answer

Correct Answer: /kernel/drv/scsi_vhci.conf

Note: This Question is unanswered, help us to find answer for this one

38. If you are at the PROM level (you pressed stop-A and got to the ok prompt), and you want to check the revision number, you use the command:

Answer

Correct Answer: banner

Note: This Question is unanswered, help us to find answer for this one

39. What must happen before logging into the system?

Answer

Correct Answer: A default project must be assigned to the user.

Note: This Question is unanswered, help us to find answer for this one

40. To check the status of active processes on a system, you use:

Answer

Correct Answer: all are correct

Note: This Question is unanswered, help us to find answer for this one

41. Where are the details displayed by the ls -l command stored?

Answer

Correct Answer: The inode for the file. (*)

Note: This Question is unanswered, help us to find answer for this one

42. Which of the following directories contain kernel?

Answer

Correct Answer: /, /usr and /platform

Note: This Question is unanswered, help us to find answer for this one

43. What is Oracle VTS?

Answer

Correct Answer: It is an Oracle validation test for hardware diagnostics.

Note: This Question is unanswered, help us to find answer for this one

44. What does system mount option (Solaris 10) nodevices signify?

Answer

Correct Answer: To disallow the opening of device-special files

Note: This Question is unanswered, help us to find answer for this one

45. Which of the following command will delete the password for user "test" and prompt for a new password on login?

Answer

Correct Answer: passwd -df test

Note: This Question is unanswered, help us to find answer for this one

46. To display the total number of blocks that are contained in a directory, you use:

Answer

Correct Answer: du -s

Note: This Question is unanswered, help us to find answer for this one

47. Once you installed a software package, you can check if the installation is correct with:

Answer

Correct Answer: pkgchk -v

Note: This Question is unanswered, help us to find answer for this one

48. What system resource call specifies the total number of files that can be assigned by the open(2) system call?

Answer

Correct Answer: process.max-file-descriptor

Note: This Question is unanswered, help us to find answer for this one

49. Which of the following is a user profile for a user with Bourne shell as a default shell?

Answer

Correct Answer: .profile

Note: This Question is unanswered, help us to find answer for this one

50. Crash dump files are created in the directory:

Answer

Correct Answer: /var/crash/

Note: This Question is unanswered, help us to find answer for this one

51. Which of the following is TRUE for files /etc/hosts.equiv and $HOME/.rhosts?

Answer

Correct Answer: Thery are related to system security

Note: This Question is unanswered, help us to find answer for this one

52. What directories are included in the root path?

Answer

Correct Answer: /usr/gnu/bin:/usr/bin:/usr/sbin:/sbin

Note: This Question is unanswered, help us to find answer for this one

53. To remove a crontab file, you use the command:

Answer

Correct Answer: crontab -r

Note: This Question is unanswered, help us to find answer for this one

54. How can you get the WWN info about the HBA ports in a system under Solaris 10?

Answer

Correct Answer: fcinfo hba-port

Note: This Question is unanswered, help us to find answer for this one

55. To remove entire temporary directories, you cd to the temp directories, then use the following command:

Answer

Correct Answer: rm -r *

Note: This Question is unanswered, help us to find answer for this one

56. On a newly installed Solaris system, the script /sbin/rc4 performs the following actions contained in the scripts in /etc/rc4.d:

Answer

Correct Answer: None are correct

Note: This Question is unanswered, help us to find answer for this one

57. The tnd daemon pulls tnrhdb and tnrhtp information from the LDAP directory and local files. What governs the order that they are loaded?

Answer

Correct Answer: Their order in the nsswitch.conf file.

Note: This Question is unanswered, help us to find answer for this one

58. If '-1 < N < 7', Scripts in /etc/rcN.d are executed in:

Answer

Correct Answer: ASCII order of their names

Note: This Question is unanswered, help us to find answer for this one

59. Which of the following is a default shell for root user?

Answer

Correct Answer: bourne

Note: This Question is unanswered, help us to find answer for this one

60. If you are at the PROM level (you pressed stop-A and got to the ok prompt), and you want to start the system from the Solaris DVD-ROM disk, you use the command:

Answer

Correct Answer: boot cdrom -s

Note: This Question is unanswered, help us to find answer for this one

61. If you need to shut down Solaris in 30 seconds for an installation, what is the command?

Answer

Correct Answer: -g30

Note: This Question is unanswered, help us to find answer for this one

62. Which of the following command can be used to stop a running service?

Answer

Correct Answer: svcadm disable name_of_service

Note: This Question is unanswered, help us to find answer for this one

63. When tuning Solaris, does one system's /etc/system settings govern another systems environment?

Answer

Correct Answer: No.

Note: This Question is unanswered, help us to find answer for this one

64. To create a soft partition, what parameters are needed with the metainit command?

Answer

Correct Answer: metainit [-s diskset] soft-partition -p [-e] component size

Note: This Question is unanswered, help us to find answer for this one

65. To apply patches to a machine, you use:

Answer

Correct Answer: All are correct

Note: This Question is unanswered, help us to find answer for this one

66. You have been assigned the task of interpreting VTS probe errors. Where do you find them?

Answer

Correct Answer: /var/sunvts/logs/vtsk.err

Note: This Question is unanswered, help us to find answer for this one

67. If an adjustment in the /etc/system file has rendered your system unbootable, what command would you use to recover?

Answer

Correct Answer: ok boot -a

Note: This Question is unanswered, help us to find answer for this one

68. When setting up a volume in VTS, what data storage scheme does VTS use?

Answer

Correct Answer: RAID

Note: This Question is unanswered, help us to find answer for this one

69. Which of the following Solaris 10 command scan for new devices?

Answer

Correct Answer: devfsadm

Note: This Question is unanswered, help us to find answer for this one

70. Which of the following is TRUE about following command and the option: useradd -u 800 -g TEST

Answer

Correct Answer: UID number for the new user : 800 Primary group for the new user : TEST

Note: This Question is unanswered, help us to find answer for this one

71. What is the name of the daemon that handles FTP transfers?

Answer

Correct Answer: in.ftpd

Note: This Question is unanswered, help us to find answer for this one

72. To set up a terminal, you use:

Answer

Correct Answer: the Solaris Management Console

Note: This Question is unanswered, help us to find answer for this one

73. Though the traditional UNIX crypt algorithm is insufficient for current systems, why is it still utilized?

Answer

Correct Answer: For the sake of backwards compatibility.

Note: This Question is unanswered, help us to find answer for this one

74. When exporting a ZFS storage pool, what effect does the “zpool export tank” command have, and what can be done in the event of a failure?

Answer

Correct Answer: “zpool export tank” attempts to unmount any mounted file system. The -f option is used to forcefully unmount file systems in the event of a failure.

Note: This Question is unanswered, help us to find answer for this one

75. To list the total number of physical processors on a system, you use:

Answer

Correct Answer: psrinfo -p

Note: This Question is unanswered, help us to find answer for this one

76. What is location that your project database definition would be stored?

Answer

Correct Answer: /etc/nsswitch.conf

Note: This Question is unanswered, help us to find answer for this one

77. If you add a user to a group while they are already logged on, what do they have to do in order to be able to access files owned by that group?

Answer

Correct Answer: Log out of the shell and back in.

Note: This Question is unanswered, help us to find answer for this one

78. What is the default difference between run levels 2 and 3?

Answer

Correct Answer: Run level 3 starts NFS services

Note: This Question is unanswered, help us to find answer for this one

79. The International Organization for Standardization designed the OSI Reference Model that uses structured layers. What does the acronym OSI mean?

Answer

Correct Answer: Open Systems Interconnection

Note: This Question is unanswered, help us to find answer for this one

80. To automatically execute system tasks, you use:

Answer

Correct Answer: all are correct

Note: This Question is unanswered, help us to find answer for this one

81. Which of the following command can be used to see the detailed boot sequence?

Answer

Correct Answer: boot -m verbose

Note: This Question is unanswered, help us to find answer for this one

82. Which of the following command can be used to add new user accounts to the local system?

Answer

Correct Answer: useradd

Note: This Question is unanswered, help us to find answer for this one

83. Do you have to be a super user to install a device to your Solaris system?

Answer

Correct Answer: Yes.

Note: This Question is unanswered, help us to find answer for this one

84. Which of the following Solaris 10 command will list all configurable hardware in the system?

Answer

Correct Answer: cfgadm

Note: This Question is unanswered, help us to find answer for this one

85. Solaris is what kind of operating system?

Answer

Correct Answer: Unix

Note: This Question is unanswered, help us to find answer for this one

86. The '-g' switch to the shutdown command is followed by:

Answer

Correct Answer: grace time in seconds

Note: This Question is unanswered, help us to find answer for this one

87. To display a system’s Host ID number you use:

Answer

Correct Answer: the hostid command

Note: This Question is unanswered, help us to find answer for this one

88. Which of the following is NOT a valid output for command : echo $SHELL

Answer

Correct Answer: /bin/tch

Note: This Question is unanswered, help us to find answer for this one

89. If you are on a stand alone system, and you want to bring it to single user mode, you execute:

Answer

Correct Answer: init s

Note: This Question is unanswered, help us to find answer for this one

90. Which of the following commands can be used to capture network packets?

Answer

Correct Answer: snoop

Note: This Question is unanswered, help us to find answer for this one

91. Which of the following field in /etc/passwd represents user primary group?

Answer

Correct Answer: GID

Note: This Question is unanswered, help us to find answer for this one

92. To display the size of one or more directories, subdirectories, and files, you use:

Answer

Correct Answer: the du command

Note: This Question is unanswered, help us to find answer for this one

93. Which of the following command will output the default shell for the current user ?

Answer

Correct Answer: echo $SHELL

Note: This Question is unanswered, help us to find answer for this one

94. To view the system's Solaris Release Information you:

Answer

Correct Answer: display the contents of the /etc/release file

Note: This Question is unanswered, help us to find answer for this one

95. What is the difference between RAID-0 (Concatenation), and RAID-0 (Stripe) Volumes?

Answer

Correct Answer: Concatenated RAID-0 writes to the first available component, while Stripe distributes the data equally across all components.

Note: This Question is unanswered, help us to find answer for this one

96. Which manages all the physical resources of the computer?

Answer

Correct Answer: Kernel

Note: This Question is unanswered, help us to find answer for this one

97. What is a UNIX File System (UFS) ACL, and what does it do?

Answer

Correct Answer: Access Control Lists restrict or grant read, write, or execute access to specific users or groups.

Note: This Question is unanswered, help us to find answer for this one

98. What command is used to configure Solaris' multipathing support?

Answer

Correct Answer: mpathadm

Note: This Question is unanswered, help us to find answer for this one

99. You suspect an unauthorized use of the “su” command. Where do you look and what would it tell you?

Answer

Correct Answer: “/var/adm/sulog”, and it tells you every use of the “su” command.

Note: This Question is unanswered, help us to find answer for this one

100. What is the outpout of svcs -d name_of_service command?

Answer

Correct Answer: List all the services this service is depended upon

Note: This Question is unanswered, help us to find answer for this one

101. When installing a non-hot-pluggable device, what must you do before installation?

Answer

Correct Answer: Shut down the system.

Note: This Question is unanswered, help us to find answer for this one

102. How to check filesystem damage?

Answer

Correct Answer: fsck

Note: This Question is unanswered, help us to find answer for this one

103. What can be called discrete rights to processes that perform operations?

Answer

Correct Answer: Privelages

Note: This Question is unanswered, help us to find answer for this one

104. Which of the following are main components of SunOS operating system?

Answer

Correct Answer: Kernel, Shell and Directory Hierarchy

Note: This Question is unanswered, help us to find answer for this one

105. Which of the following is TRUE about /bin/ksh ?

Answer

Correct Answer: Indicates the Korn shell

Note: This Question is unanswered, help us to find answer for this one

106. What is an example of a protocol used on Solaris' network layer?

Answer

Correct Answer: IPv4

Note: This Question is unanswered, help us to find answer for this one

107. What is ZFS?

Answer

Correct Answer: A file system used by Solaris.

Note: This Question is unanswered, help us to find answer for this one

108. Is it possible to log in via serial port?

Answer

Correct Answer: Yes.

Note: This Question is unanswered, help us to find answer for this one

109. For managing terminals and modems, you use:

Answer

Correct Answer: Both

Note: This Question is unanswered, help us to find answer for this one

110. Which of the following commands can be used to ping a host?

Answer

Correct Answer: ping

Note: This Question is unanswered, help us to find answer for this one

111. In the context of Solaris, what are SAN devices?

Answer

Correct Answer: Storage area network devices are storage devices in a high-speed network that are also connected to servers.

Note: This Question is unanswered, help us to find answer for this one

112. You need to prevent the new staff from performing “console aborts”. How do you do this?

Answer

Correct Answer: Change the value of KEYBOARD_ABORT to “disable” in the /etc/default/kbd file.

Note: This Question is unanswered, help us to find answer for this one

113. To add a new attached printer you use:

Answer

Correct Answer: Both Solaris Print Manager and LP print service commands

Note: This Question is unanswered, help us to find answer for this one

114. The following crontab file (besides root) is stored in the /var/spool/cron/crontabs directory:

Answer

Correct Answer: all are correct

Note: This Question is unanswered, help us to find answer for this one

115. Within the Solaris Operating System, what are authentication services used for?

Answer

Correct Answer: Secure identification of users via password, or other forms of identification.

Note: This Question is unanswered, help us to find answer for this one

116. What are the benefits of NFS?

Answer

Correct Answer: All of the given options are valid benefits

Note: This Question is unanswered, help us to find answer for this one

117. Within the Solaris Operating System, what is the first line of defense to protect the file system?

Answer

Correct Answer: Default UNIX permissions assigned to every file system object.

Note: This Question is unanswered, help us to find answer for this one

118. To find only those files larger than 400 blocks in the current working directory, you use:

Answer

Correct Answer: find . -size +400 -print

Note: This Question is unanswered, help us to find answer for this one

119. What is a good simple rule to enforce with new users within the Trusted Extension System?

Answer

Correct Answer: Keep your password private.

Note: This Question is unanswered, help us to find answer for this one

120. What is the difference between ARC and L2ARC?

Answer

Correct Answer: ARC is the primary cache, and L2ARC is the secondary cache.

Note: This Question is unanswered, help us to find answer for this one

121. Which of the following act as an interface between the user and the kernel?

Answer

Correct Answer: Shell

Note: This Question is unanswered, help us to find answer for this one

122. Solaris 10 OS stores user account and group entry information in the which of following system files?

Answer

Correct Answer: /etc/passwd /etc/shadow /etc/group

Note: This Question is unanswered, help us to find answer for this one

123. Which command allows you to update your current password?

Answer

Correct Answer: passwd (*)

Note: This Question is unanswered, help us to find answer for this one

124. You can use Patch Manager to perform the following on your system:

Answer

Correct Answer: All are correct

Note: This Question is unanswered, help us to find answer for this one

125. To verify that a certificate was not altered en route, you use the fingerprint (digest):

Answer

Correct Answer: All are correct

Note: This Question is unanswered, help us to find answer for this one

126. Under the Solaris Operating System, are double-quotes, left single-quotes and right single-quotes interchangable?

Answer

Correct Answer: No. Command syntax must be exact.

Note: This Question is unanswered, help us to find answer for this one

127. What is an example of an encrypted authentication service within Solaris?

Answer

Correct Answer: Kerberos

Note: This Question is unanswered, help us to find answer for this one

128. What will auditing tell you about a Solaris system's security?

Answer

Correct Answer: It will tell you about changes made to the system.

Note: This Question is unanswered, help us to find answer for this one

129. Which of the following commands can be used for remote copying?

Answer

Correct Answer: rcp

Note: This Question is unanswered, help us to find answer for this one

130. What command would you use to restart the SSH server daemon on Solaris 10 using the Service Management Framework (SMF)?

Answer

Correct Answer: svcadm restart ssh

Note: This Question is unanswered, help us to find answer for this one

131. When using the ls command to display size of files, you display file sizes and directory sizes in Kbytes, Mbytes, Gbytes, or Tbytes (when the file or directory size is larger than 1024 bytes) using:

Answer

Correct Answer: -h

Note: This Question is unanswered, help us to find answer for this one