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

Which file is used to configure networking parameters such as hostname, IP address, and subnet mask?


Options are :

  • /etc/rc.config.d/network
  • /etc/rc.config.d/ipconf
  • /etc/rc.config.d/netconf (Correct)
  • /etc/rc.config.d/ifconf
  • /etc/rc.config.d/lanconf

Answer : /etc/rc.config.d/netconf

The anonymous user (nobody) is pre-configured on HP-UX to have which user ID?


Options are :

  • -65534
  • 2
  • -2 (Correct)
  • 65534
  • 0

Answer : -2

Which netmask is invalid for an IPv4 Class B address?


Options are :

  • 255.255.255.0
  • 255.255.128.0
  • 255.255.192.0
  • 255.255.254.0
  • 255.255.160.0 (Correct)

Answer : 255.255.160.0

Which security tools are commonly used on HP-UX systems? Select TWO.


Options are :

  • Secure Shell (ssh) (Correct)
  • NIS+
  • Host IDS (Correct)
  • DNS
  • DHCP

Answer : Secure Shell (ssh) Host IDS

What are possible uses of the lanadmin command? Select THREE.


Options are :

  • enables IP multiplexing
  • shows IP address for network interface card
  • shows basic I/O errors for the network interface card (Correct)
  • shows opertational status of the network interface card (Correct)
  • resets the network interface card (Correct)

Answer : shows basic I/O errors for the network interface card shows opertational status of the network interface card resets the network interface card

What does a hard link between two files do?


Options are :

  • allows data to span 2 files
  • allows 2 users to own the same file
  • allows multiple file names to reference the same data on disk (Correct)
  • ensures that 2 files get deleted together

Answer : allows multiple file names to reference the same data on disk

Which configuration file is used to determine the synchronization sources and operating modes of NTP?


Options are :

  • /etc/rc.config.d/netdaemons
  • /etc/rc.config.d/ntpconf
  • /etc/xntpd
  • /etc/ntp.conf (Correct)

Answer : /etc/ntp.conf

What does the command touch myfile do if myfile exists?


Options are :

  • gives an error
  • sets the filesize to zero
  • updates the date/time stamp (Correct)
  • nothing

Answer : updates the date/time stamp

Which system level service provides access to remote file systems?


Options are :

  • remote procedure services
  • automount (Correct)
  • network services
  • file transfer protocol (FTP)

Answer : automount

The commands, scp and sftp, perform what additional benefit over standard ARPA/Berkley equivalents?


Options are :

  • lower overhead
  • secure communications (Correct)
  • spawns multiple daemons
  • increased speed

Answer : secure communications

Which command removes all files in a directory without removing the directory?


Options are :

  • rm -r directory/* (Correct)
  • rm -a directory
  • rm -r directory
  • rm directory

Answer : rm -r directory/*

After modifying the behavior of the Internet Daemon (inetd), what should be done to initiate the changes?


Options are :

  • Run the inetd command with the -c option. (Correct)
  • Use the kill -r /etc/inetd command.
  • Reboot the system.
  • Edit the /etc/inetd.conf file.

Answer : Run the inetd command with the -c option.

Which command is used to display Internet to Ethernet address translation tables identifying remote machines?


Options are :

  • arp (Correct)
  • traceroute
  • lanscan
  • ifconfig

Answer : arp

How do you prompt a shell script user for input and then retrieve it?


Options are :

  • echo a message and then use $1, $2 to retrieve the result
  • echo a message and then use the get command to retrieve the result
  • echo a message and then use $* to retrieve the result
  • echo a message and then use the read command to retrieve the result (Correct)

Answer : echo a message and then use the read command to retrieve the result

Which actions are performed by the set_parms command? Select THREE.


Options are :

  • configure the system DNS setttings (Correct)
  • configure the system to use DHCP
  • set the root password (Correct)
  • configures network time protocol (NTP)
  • set the system date and time (Correct)

Answer : configure the system DNS setttings set the root password set the system date and time

The which command is used to determine the _______.


Options are :

  • absolute path for an executable (Correct)
  • compiler options used to create an executable
  • current version and release of an executable
  • pseudo terminal your session is currently logged on

Answer : absolute path for an executable

How do you find a pattern "pat" in vi?


Options are :

  • /pat (Correct)
  • %pat
  • *pat
  • @pat

Answer : /pat

What is the default number of workspaces for CDE?


Options are :

  • 16
  • 4 (Correct)
  • 8
  • 2

Answer : 4

What is the sequence used to boot an Ignite recovery tape?


Options are :

  • Stop the boot process, bo pri, bo
  • Stop the boot process, search, bo
  • Stop the boot process, search, bo (Correct)
  • Stop the boot process, bp pri, isl> hpux -tape

Answer : Stop the boot process, search, bo

Which command lists hardware devices?


Options are :

  • ioscan (Correct)
  • iomap
  • dmsg
  • lssf

Answer : ioscan

Which file permissions are indicated by the value of 721? Select TWO.


Options are :

  • read, write, and execute for owner (Correct)
  • execute only for owner
  • execute only for group
  • read, write, and execute for group
  • write only for other
  • write only for group (Correct)

Answer : read, write, and execute for owner write only for group

What is a network socket?


Options are :

  • an encrypted network communication path
  • a virtual connection between two NICs (Correct)
  • a data buffer used during network exchanges
  • the connector for a twisted-pair network cable

Answer : a virtual connection between two NICs

After setting the -async option for NFS exports, which statement would be true?


Options are :

  • would only be used for read-only mounts
  • leads to increased data integrity
  • would only be used on very quiet networks
  • leads to better performance (Correct)

Answer : leads to better performance

Information about the currently installed software for the local system is stored in which location?


Options are :

  • /var/adm/sw/depot
  • /var/adm/sw/products (Correct)
  • /var/adm/sw/filesets
  • /var/adm/sw/swinstall.log

Answer : /var/adm/sw/products

What is the correct syntax to mail the contents of a text file to a user?


Options are :

  • mail > textfilename user
  • mail user < textfilename (Correct)
  • mail user > textfilename
  • mail user << textfilename

Answer : mail user < textfilename

Which file contains information about unsuccessful login attempts?


Options are :

  • /etc/utmp
  • /etc/wtmp
  • /etc/nolog
  • /etc/btmp (Correct)

Answer : /etc/btmp

Which filenames are matched by "ab[cde]fg"?


Options are :

  • abcfg, abdfg, abefg, abcdfg, abcefg, abdefg
  • abfg, abcdefg
  • abcfg, abdfg, abefg, abfg
  • abcfg, abdfg, abefg (Correct)

Answer : abcfg, abdfg, abefg

How do you determine the IP address of your system?


Options are :

  • cat /etc/network
  • ifconfig (Correct)
  • ipconfig
  • lanscan

Answer : ifconfig

What characteristics are required for a non-root password? Select TWO.


Options are :

  • upper and lower case letters
  • more than eight characters
  • at least two alphabetical and one numeric or special character (Correct)
  • 6-8 characters (Correct)
  • at least two digits

Answer : at least two alphabetical and one numeric or special character 6-8 characters

Which environmental variable allows you to override the default directories searched for man pages?


Options are :

  • MANPAGE
  • PATH
  • SEARCHPATH
  • MANPATH (Correct)

Answer : MANPATH

Comment / Suggestion Section
Point our Mistakes and Post Your Suggestions