Which files control access to cron utility ?
a. /etc/cron.d/cron.allow and /etc/cron.d/cron.deny
b. /var/spool/cron, /var/spool/cron/crontabs
Answer: a
What is the purpose of the lowercase -l option (which is set to conttyH), if the following ttyadm command is embedded within the pmadm command for setting up a modem: # ttyadm -b -d /dev/term/b -l conttyH -m ldterm,ttcompat -s /usr/bin/login -S n ?
to specify the label, as defined in /etc/ttydefs
to specify line speed, as defined in /etc/ttytab
to specify the latest baud rate, as defined in /etc/termcap
to specify line settings, as defined in the terminfo database
Kernel is for :
a. device management
b. file storage
c. translating user requests
Answer: a
How to list users who login on local area network ?
a. rup
b. rlogin
c. rusers
d. finger
Answer: c
What does multitasking enable a user to do?
share files
share network products
run more than one application at a time
access multiple resources across the network
What effect does the sticky bit have if it is set on the /tmp directory as shown below?
drwxrwxrwt 2 sys sys 512 May 26 11:02 /tmp
It permits superuser access only.
It prohibits all read/write permissions.
It restricts only the owner to removing and renaming of their files.
It is a security risk because any user can delete another user's files.
Which command(s) does not integrate incremental backup feature?
a. Tar
b. cpio
c. ufsdump
d. dd
Answer: a & b
What does the following command do: umount /dev/dsk/c0t3d0s4 ?
unmounts a VFS file system
unmounts a UFS file system
unmounts an RFS file system
unmounts an NFS file system
Password is verified against which file ?
a. /etc/shadow
b. /etc/passwd
Answer: a
What can you do if the following line is in the /etc/default/login file: CONSOLE= /dev/console ?
log in as root from the network and console
log in as a regular user and then su to root
log in as root from the console, but not from the network
log in as root from the network, but not from the console
How to terminate an application ?
A. Ctrl-c
B. kill command
C. quit from window for any window applications
D. suspend command
Answer: A&B&C
Which argument is the variable?
set
x
=
y
In this file structure, how to remove ~ report" directory ?
cal
/ \
report recipe
/ \
homework labs
a. rm -r report
b. rmdir report
c. rm report
Answer: a
Which directory does "cd .." change to ?
a. parent directory
b. child directory
c. home directory
d. root directory
Answer: a
Which are valid printer ports (select all that apply)?
/dev/terma
/dev/term/a
/dev/term/b
/dev/term/ttya
What permissions are needed to change to a directory and list its contents ?
a. r--
b. rw-
c. r-x
Answer: c
In Bourne shell, how to assign value to variable EDITOR ?
a. EDITOR=/bin/vi
b. set EDITOR /bin/vi
Answer: a
Which command brings the system to single-user mode in ten minutes?
init S -10
init -g 600 -S
shutdown -g 600
shutdown -g 10 -i S
The right way to use these two commands: chown, chgrp
A. chown new_owner filename
B. chown filename new_owner
C. chgrp new_group filename
D. chgrp filename new_group
Answer: A&C
What can you do if the following line is included in the /etc/default/login file: CONSOLE= /dev/console ?
Log in as root from the network and console.
Log in as a regular user and then su to root.
Log in as root from the console, but not from the network
Log in as root from the network, but not from the console.
Which statements are true about the /etc/hostname.xxy file (select all that apply)?
It is a system script file
It is a SPARC executable file.
It contains the host name of the local host.
It identifies the network interface on the local host.
Which daemon may execute commands repeatedly ?
a. cron
b. at
c. cronat
d. crontab
Answer: a
Which command removes print jobs ?
a. cancel
b. enable
c. stop
Answer: a
What is the correct format of crontab file ?
a. time, date, command
b. time, owner, command
Answer: a
After reading and quitting from mail, the mail file is saved in :
a. mbox
b. inbox
c. .mailx
Answer: a
Which file has login ID and other user information ?
a. /etc/passwd
b. /etc/hosts
c. /etc/group
Answer: a
Which directories you can include in your search path ?
a. any directory
b. only those owned by root, lp and you
Answer: a
Which one add the backing up command into cron:(in fact vi) ?
a. crontab -e
59 23 * * 1-5 tar cvf /home/davis
:wq
b. crontab 59 23 * * 1-5 tar cvf /home/davis
Answer: a
Which command display file size in kilobyte ?
a. df
b. df -k
c. du
d. du -k
Answer: d
Which statements about IP addresses are true (select all that apply)?
IP addresses can include letters, digits, and minus signs.
IP addresses are written as four sets of numbers separated by periods.
IP addresses provide a means of identifying and locating network resources.
IP addresses are divided into three unique numbers: network, class, and host.
IP addresses are used by networking software to identify machines on the network.
Which statement is true when umask 022 to umask 027 ?
A. more secure
B. new created files don't have write permission for others
C. new created files have write permission for others
Answer: A&B
Which statement is true for chown -R user1 /export/home/user1 ?
a. only /export/home/user1 is owned by user1
b. all files and directories in /export/home/user1 are owned by user1
c. all files and directories in /export/home/user1 are owned by user1, including
/export/home/user1
Answer: c
What is the Internet class for IP 192.34.64.11 ?
a. A
b. B
c. C
d. D
Answer: c
The hosts file is as following, which statements are true ?
192.33.64.11 venus
192.33.64.15 mars
192.33.64.254 star
A. all machines are in same subnet
B. the machine may be venus
C. this is a class B network
D. this is a class C network
Answer: A&B&D
Which command to stop entire LP services ?
a. /etc/init.d/lp stop
b. lp -d
c. cancel
d. lpadmin -d
Answer: a
# lpmove stock sparc means :
a. move all print requests from stock to sparc
b. move all root printing requests from stock to sparc
c. move printing request stock to printer sparc
Answer: a
Which hardware and software are needed to do a remote login and copy ?
A. Ethernet
B. NFS
C. TCP/IP
D. NIS+
Answer: A&C
How to display current shell process ?
a. ps -aux
b. ps -ef
c. ps
d. ps -el
Answer: c
Which command can delete /export/app/report directory in /export/app directory ?
a. rm -r report
b. rmdir report
c. rm report
d. rmdir /export/app/report
Answer: a
Which command cancels all print requests for the user magnus on the printer jetprint?
lprm -Umagnus jetprin
cancel -Pjetprint magnus
cancel -u magnus jetprint
lpremove -Pjetprint magnus
Which command can print an e-mail to a printer ?
A. ? lp
B. ? number lp
C. ? 1lp
D. ? number | lp
Answer: A&C
When installing a system that is attached to a network, which pieces of information are required for identification (select all that apply)?
the host name
the IP address
the domain nam
the client address
Which script is run by the init process to halt and reboot a system?
the host name
/sbin/rc3
/sbin/rc0
sbin/rc6
Which command displays detailed information about every system process?
ps
ps -f
ps -ef
ps -aux
The fragment size of a UFS file system is:
A. 512 bytes
B. 1024 bytes
C. 2048 bytes
D. 4096 bytes
Answer: b
What are valid logical device names (select all that apply)?
/dev/rmt/0
/dev/term/b
/devices/cua/0
/dev/dsk/c0t6d0s0
/devices/dsk/c0t3d0s2
Which information is included in cylinder group blocks (select all that apply)?
the free block map
the number of inodes
a copy of the superblock
the number of directories
the number of data blocks
During the boot program phase of the system boot process, the bootblk program loads the ________ boot program, which in turn loads the kernel.
Correct Answer:
Which open boot PROM command can be used to verify PROM settings?
banner
devalias
printenv
probe-scsi
In relative path, which is the default in the directory hierarchy ?
a. look down the directory
b. look up the directory
Answer: a
Which is NOT a valid configuration cluster available during installation of the Solaris™ 2.x operating environment?
Core
Client
End User
Developer
Which are functions of the /etc/group file (select all that apply)?
to assign users to secondary groups
to assign a name to a group ID number
to provide a special group for su privileges
to specify which users can access network resources, such as printers
Which command displays disk space occupied by mounted file systems?
df
du
ls
printenv
The following command appears in the C shell:
earth% set x = y
Which is a minimum requirement to complete a successful login to a Solaris™ system?
a login ID
a default login shell
a login (home) directory
a unique network identification
|