1Z0-879 | All About Highest Quality 1Z0-879 practice test


Q231. The security administrator wants to assign user bob to a netsec role so that the user can run the ifconfig(1M) and snoop(1M) commands with a rights profile named NSM. Which entries are contained in the /etc/security/exec_attr file after the required RBAC configuration has been implemented? 

A. NSM:netsec:cmd:::/sbin/ifconfig:uid=0 NSM:netsec:cmd:::/usr/sbin/snoop:uid=0 

B. NSM:root:cmd:::/sbin/ifconfig:uid=0 NSM:root:cmd:::/usr/sbin/snoop:uid=0 

C. NSM:suser:cmd:::/sbin/ifconfig:uid=0 NSM:suser:cmd:::/usr/sbin/snoop:uid=0 

D. NSM:bob:cmd:::/sbin/ifconfig:uid=0 NSM:bob:cmd:::/usr/sbin/snoop:uid=0 

Answer:

Q232. # lpstat -t laser scheduler is not running no system default destination device for laser: /dev/term/a UX:lpstat: ERROR: The LP print service isn't running or can't be reached. TO FIX: Your request can't be completely handled without the LP print service. If this problem continues, get help from your system administrator. 

Which two statements are true? (Choose two.) 

A. You need to run /usr/bin/enable to enable lpsched. 

B. You need to run svcadm enable printer/server to enable printing to laser. 

C. The pgrep lpsched command will not return the PID of lpsched. 

D. The LP print service is running. 

E. The laser printer is a network printer. 

Answer: B,C 

Q233. The oldtimer printer needs to be decommissioned because the newkid printer has made it obsolete. Which sequence of commands decommissions oldtimer without losing any print requests? 

A. reject oldtimer mv /var/spool/lp/requests/oldtimer/* /var/spool/lp/requests/newkid enable newkid disable oldtimer 

B. lpshut mv /var/spool/lp/tmp/oldtimer/* /var/spool/lp/tmp/newkid lpadmin -x oldtimer lpsched 

C. reject oldtimer disable oldtimer 

D. reject oldtimer lpmove oldtimer newkid lpadmin -x oldtimer 

Answer:

Q234. You want to set up individual partitions with file systems for / (root), /usr, /var, /opt, /export/swap, and /tmp, and an individual partition for swap. Which two partitions must  have enough disk space to use the crash dump feature savecore on your system? (Choose two.) 

A. / 

B. swap 

C. /usr 

D. /opt 

E. /var 

F. /tmp 

G. /export/swap 

Answer: B,E 

Q235. You want to perform a Live Upgrade on a server, but the server does not have enough empty slices to copy the critical file systems into. 

Which two commands can be used to create the empty slices required to complete a Live Upgrade? (Choose two.) 

A. lu -c 

B. format 

C. lumake 

D. lucreate 

E. luupgrade 

Answer: B,D 

Q236. The /prod/inv file system needs to be unmounted so you can take it offline for maintenance. When you try and unmount it, you receive the following error message: 

umount: /prod/inv busy 

One or more users are still using it. 

Which command should you use to discover who is using the file system? 

A. who -q 

B. fuser -cu /prod/inv 

C. who /prod/inv 

D. fuser -ck /prod/inv 

Answer:

Q237. You are extending the NIS support in your network to include a new NIS map to support automount direct maps. As part of this process, you modify the NIS Makefile to include the touch auto.direct.time; \ 

What is the purpose of this line? 

A. The line updates the timestamp in the index file for the NIS map so that the data file and the index file are correctly synchronized. 

B. The line is used to create the auto.direct.time source file for the NIS map in situations where the source file does not already exist. 

C. The line updates the timestamp on the /var/yp/auto.direct.time file so that the system has a record of when the map was last built. 

D. The line creates the /etc/auto.direct.time file, which causes a message to be sent to the syslogd daemon indicating that the NIS map has been changed. 

Answer:

Q238. While selecting files during an interactive restore with ufsrestore, you are interrupted by a junior administrator before you can complete the file selection process and start the restore. After answering the administrator's question, you realize that you have forgotten which files you had already selected for the restore. How can you determine which files are already marked for extraction and restore? 

A. You can use the ls subcommand of ufsrestore. 

B. You can use the add subcommand of ufsrestore. 

C. You can use the select subcommand of ufsrestore. 

D. You can view the selected files as they are marked with a plus sign (+) in the list that is permanently displayed in the upper half of the interactive ufsrestore screen view. 

Answer:

Q239. You inherited a large number of disks from another department and installed them in your server. You want to prepare them for use on your system by removing partition information but not destroy the VTOC. You decide to write a script to automate the task. Which command should you use to achieve this? 

A. format <device> 

B. prtvtoc /dev/rdsk/<device>s2 

C. fmthard -s /dev/null /dev/rdsk/<device>s2 

D. dd if=/dev/zero of=/dev/rdsk/<device>s2 bs=512 count=1 

Answer:

Q240. As system administrator, you are asked to troubleshoot a SPARC-based system that is NOT booting properly. The console messages indicate that ufsboot is not being loaded properly or is corrupted. Which phase of the boot process is ufsboot loaded? 

A. /etc/inittab Phase 

B. Boot Program Phase 

C. Kernel Initialization Phase 

D. Boot PROM Phase 

E. Init Phase 

Answer: