1: | On a UNIX system, the primary interaction of a user is with: -
Kernel -
Shell -
device drivers -
file system |
2: | The rsh command on HP-UX can be used to: -
execute a remote command -
log in and initiate a shell on a remote system -
This is a restricted shell on HP-UX. -
grant read-only access to a system |
3: | Which shell does not have history feature? -
Bourne shell -
Korn Shell -
C Shell -
POSIX shell |
4: | The root user has user ID: -
-
1 -
100 -
The root user may have any user ID. |
5: | What is the default history file in the HP-UX POSIX shell? -
history -
$HOME/.history -
$HOME/.sh_history -
/etc/history |
6: | The alias command in the POSIX shell is used to: -
create a command alias -
create a mail alias -
create shell alias -
create a file system alias |
7: | You want to add a directory to the PATH variable for all users of the POSIX shell. Which file will you modify? -
/etc/profile -
$HOME/.profile of the root user -
/home/root/profile -
/etc/default |
8: | You use a command " cat > myfile ". What will be the result of this command? -
Nothing happens and you will get the command prompt back. -
The file named myfile is overwritten and you get the command prompt back. -
The command waits for user input which is appended to the file named myfile . -
The command waits for user input which is written to the file named myfile . The original contents of the file are deleted. |
9: | When you use the ll command, the first character of each line in the output of the command shows the type of the file. The next nine characters show file access permissions for HP-UX users. What is the order of these access permissions? -
others, group , owner -
owner, group, others -
owner, others, group -
group, owner, others |
10: | Which command do you use to list hidden files? -
ls -h -
ls -l -
ls -a -
ls |
11: | You are in the /var/tmp directory and want to copy file myfile from the /tmp directory to the current directory. Which command cannot be used for this purpose? -
cp /tmp/myfile . -
cp /tmp/myfile /var/tmp -
cp ../../tmp/myfile /var/tmp -
cp /tmp/myfile .. |
12: | Which command will you use to count the number of lines in a text file? -
wc -
ls -
lines -
cat |
13: | Which command displays the value of the HOME variable? -
echo $HOME -
echo HOME -
echo '$HOME' -
echo `$HOME` |
14: | Pipes are used to: -
redirect standard input -
redirect standard output -
redirect either standard input or standard output but not both simultaneously -
send output of one command to the input of another command. |
15: | Which mode is not used in vi editor? -
command mode -
insert mode -
preserve mode -
last line mode |
16: | You want to search all lines in a file myfile that start with the word " boota ". Which of the following commands will you use? -
grep $boota myfile -
grep ^boota myfile -
grep boota^ myfile -
grep boota$ myfile |
17: | Which variable in a shell program is used to determine the total number of command line arguments? -
$? -
$# -
$* -
${10} |
18: | Which of the following is not a shell program control structure? -
while-do-done -
until-do-done -
repeat-do-done -
if-then-fi |
19: | Which statement is not true? -
SAM can be used in both text and graphic modes. -
SAM can be used to grant restricted access to users. -
SAM can be used for troubleshooting. -
SAM can be used for routine system administration tasks . |
20: | The set_parms command is used to: -
set the hostname. -
set the time zone. -
set the IP address. -
all of the above |
21: | What is the secondary system loader? -
the hpux utility -
the init process -
PDC -
the /stand/system |
22: | HP-UX Software Distributor commands are used for: -
installing and removing software -
distributing software packages -
verifying installed software -
all of the above |
23: | A software bundle contains: -
software depots -
filesets that may belong to different products -
filesets that may belong to only one product -
filesets that belong to subproducts of only one product |
24: | What is a file descriptor? -
It is a number used to reference an open file. -
It represents the inode number of a file. -
It corresponds to a process table entry for a process created by a file. -
It is the number of a directory entry for the file in a filesystem. |
25: | Which of the following is not a label in the swinstall.log file? -
ERROR -
WARNING -
CRITICAL -
NOTE |
26: | Which command is used to build a new HP-UX kernel? -
mk_kernel -
make -
build_kernel -
make_vmunix |
27: | Three disks are attached to an SCSI adapter with device numbers 6, 1, and 15. Which of these has the highest priority? -
6 -
1 -
15 -
All disks have the same priority. |
28: | Which statement is not true? -
A major device number represents a kernel driver used for a device. -
All devices of the same type have the same major number. -
All devices of the same type have the same minor device number. -
A minor device number is a six digit hexadecimal number. |
29: | What is the major device number for LVM device files? -
64 -
32 -
128 -
1 |
30: | What is the default physical extent size used in LVM? -
4 Mbytes -
4 Kbytes -
16 Mbytes -
16 Kbytes |
31: | Which step is required before adding a new disk to a volume group? -
create a physical volume -
extend the logical volume -
create a filesystem -
extend the filesystem. |
32: | What is the name for the default volume group? -
default -
vg00 -
vgdefault -
There is no particular name for the default group. Any group can be configured as the default volume group. |
33: | Which information is not displayed when the pvdisplay command is used without any command-line options? -
name of the volume group to which the physical volume is related -
total number of physical extents -
name of the filesystem created on the disk -
allocated physical extents |
34: | What is the default number of the logical volumes in a volume group? -
15 -
16 -
255 -
1024 |
35: | A filesystem metadata area contains: -
superblock -
inodes -
directory area -
all of the above |
36: | Which statement is true ? -
HFS keeps a record of all transactions in the intent log. -
JFS keeps a record of all transactions in the intent log. -
Both JFS and HFS keep a record of all transactions in the intent log. -
The JFS filesystem size cannot be modified. |
37: | Which command can be used to display the filesystem usage on HP-UX? -
df -
bdf -
rbdf -
all of the above |
38: | Which is not a standard state of any HP-UX process. -
running -
sleeping -
zombie -
printing |
39: | Which command is used to cancel a print job? -
cancel -
stop -
rm -
disable |
40: | Data backed up by the fbackup command is restored by: -
the frecover command -
the frestore command -
the tar command -
It can be restored by any of the above commands. |
41: | The cron daemon is responsible for jobs submitted by: -
the crontab utility only -
the at utility only -
the batch utility only -
jobs submitted by the at , batch , and crontab utilities |
42: | Fast Ethernet operates at which speed? -
10 Mbits per second -
100 Mbits per second -
155 Mbits per second -
One gigabyte per second |
43: | The presentation layer in the OSI reference model is responsible for: -
data format conversion -
establishing a network connection -
Routing -
Flow control |
44: | Which statement is not true? -
A token ring network is physically connected star topology. -
A token ring network is physically connected ring topology. -
An Ethernet network may be connected in star topology. -
An Ethernet network may be connected in ring topology. |
45: | BNC connectors are used with: -
coaxial cable -
category 3 coaxial cable -
category 5 coaxial cable -
fiber optic cable |
46: | Which of the following devices operates in layer 3 of the OSI model? -
repeater -
router -
hub -
bridge |
47: | In which type of network is the MAC address used? -
Ethernet -
Token Ring -
FDDI -
all of the above |
48: | The application layer in TCP/IP protocol is equivalent to which three OSI layers ? -
transport, network, presentation -
presentation, application, transport -
application, presentation, session -
session, application, transport |
49: | What is the default subnet mask for the IP address 172.23.15.99? -
255.255.255.0 -
255.0.0.0 -
255.255.0.0 -
172.23.255.255 |
50: | What is the loopback address for a host? -
the first address on the network -
any address ending with 0 -
0.0.0.0 -
127.0.0.1 |
51: | Which protocol is used to map an IP address to a MAC address? -
ARP -
RARP -
ICMP -
TFTP |
52: | Which file on HP-UX contains a list of standard port numbers for different applications? -
/etc/ hosts -
/etc/ports -
/etc/services -
/etc/protocols |
53: | The netstat command can be used to: -
list the IP addresses assigned to network adapters -
configure routes -
number the incoming and outgoing data packets -
all of the above |
54: | The standard telnet port address is: -
21 -
23 -
25 -
80 |
55: | The /var/adm/inetd.sec file is used for: -
an added layer of security to the inetd daemon. -
a secondary file for the inetd daemon which is used if the primary file is not present -
a backup file for /etc/inetd.conf -
a secondary log file for the inetd daemon |
56: | Which of the following is not a hostname resolution service? -
DNS -
NIS -
the /etc/hosts database file -
the /etc/resolv.conf file |
57: | Which configuration file is used by the DNS daemon named at startup? -
/etc/named.conf -
/etc/named.boot -
/etc/resolv.conf -
/etc/nsswitch.conf |
58: | The default location for NIS maps is under which directory? -
/var/yp -
/etc -
/etc/nis -
/var/nis |
59: | Which command is used to configure the master NIS server? -
ypinit -
ypmake -
ypserv -
ypset |
60: | What is not true about NFS? -
A system can act as NFS client and server at the same time. -
A system can export a single file, a directory, or a filesystem. -
A system can export a filesystem mounted from another NFS server. -
If a directory is exported, all of the directory tree under this directory is automatically exported. |
61: | Which of the following daemon is not an NFS daemon? -
rpc. mountd -
biod -
rpc.lockd -
named |
62: | Which command is used to export filesystems manually? -
exports -
exportfs -
showmount -
nfsstat |
63: | Which of the following is not an NFS Automounter map? -
direct -
indirect -
master -
slave |
64: | What is the name of the NTP server daemon? -
ntpd -
xntpd -
rpc.ntpd -
rpc.xntpd |