1Z0-877 - Oracle Solaris 10 System Administrator Certified Professional Exam, Part I
Go back to Oracle
Your x86-based system uses Xorg to configure the system hardware. You want to use Xsun to manage the hardware configuration. Which command should you run to switch the hardware management from Xorg to Xsun?
There are four printers installed and configured on your print server. The printers are named according to their performance: veryfast, fast, medium, and slow. You want to define a print class, printclass, that incorporates all four printers and sends most of the work to the veryfast and fast printers. Which sequence of commands on the print server accomplishes this task?
lpadmin -p veryfast -c printclass lpadmin -p fast -c printclass lpadmin -p medium -c printclass lpadmin -p slow -c printclass
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?
You can use the ls subcommand of ufsrestore.
As system administrator, you are asked to remove the SUNWaudd package from a user's workstation. When you run the command to remove this package, you see the following messages on your console: ## Verifying package dependencies. WARNING: The <SUNWauddx> package depends on the package currently being removed. WARNING: The <SUNWusb> package depends on the package currently being removed. Dependency checking failed. What happens to the files associated with the SUNWauddx and SUNWusb packages if you continue with the removal operation?
The files remain on the system.
Given : # who -r . run-level S Jan 26 16:01 S 1 3 Which two statements are true? ( Choose two. )
The current run-level is single-user.
A reboot is not necessary to go to run-level 3.
There has been a PROM patch released and you need to check which revision your SPARC- based systems are currently using. Which two commands indicate the version? (Choose two.)
A system will not boot after modification to a critical file on the root file system on /dev/dsk/c0t0d0s0. The system has been booted to the appropriate level to allow access to the disk where the root file system is located and to set the terminal type. Which two commands should you run to make the file system available for edit? (Choose two.)
mount /dev/dsk/c0t0d0s0 /a
You need to restore some files from a file system. The file system was backed up from a snapshot. Which command correctly restores these files?
Given the contents of /etc/dumpdates: /dev/rdsk/c0t0d0s7 0 Fri Jan 21 15:35:31 2005 /dev/rdsk/c0t0d0s7 2 Sat Jan 22 15:35:31 2005 /dev/rdsk/c0t0d0s7 3 Sun Jan 23 15:35:31 2005 /dev/rdsk/c0t0d0s7 4 Mon Jan 24 15:35:31 2005 Overnight, the file system on /dev/dsk/c0t0d0s7 becomes corrupt. In which order should you restore the backup?
0, 2, 3, 4
A user has an entry in both of the files that manage access to the crontab command. What is the result when the user tries to run the crontab command?
The user cannot run the command.
The SPARC-based workstation systems in your accounts department need their PROMs upgraded. Some of the systems fail to upgrade. What is the cause?
The write protect jumper has not been set correctly.
A new service named banner needs to be incorporated into SMF. The appropriate entries are placed in the milestones where this service is stopped and started and the service scripts are in the correct locations. Which command incorporates the banner service into SMF?
svccfg import /var/svc/manifest/site/banner-smf.xml
A recent system security review requires that in addition to the default logging of users using the su command, all su attempts must be logged to the console. Which file must be edited to achieve this?
You need to do a restore of a damaged /usr file system on your x86-based server running Solaris 10 OS. Which procedure do you complete to get into single user mode on your system to perform the restore?
boot from the CD-ROM or DVD, and when prompted at the Current Boot Parameters menu, type b -s
Given the /etc/dumpdates file entry: /dev/rdsk/c0t0d0s7 0 Mon Jan 10 23:59:59 2005 /dev/rdsk/c0t0d0s7 2 Mon Jan 17 23:59:59 2005 /dev/rdsk/c0t0d0s7 5 Mon Jan 24 23:59:59 2005 /dev/rdsk/c0t0d0s7 9 Mon Jan 31 23:59:59 2005 A backup of files that have been modified or created since January 18th is required. Which level must you supply to the ufsdump command to achieve this?
The ufsrestore command is used to extract the entire content of a file system (stored to tape with ufsdump) to another file system. Which statement about inode allocation is true?
The new file system's inodes are allocated successively as the files are restored, independent of the inode numbers recorded to tape.
You have added an additional internal drive to your x86-based desktop system, and you want to get the Solaris 10 OS to recognize it. Which three procedures allow the OS to recognize the new device? (Choose three.)
boot the system, and at the Current Parameters Menu, type b -r; confirm that you can see the new drive by executing # format
boot the system then execute # touch /reconfigure, and then reboot the system; confirm that you can see the new drive by executing # format.
boot the system and enter the # devfsadm -v command; confirm that you can see the new drive by executing # format
A junior kernel engineer wants to test modifications to a SPARC-based kernel. Which ok prompt command allows you to boot your workstation using the new kernel that the engineer has developed?
User fred complains about not being able to access the contents of the /export/share/orders file. You check the permissions of the file with ls: # ls -l /export/share/orders -rw-rw-r--+ 1 root root 3441 Jan 25 16:06 /export/share/orders Why is fred unable to access the contents of this file?
The ACL on this file denies fred access.
You must add additional network ports to your SPARC-based workstation. You have a Quad Fast Ethernet card. The system is currently powered off for scheduled maintenance. Which steps make the card accessible by the operating system?
remove the system cover; install the qfe card in an available PCI slot; power on the system; when you see the banner displayed, press the Stop-a key combination; execute the boot -rv PROM command at the ok prompt and look for references to qfe in the boot messages
A junior administrator is troubleshooting a user's workstation. The workstation will NOT boot from its Solaris 10 OS disk. After booting the system from CD-ROM, the junior administrator sends you an email that includes the following text that was retrieved from the workstation console: * /dev/rdsk/c0t0d0s2 partition map * * Dimensions: * 512 bytes/sector * 63 sectors/track * 16 tracks/cylinder * 1008 sectors/cylinder * 17662 cylinders * 17660 accessible cylinders * * Flags: * 1: unmountable * 10: read-only * * First Sector Last * Partition Tag Flags Sector Count Sector Mount Directory 0 2 00 1049328 9024488 10073815 / 1 3 01 0 1049328 1049327 2 5 00 0 17801280 17801279 4 7 01 10073816 5627354 15701168 /var 5 8 00 15701169 2100110 17801279 /home Which two statements are true? (Choose two.)
Slice 4 is classified as unmountable.
This output was produced by the following command: prtvtoc /dev/rdsk/c0t0d0s2.
A user's home directory contains unnecessary files that the user wants to delete. The ls -li command presents the following output: total 4 83215 -rw-r--r-- 2 user1 other 180 May 7 12:11 file1 83215 -rw-r--r-- 2 user1 other 180 May 7 12:11 file2 Which two occur when removing file2? (Choose two.)
The link count value of file1 decreases to 1.
The file1 file remains and continues to provide access to data.
A server has not had any changes made to the configuration of the standard system login accounts. It has a number of tape devices attached to it. The server is the only system on the local network that has tape devices. A file must be configured to allow remote backups. Which file must be correctly configured on the system with the tape devices attached to enable the other system to successfully perform its backup?
A few months ago, your department received several new SPARC-based Sun workstations. As part of your Solaris 10 OS installation procedure, you want to make sure that the firmware on these workstations is at the latest revision. Which two ok prompt commands allow you to see the firmware revision? (Choose two.)
Access to the crontab command for all non-privileged users needs to be removed immediately. Which two files need to be deleted from the system to achieve this? (Choose two.)
Your x86-based system has a BIOS that does not support booting off of a CD-ROM, DVD-ROM, or network, and you want to install Solaris 10 OS on your system. Which procedure must you use?
You must boot off of a Solaris 10 Device Configuration Assistant diskette.
You identify three files in the /export file system that appear to be identical. You know the inode number used by one of the files. Which two commands provide information verifying that these files are hard linked? (Choose two.)
find /export -inum <inode_number>
ls -liR /export
Given: # logins -l test1 test1 1001 other 1 # logins -l root root 0 root 0 Super-User # ls -l /etc/passwd -rw-r--r-- 1 root sys 726 Jan 25 16:56 /etc/passwd Which two commands disable test1 from reading /etc/passwd? (Choose two.)
# setfacl -m g::---,o:---,m:r-- /etc/passwd
# setfacl -m u:test1:rwx,g::r--,o:r--,m:--- /etc/passwd
Given: [email protected]# ftp dhcp-100 Connected to dhcp-100.corp.com. 220 dhcp-100 FTP server ready. Name (dhcp-100:root): root 331 Password required for root. Password: root 530 Login incorrect. Login failed. ftp> Which two statements are true? (Choose two.)
A user on dhcp-105 is trying to use ftp connect to dhcp-100.
A user on dhcp-105 is trying to log in to dhcp-100 with the root id.
A corrupted file system is now repaired and back in use. Some, but not all of the files within the file systems have been deleted. The only backup of this file system is a month-old tar archive. This archive will need to be restored as root. What are two effects of the restore operation? (Choose two.)
The missing files, present on the backup tape, are restored to the file system with the data as it was when the backup was taken.
The modification time on the files restored by tar will be preserved and will reflect the time the file was last modified before the backup, NOT the time of the restore operation.
You are attempting to install Solaris 10 OS on your x86-based laptop. You insert the Solaris Installation CD 1 into the CD-ROM drive. You reboot the system, but it boots into the existing OS that is on the system. Which two procedures can you use to begin the install process? (Choose two.)
You set the BIOS settings to boot from CD-ROM drive before booting from the hard drive. You then save the settings and reboot the system with Solaris Installation CD 1 in the CD-ROM drive.
You boot from a DCA diskette and direct it to read Solaris Installation CD 1 to start the installation.
Given: #id uid=101(user1) gid=10(user1) #su user2 and #tail -2 /etc/passwd user1:x:101:10:/export/home/user1:/bin/ksh user2:x:102:11:/export/home/user2:/bin/ksh What is the EUID and the EGID of the new user?
102 and 11
The automatic nightly backup of the /export3 file system failed because of a lack of space on the tape. You need to put in a fresh tape and manually restart the backup. To do this, you need to know which disk device holds the /export3 file system. Which two commands provide this information? (Choose two.)
Which three FORTH Monitor commands allow you to boot a SPARC-based system? (Choose three.)
ok boot cdrom -as
ok boot net:rarp
ok boot net
A company has upgraded their hardware and their new workstations have sufficient disk space to store the online man pages, rather than sharing them from the server. Which is the minimum Solaris OS software group that contains the man pages?
The disk slice /dev/dsk/c2t2d0s3, which has the /opt/software file system mounted, is starting to report errors that indicate it might crash soon. It is imperative that the file system is unmounted and the disk taken offline quickly. A check indicates that a number of people are accessing this file system. Which command forcibly unmounts this file system?
umount -f /opt/software
Your x86-based system with Solaris 10 OS installed on it is not booting correctly. You think the problem might be that a BIOS setting is not correctly configured. What should you do to abort the boot process and reboot into the BIOS configuration menu?
You press the Ctrl-Alt-Del keys and reboot the system, or press the reset button. When the screen tells indicates the key to enter the BIOS, you press it and examine your BIOS settings.
A script is needed that checks daily to see if at jobs are scheduled to run. Which two commands obtain this information? (Choose two.)
ls -l /var/spool/cron/atjobs
Your x86-based server will not boot Solaris 10 OS. You discover that you need to restore your pboot and boot block on the / (root) slice located on disk c0d0. You first boot off of the CD-ROM or DVD into single user mode. What commands should you run to restore the pboot and boot block on the slice?
# cd /usr/platform/`uname -m`/lib/fs/ufs # installboot /usr/platform/`uname -i`/lib/fs/ufs/pboot \ /usr/platform/`uname -i`/lib/fs/ufs/bootblk /dev/rdsk/c0d0s2
You want to set a system's default destination printer, so you run the command: # lpadmin -d printerE What file stores this information?
Several UNIX daemons reread their configuration files when they receive a particular signal. Which signal is used for this purpose?
Given: # ls -l program1 -rwsr-xr-x 1 root other 32768 May 9 16:57 program1 and # grep user1 /etc/passwd user1:x:100:312::/export/home/user1:/bin/ksh When user1 runs program1, what is the effective UID and GID of the process?
UID 0, GID 312
You need to set up a cron job that will run the /usr/bin/banner command to display the message System Backups tonight in a console window at 5:00 p.m. each Thursday. Which is the correct cron table entry?
0 17 * * 4 /usr/bin/banner "System Backups tonight" > /dev/console
You add SCSI disks to the main server and execute the appropriate commands to attach the disks. Now you need to check the physical paths where the address can be found. Which directory contains the physical paths?
While listing the contents of a directory on a Solaris system, some files are attributed to a user ID number, rather than to a user name. What caused this?
The user originally owning the files was deleted.
Your company has decided that all passwords chosen by users must contain at least two capital letters and one number. Which file should you change to implement this policy?
You need to install Solaris 10 OS on five servers that will support the engineering group that is working on a highly sensitive project. The group requests that you install only minimum network services. Which Solaris OS installation cluster should you install?
A SPARC-based system is rebooted, but no one can gain access to it. When investigating, the console shows this message: Rebooting with command: boot Boot device: /[email protected],0/SUNW,[email protected],8800000/[email protected],0 File and args: SunOS Release 5.10 Version Generic 64-bit Copyright 1983-2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Cannot open '/etc/path_to_inst' Program terminated Which two actions can you take to get the system working again? (Choose two.)
There is a problem on a SPARC-based system that has several permanent, customized device aliases. The system's use of these aliases needs to be temporarily disabled, so that when the problem is cleared, they can be enabled without having to redefine them. Which sequence of OBP commands temporarily disables the customized device aliases defined on the system?
setenv use-nvramrc? false reset
There is a requirement to run a script every other month starting next month (March). This script is to be run every Monday, Wednesday, and Friday. Which crontab entry achieves this?
25 23 * 3,5,7,9,11,1 1,3,5 /opt/application/gather_data