HP0-091 HP-UX System Administration Practice Test Set 4

Which command prints the sessions of the specified users and ttys with the most recent first, indicating when the session began, the duration of the session, and the tty on which the session took place?


Options are :

  • last (Correct)
  • who
  • cat utmp
  • stty -w

Answer : last

What is the purpose of the lost+found directory?


Options are :

  • a temporary storage for deleted files
  • allows fsck to recover orphaned files and directories (Correct)
  • required on JFS file systems for journaling
  • functions as a trash can for the file system

Answer : allows fsck to recover orphaned files and directories

If /tmp is 100% full, which commands are used to determine its volume location and if free space is available on that disk?


Options are :

  • lvdisplay, diskinfo
  • vgdisplay, lvdisplay, diskinfo
  • bdf, vgdisplay
  • bdf, lvdisplay, pvdisplay (Correct)

Answer : bdf, lvdisplay, pvdisplay

The default size of a physical extent in LVM is __________.


Options are :

  • 1/1024 of the total volume size
  • twice the size of a logical extent
  • 2MB
  • the same size as the resident file system's disk block
  • 1MB
  • 4MB (Correct)

Answer : 4MB

What is the command used to view the logical path to 16.34.198.17?


Options are :

  • route -tn 16.34.198.17
  • ipconfig -t 16.34.198.17
  • netstat -rn 16.34.198.17
  • traceroute 16.34.198.17 (Correct)

Answer : traceroute 16.34.198.17

What is the compatable SCSI interface for a DVD-ROM attached to an RX series system?


Options are :

  • High Voltage Single Ended
  • High Voltage Differential
  • Low Voltage Differential (Correct)
  • Single Ended

Answer : Low Voltage Differential

Which configuration file determines the mail relay behavior of the sendmail daemon?


Options are :

  • /etc/mail/sendmail.cf (Correct)
  • /etc/rc.config.d/netdaemons
  • /etc/sendmail.relay
  • /etc/mail/relay.conf

Answer : /etc/mail/sendmail.cf

Port numbers are configured in which HP-UX file?


Options are :

  • /etc/services (Correct)
  • /etc/hosts
  • /etc/inetd.conf
  • /etc/rc.config.d/services
  • /etc/serviceports

Answer : /etc/services

The .rhosts file resides in which directory?


Options are :

  • /etc
  • $HOME (Correct)
  • /netconf
  • $NETCONF
  • /home

Answer : $HOME

Which I/O bus structures are found in new (circa 2004) HP servers? Select TWO.


Options are :

  • HP-PB
  • HSC
  • PCI (Correct)
  • PCI-X (Correct)
  • ISA

Answer : PCI PCI-X

What processor families run the HP-UX operating system? Select TWO.


Options are :

  • PA RISC (Correct)
  • Itanium (Correct)
  • Alpha
  • MIPS
  • SPARC
  • PowerPC

Answer : PA RISC Itanium

According to current HP-UX conventions, what is the default location to install application software?


Options are :

  • /usr
  • /apps
  • /home
  • /opt (Correct)
  • /sbin

Answer : /opt

Which file would you edit to display a message when any user logs in?


Options are :

  • $HOME/messages
  • /var/motd
  • /var/adm/messages
  • /etc/motd (Correct)

Answer : /etc/motd

Which commands set the permissions on a file to be rwxr-xr-x? Select TWO.


Options are :

  • chmod u=rx,g=rwx,o=rx
  • chmod u=rwx,g=rx,o=rx file (Correct)
  • chmod u=rx,g=rx,o=rwx file
  • chmod 575 file
  • chmod 755 file (Correct)
  • chmod 557 file

Answer : chmod u=rwx,g=rx,o=rx file chmod 755 file

BIND is a Berkeley implementation of ______.


Options are :

  • Nettime Daemon
  • NIS+ Master Server
  • Domain Name Server (Correct)
  • /etc/hosts

Answer : Domain Name Server

Which steps are required to increase the size of a vxfs file system using the online JFS product?


Options are :

  • Ivextend, fsadm -b (Correct)
  • unmount the file system, lvextend, fsadm -b, mount the file system
  • unmount the file system, newfs the file system
  • lvextend, extendfs, mount the file system

Answer : Ivextend, fsadm -b

What is the main script that controls the start up of system services?


Options are :

  • /sbin/ioinitrc
  • /sbin/rc (Correct)
  • /sbin/preinitrc
  • /sbin/bcheckrc

Answer : /sbin/rc

What does the term available memory refer to?


Options are :

  • the total amount of memory that passes self-test prior to loading of the kernel
  • the amount of memory available after the kernel has been loaded (Correct)
  • the amount of memory on the free list
  • memory available for shared memory allocation

Answer : the amount of memory available after the kernel has been loaded

Which command lists the registered software depots on the local HP-UX server?


Options are :

  • swconfig -L depot
  • swlist -list bundle
  • swinstall -l depot
  • swlist -l depot (Correct)

Answer : swlist -l depot

Comparing device block I/O and character I/O, which statements are true? Select THREE.


Options are :

  • Character I/O passes through the buffer cache.
  • Character I/O is also known as raw I/O. (Correct)
  • Parallel ports always use block I/O.
  • Serial devices always use character I/O. (Correct)
  • All devices have both character and block drivers.
  • Block I/O passes through the buffer cache. (Correct)

Answer : Character I/O is also known as raw I/O. Serial devices always use character I/O. Block I/O passes through the buffer cache.

Which symbol is used to append error messages to a file in the POSIX shell?


Options are :

  • 2>
  • >>2
  • 2<<
  • 2>> (Correct)

Answer : 2>>

When is the information in the VGRA loaded into kernel memory?


Options are :

  • as a result of running vgscan
  • during volume group activation (Correct)
  • during vgcfgrestore
  • as a result of running mount
  • as a result of running vgsync

Answer : during volume group activation

What does the following command do? cp -r dir2 dir3


Options are :

  • copies all files and subdirectories from dir3 to dir2
  • copies all the files and subdirectories from dir2 to dir3 (Correct)
  • renames the directory from dir2 to dir3
  • copies and removes the files from dir2 to dir3

Answer : copies all the files and subdirectories from dir2 to dir3

Which statements are true for a LVM logical volume? Select TWO.


Options are :

  • It may contain a file system. (Correct)
  • It is a file system.
  • It is not a file system. (Correct)
  • A logical volume contains one or more volume groups.
  • A logical volume contains one or more plexes.

Answer : It may contain a file system. It is not a file system.

What is the purpose of using single quotes in shell scripts?


Options are :

  • removes the meaning of special characters (Correct)
  • ensures capital letters print
  • establishes command substitution
  • turns on name recognition

Answer : removes the meaning of special characters

Which statements are true regarding threads and processes? Select TWO.


Options are :

  • A process is a component of a thread.
  • A thread forces the entire process to run on a single set of resources.
  • Threads and processes have nothing to do with each other.
  • A process is a representation of an entire running program. (Correct)
  • A thread is a component of a process. (Correct)

Answer : A process is a representation of an entire running program. A thread is a component of a process.

Which commands are used to list device file details? Select TWO.


Options are :

  • lssf (Correct)
  • lsdev
  • ll -d
  • ioscan -fn (Correct)
  • lsf -a

Answer : lssf ioscan -fn

How do you find the text "string" in files a, b, and c?


Options are :

  • fstring string a b c
  • find string a b c
  • search string a b c
  • grep string a b c (Correct)

Answer : grep string a b c

Which command is used to boot a damaged system into single-user mode?


Options are :

  • hold the TOC button down while powering up the computer
  • at the ISL enter: hpux -isingle
  • at the ISL enter: hpux -is (Correct)
  • at the ISL enter: boot pri isingle

Answer : at the ISL enter: hpux -is

Which commands can be used to gracefully end your current HP-UX session? Select TWO.


Options are :

  • exit (Correct)
  • logout
  • end
  • quit
  • d (Correct)

Answer : exit d

Comment / Suggestion Section
Point our Mistakes and Post Your Suggestions