Sybex Solaris 9 Sun Certified System Administrator Study Guide Aug 2003 ISBN 0782141811

  Solaris 9: Sun Certified System Administrator Study Guide

  ISBN:0782141811

  by Quentin Docter Sybex

  © 2003 (597 pages)

  This guide covers parts I & II of the Sun Certified System Administrator for Solaris 9 exams: 310-014 and 310- 015 and provides in-depth coverage of all exam objectives along with practical insights drawn from real world experience.

  Table of Contents

   - System Backups and Restores

  

  Back Cover

Here’s the book you need to prepare for Sun’s Solaris 9

System Administrator Exams. This Study Guide provides: Assessment testing to focus and direct your studies

  

In-depth coverage of all official exam objectives

Authoritative coverage of all exam objectives, including:

Installation planning and software management

  Understanding file and directory concepts Managing patches and shells Performing system boot procedures Managing user and security administration

Handling network printers and system processes

Developing system backups strategies and restores Using and configuring network files and implementing server processes

Managing virtual file systems, core dumps, and

storage volumes Controlling access and configuring system messaging Implementing naming services Performing advanced installation procedures Using and troubleshooting a JumpStart server

  

About the Author

Quentin Docter, SCSA, MCSE, CNE, Server+, and A+, is a 9-year IT industry veteran. He has worked as a

  

Master Technical Instructor and Lead Curriculum

Developer, a consultant, and a senior Network Administrator. He is now working as a full-time

technical writer, author, and consultant in Murray,

Utah.

Solaris 9-Sun Certified System Administrator Study Guide Quentin Docter

  San Francisco * London

  Associate Publisher: Neil Edde Acquisitions Editor: Elizabeth Hurley Peterson Developmental Editor: Colleen Wheeler Strand Editor: Sharon Wilkey Production Editor: Elizabeth Campbell Technical Editor: Patrick Born Book Designer: Bill Gibson Graphic Illustrator: Tony Jonick

Electronic Publishing Specialist: Interactive Composition Corporation

Proofreaders: Emily Hsuan, Eric Lach, Nancy Riddiough, Sarah

  Tannehill, Monique van den Berg

  Indexer: Nancy Guenther CD Coordinator: Dan Mummert CD Technician: Kevin Ly Cover Designer: Archer Design Cover Photographer: John Wang, PhotoDisc

  CA 94501. World rights reserved. No part of this publication may be stored in a retrieval system, transmitted, or reproduced in any way, including but not limited to photocopy, photograph, magnetic, or other record, without the prior agreement and written permission of the publisher.

  Library of Congress Card Number: 2002113842

  ISBN: 0-7821-4181-1 SYBEX and the SYBEX logo are either registered trademarks or trademarks of SYBEX Inc. in the United States and/or other countries.

  Screen reproductions produced with FullShot 99. FullShot 99 © 1991- 1999 Inbit Incorporated. All rights reserved. FullShot is a trademark of Inbit Incorporated. The CD interface was created using Macromedia Director, © 1994, 1997- 1999 Macromedia Inc. For more information on Macromedia and Macromedia Director, visit . SYBEX is an independent entity from Sun Microsystems, Inc. and is not affiliated with Sun Microsystems, Inc. in any manner. This publication may be used in assisting students to prepare for the Sun Certified System Administrator exams. Neither Sun Microsystems, Inc. nor SYBEX warrants that use of this publication will ensure passing the relevant exam. Solaris is either a registered trademark or a trademark of Sun Microsystems, Inc. in the United States and/or other countries.

  TRADEMARKS: SYBEX has attempted throughout this book to distinguish proprietary trademarks from descriptive terms by following the capitalization style used by the manufacturer. The author and publisher have made their best efforts to prepare this book, and the content is based upon final release software whenever possible. Portions of the manuscript may be based upon prerelease versions supplied by software manufacturer(s). The author and the publisher make no representation or warranties of any kind with regard to the completeness or accuracy of the contents herein and accept no liability of any kind, including but not limited to performance, merchantability, fitness for any particular purpose, or any losses or damages of any kind caused or alleged to be caused directly or indirectly from this book.

  Manufactured in the United States of America 10 9 8 7 6 5 4 3 2 1 To Our Valued Readers: Thank you for looking to Sybex for your Solaris 9 exam prep needs. We at Sybex are proud of the reputation we've established for providing certification candidates with the practical knowledge and skills they need to succeed in the highly competitive IT marketplace. Sun developed the Sun Certified System Administrator for the Solaris 9 Operating Environment certification for administrators tasked with performing essential procedures on the Solaris OE and technical support staff responsible for administering a networked server running on the Solaris OE. CertCities.com recently included this certification in its list of the "10 Hottest Certifications for 2003." This Solaris 9: Sun Certified System Administrator Study Guide was developed to help you optimize learning and retention of topics you can expect to be tested on, both in the exams and in real life. It has always been Sybex's mission to teach individuals how to utilize technologies in the real world, not to simply feed them answers to test questions. Just as Sun is committed to establishing measurable standards for professionals who work with the Solaris operating environment, Sybex is committed to providing those professionals with the means of acquiring the skills and knowledge they need to meet those standards. The Sybex team of authors, editors, and technical reviewers has worked hard to ensure that this Study Guide is comprehensive, in-depth, and pedagogically sound. We're confident that this book, along with the collection of cutting-edge software study tools included on the CD, will meet and exceed the demanding standards of the certification in your endeavors. Good luck in pursuit of your Solaris 9 certification! Neil Edde Associate Publisher-Certification Sybex, Inc.

  Software License Agreement: Terms and Conditions

  The media and/or any online materials accompanying this book that are available now or in the future contain programs and/or text files (the "Software") to be used in connection with the book. SYBEX hereby grants to you a license to use the Software, subject to the terms that follow. Your purchase, acceptance, or use of the Software will constitute your acceptance of such terms. The Software compilation is the property of SYBEX unless otherwise indicated and is protected by copyright to SYBEX or other copyright owner(s) as indicated in the media files (the "Owner(s)"). You are hereby granted a single-user license to use the Software for your personal, noncommercial use only. You may not reproduce, sell, distribute, publish, circulate, or commercially exploit the Software, or any portion thereof, without the written consent of SYBEX and the specific copyright owner(s) of any component software included on this media. In the event that the Software or components include specific license requirements or end-user agreements, statements of condition, disclaimers, limitations or warranties ("End-User License"), those End- User Licenses supersede the terms and conditions herein as to that particular Software component. Your purchase, acceptance, or use of the Software will constitute your acceptance of such End-User Licenses. By purchase, use, or acceptance of the Software, you further agree to comply with all export laws and regulations of the United States as such

  Software Support

  Components of the supplemental Software and any offers associated with them may be supported by the specific Owner(s) of that material, but they are not supported by SYBEX. Information regarding any available support may be obtained from the Owner(s) by using the information provided in the appropriate read.me files or listed elsewhere on the media.

  Should the manufacturer(s) or other Owner(s) cease to offer support or decline to honor any offer, SYBEX bears no responsibility. This notice concerning support for the Software is provided for your information only. SYBEX is not the agent or principal of the Owner(s), and SYBEX is in no way responsible for providing any support for the Software, nor is it liable or responsible for any support provided, or not provided, by the Owner(s).

  Warranty

  SYBEX warrants the enclosed media to be free of physical defects for a period of ninety (90) days after purchase. The Software is not available from SYBEX in any other form or media than that enclosed herein or posted to . If you discover a defect in the media during this warranty period, you may obtain a replacement of identical format at no charge by sending the defective media, postage prepaid, with proof of purchase to: SYBEX Inc.

  Product Support Department 1151 Marina Village Parkway Alameda, CA 94501 Web: After the 90-day period, you can obtain replacement media of identical format by sending us the defective disk, proof of purchase, and a check or money order for $10, payable to SYBEX.

  Disclaimer

  SYBEX makes no warranty or representation, either expressed or implied, with respect to the Software or its contents, quality, performance, merchantability, or fitness for a particular purpose. In no event will SYBEX, its distributors, or dealers be liable to you or any other party for direct, indirect, special, incidental, consequential, or other damages arising out of the use of or inability to use the Software or its contents even if advised of the possibility of such damage. In the event that the Software includes an online update feature, SYBEX further disclaims any obligation to provide this feature for any specific duration other than the initial posting. The exclusion of implied warranties is not permitted by some states. Therefore, the above exclusion may not apply to you. This warranty provides you with specific legal rights; there may be other rights that you may have that vary from state to state. The pricing of the book with the Software by SYBEX reflects the allocation of risk and limitations on liability contained in this agreement of Terms and Conditions.

  Shareware Distribution

  This Software may contain various programs that are distributed as shareware. Copyright laws apply to both shareware and ordinary commercial software, and the copyright Owner(s) retains all rights. If you try a shareware program and continue using it, you are expected to register it. Individual programs differ on details of trial periods, registration, and payment. Please observe the requirements stated in appropriate files.

  Copy Protection

  The Software in whole or in part may or may not be copy-protected or encrypted. However, in all cases, reselling or redistributing these files without authorization is expressly forbidden except as specifically provided for by the Owner(s) therein.

  To Kara, Abbie, and Lauren.

  Acknowledgments

  Ask anyone who's written a book, and they'll tell you that it's a huge undertaking. I agree. I wouldn't have gotten through this process without the unconditional and unwavering love and support from my wife Kara. So, deservedly, she gets first billing. The crew at Sybex, as always, has been great to work with. Neil Edde, Elizabeth Hurley Peterson, Colleen Strand, Heather O'Connor, Study Guide Expert Elizabeth Campbell, Sharon Wilkey, Patrick Born, and Gareth Bromley all contributed a great deal toward making this book a success. Thanks also to the proofreaders Emily Hsuan, Eric Lach, Nancy Riddiough, Sarah Tannehill, and Monique van den Berg. On the personal side, I want to thank Doc and Sue and Mike and Marsha for being wonderfully supportive grandparents to Abbie and Lauren, as well as being there for us. Joe Hohlfled, thank you for helping cultivate my interest in computers, golf, and chess, as well as teaching me so many important lessons about life. To my friends, Rob and Amy, Scott and Robyn, and Eron and Lisa, thanks for providing sanity or helping detract from my sanity at just the right times. To all of my students, both past and present, thanks for asking the tough questions and making me think. And finally, to Lee Rittenour, thank you for sharing your incredible talents and passion for music with the rest of us.

Introduction

  There is high demand for professionals in the information technology (IT) industry, and because Solaris is the most widely used UNIX implementation in the world, Solaris certifications are very worthwhile to obtain. You have made the right decision to pursue certification, because being Solaris certified will give you a distinct advantage in this highly competitive market.

  Solaris 9 is Sun Microsystems' latest version of their popular UNIX-based operating environment. Sun's first operating system was released as SunOS in 1983, based on BSD UNIX. Throughout the years, SunOS went through many transformations, most recently with the release of Solaris 9 in 2002. Sun Microsystems is known for their innovative and reliable hardware (namely the SPARC processor) as well as their Solaris operating environment. Because of their large and loyal user base, and their willingness to take calculated chances to remain on top, Sun is poised to remain an industry leader for years to come.

  This book is intended to help you on your exciting path toward becoming a Sun Certified System Administrator for the Solaris 9 Operating Environment. Basic knowledge of Solaris is an advantage when reading this book but is not mandatory. Using this book and the Solaris operating environment, you can start learning Solaris and pass the CX-310-014: Sun Certified System Administrator for the Solaris 9 Operating Environment,

   exams. Why Become a Sun Certified System Administrator? The number one reason to become an SCSA is to gain more visibility and greater access to some of the industry's most challenging opportunities. Solaris certification is the best way to demonstrate your knowledge and

  skills in the Solaris operating environment. The certification tests are a combination of multiple choice, matching, and fill-in-the-blank questions. as your understanding of system administration principles. Certification is proof of your knowledge and shows that you have the skills required to support Solaris. Sun Microsystems' certification program can help a company to identify proven performers who have demonstrated their skills and who can support the company's investment in both Sun Microsystems' hardware and software. It demonstrates that you have a solid understanding of your job role and the Sun products used in that role. SCSAs are highly respected and well paid in the IT industry. Although there might be a significant number of IT professionals certified in other network operating systems, Solaris-certified and other UNIX-certified professionals are still in very high demand.

  So, whether you are beginning a career, changing careers, securing your present position, or seeking to refine and promote your position, this book is for you!

Sun Microsystems Certifications

  Sun Microsystems offers a variety of certifications to help you demonstrate your expertise in several functional areas. There are currently four certification areas: Solaris Operating Environment, Java Technology, Sun ONE Middleware, and Network Storage. Representatives from Sun Microsystems have announced plans for a security certification to be released in 2003.

  Note For the latest certification information, visit the Sun certification page at .

  Solaris Operating Environment

  The Solaris operating environment is the premier UNIX-based network operating environment available in the world today. Many companies swear by Sun hardware and software, because of their high reliability, availability, security, and scalability. Sun is committed to meeting today's networking demands, while anticipating tomorrow's innovations. Sun offers two certification tracks for the Solaris operating environment: Sun Certified System Administrator and Sun Certified Network Administrator. Both of these tracks are currently offered for the Solaris 7, Solaris 8, and Solaris 9 Operating Environments. Because this book focuses on Solaris 9, detailed information will be provided for only this track. Attaining certifications in Solaris 7 and Solaris 8 is a very similar process to that of Solaris 9.

  The Sun Certified System Administrator certification is for system administrators who perform system administration functions on Solaris client and server computers. In order to become certified as a Sun Certified System Administrator in Solaris 9, you must pass two exams:

  Sun Certified System Administrator for the Solaris 9 Operating Environment,

  (CX-310-014) Sun Certified System Administrator for the Solaris 9 Operating Most people find the

  exam to be more difficult, and it's possible to

  see questions from

   test. If you are already

  certified as a system administrator for a previous version of the Solaris operating environment, you can take an upgrade exam instead of the two exams:

  Sun Certified System Administrator for the Solaris 9 Operating Environment Upgrade Exam (CX-310-016)

  The Sun Certified Network Administrator exam is for individuals who are or will be responsible for managing Sun computers in a networked environment. To become a Sun Certified Network Administrator, you must first become a Sun Certified System Administrator. After you have attained that status, you need only one more exam to become a Network Administrator:

  Sun Certified Network Administrator for the Solaris 9 Operating Environment (CX-310-044)

  At the

  

  website, there are free sample exams, as well as full-length practice exams available for purchase.

  Java Technology

  Java technology has taken the computer industry by storm and appears poised to remain a force for quite some time. If you're a Java developer, you should consider obtaining a Java certification. Sun offers four Java certifications:

  Sun Certified Programmer for the Java 2 Platform Sun Certified Developer for the Java 2 Platform Sun Certified Web Component Developer for the Java 2 Platform, Enterprise Edition (J2EE) For more information, go to

   and choose the certification you are interested in.

  Sun ONE Middleware

  Sun Open Net Environment (ONE) is Sun's software for building and deploying Services on Demand. Because of its scalability and reliability, it has a place in current traditional software settings as well as advanced web-based applications.

  Sun provides both developer and engineer certifications for Sun ONE: Sun Certified Developer for Sun ONE Application Server 6.0 Sun Certified Engineer for Sun ONE Directory Server 5.x

  For more information, see and

   choose the certification you are interested in.

  Network Storage

  For IT professionals who have extensive storage management needs, such as those who use VERITAS Volume Manager, VERITAS Backup, Solstice DiskSuite, or Solstice Backup, Sun offers three storage technology certifications:

  Sun Certified Data Management Engineer Sun Certified Backup and Recovery Engineer Sun Certified Storage Architect

  For more information, go to

  

and choose the certification you are interested in.

  More Information

  The most current information about Sun certifications can be found at

   . Follow the

  Certification link and choose the certification path that you are interested in. Test objectives are available on the website, and keep in mind that they can change at any time without notice.

Skills Required for SCSA Certification

  To pass the

  certification exam, you need to master the following

  skill areas: Managing file systems Installing software Performing system boot procedures Performing user and security administration Managing network printers and system processes Performing system backups and restores

  To pass the

  certification exam, you need to master the following

  skill areas: Describing network basics Managing virtual file systems and core dumps Managing storage volumes Controlling access and configuring system messaging Setting up naming services Performing advanced installation procedures

  The complete list of specific objectives is on the tear-out card included at the front of this book. At the beginning of each chapter, you'll also see a know. But this book is here to help you.

  

Note Exam objectives are subject to change at any time and without prior notice at

  Sun's discretion, so be sure to check the website ( for the most up-to-date objective list.

  Tips for Taking the SCSA Exams Use the following tips to help you prepare for and pass each exam.

  You do not need to complete both tests in one sitting. Even if you are prepared to take both exams, it's usually best to take them on separate days so you are fresh for each exam. The

   exam has 58

  questions. You will have 105 minutes to complete each test. Plan accordingly so that you do not run out of time. Many questions on the exam have answer choices that at first glance look identical. Read the questions carefully. Do not just jump to conclusions. Make sure that you clearly understand exactly what each question asks. You need to be able to identify what's important and what's not important in a test question. Question writers will include extraneous information in the question to throw you off. If some of the information presented doesn't seem to fit with the other information, it might not be relevant. Some of the questions will require fill-in-the-blank answers. Remember that case-sensitivity is important when typing directory paths, commands, and command options. Do not leave any questions unanswered. There is no negative scoring. After selecting an answer, you can mark a difficult question or one that you're unsure of and come back to it later. When answering questions that you are not sure about, use a process of elimination to get rid of the obviously incorrect answers first. Doing this greatly improves your odds if you need to make an educated guess. If you're not sure of your answer, mark it for review and then look for other questions that may help you eliminate any incorrect answers. At the end of the test, you can go back and review the questions that you marked for review.

Where Do You Take the Exam?

  You can take Solaris exams at any of the more than 800 Thompson Prometric Authorized Testing Centers around the world. For the location of a testing center near you, call 1-800-891-3926. Outside the United States and Canada, contact your local Thompson Prometric Registration Center.

  In order to register with Thompson Prometric, you must first purchase an exam voucher from Sun. To do this, call Sun Training at 1-800-422-8020. Exam vouchers are nonrefundable, must be used within one year of the purchase date, and can be used only once. After you have your exam voucher number, you can register for the test with Thompson Prometric. To register for a proctored Sun Certified System Administrator exam at a Thompson Prometric test center: Determine the number of the exam you want to take.

  Register with Thompson Prometric online at

  or in North America, by calling 1-800-

  891-EXAM (800-891-3926). At this point, you will be asked for your exam voucher number. When you schedule the exam, you'll get instructions regarding all appointment and cancellation procedures, the ID requirements, and information about the testing-center location. You can schedule exams up to six weeks in advance or as soon as one working day before the day you wish to take it. If something comes up and you need to cancel or reschedule your exam appointment, contact Thompson Prometric at least 24 hours in advance.

What Does This Book Cover?

  This book provides details to help you learn about the Solaris 9 Operating Environment and to help you pass two exams: Sun Certified System Administrator for the Solaris 9 Operating Environment,

  (CX-310-

  014), and Sun Certified System Administrator for the Solaris 9 Operating Environment,

   (CX-310-015). After passing both exams, you will be

  a Sun Certified System Administrator for the Solaris 9 Operating Environment. This book starts with the basics of Solaris and dives into detail very quickly. Because there are two exams, this book has two parts. Chapters 1 through 9 cover the

  exam, and Chapters 10

  through 16 cover the

   . Explains the processes for creating system backups and restoring those backups. exam, and discusses the Solaris networking environment.

   . Explains the custom JumpStart and Web Start Flash installation methods. Each chapter ends with Review Questions that are specifically designed

  to help you see what you remember and to retain the knowledge presented. To ensure that you understand the material, read and answer each question carefully.

How to Use This Book

  This book can provide a solid foundation for the serious effort of preparing for the SCSA certification. To best benefit from this book, use the following study method:

  1. Take the Assessment Test immediately following this introduction. (The answers are at the end of the test.) Carefully read over the explanations for any questions you get wrong and note which chapters the material comes from. This information should help you plan your study strategy.

  2. Study each chapter carefully, making sure that you fully understand the information and the test objectives listed at the beginning of each chapter. Pay extra close attention to any chapter related to questions you missed in the Assessment

  Test.

  3. Work through all procedures detailed in the chapter, referring to the chapter so that you understand the reason for each step you take. If you do not have a Solaris 9 installation available, you will be at a disadvantage, so be sure to study all procedures and screen output carefully. Answer the Review Questions related to that chapter. (The answers appear at the end of each chapter, after the " section.)

  4. Note the questions that confuse or trick you, and study those sections of the book again.

  5. Before taking the exam, try your hand at the two Bonus Exams that are included on the CD that comes with this book. There are two Bonus Exams for both

   The questions

  on these exams appear only on the CD. This will give you a complete overview of what you can expect to see on the real test.

  6. Remember to use the products on the CD included with this book. The electronic flashcards exam preparation software has been specifically designed to help you study for and pass your exam. The electronic flashcards can be used on your Windows computer or on your Palm device. To learn all the material covered in this book, you'll need to apply yourself regularly and with discipline. Try to set aside the same time period every day to study, and select a comfortable and quiet place to do so. If you work hard, you will be surprised at how quickly you learn this material. All the best!

What's on the CD?

  We have worked hard to provide some really great tools to help you with your certification process. All of the following tools should be loaded on your workstation when you're studying for the test.

  You will find all of the questions from the book, plus two Bonus Exams that appear exclusively on the CD. You can take the Assessment Test, test yourself by chapter, take one or both of the Bonus Exams, or take an exam randomly generated from all of the questions.

  Electronic Flashcards for PC and Palm Devices

  After you read the Solaris 9: Sun Certified System Administrator Study

  

Guide, read the Review Questions at the end of each chapter and study

  the Bonus Exams included on the CD. But wait, there's more! Test yourself with the flashcards included on the CD. If you can get through these difficult questions and understand the answers, you'll know that you're ready for the exam.

  The flashcards include 150 questions specifically written to hit you hard and make sure you are ready for the exam. There are separate flashcards for the

   exams. Between the Review Questions, Bonus Exams, and flashcards, you should be more than prepared for the exam. Solaris 9: Sun Certified System Administrator Study Guide in PDF Sybex is now offering this Solaris certification book on the CD so you can read the book on your PC or laptop. It is in Adobe Acrobat format. Acrobat Reader 5 is also included on the CD. This will be extremely

  helpful to readers who fly or commute on a bus or train and don't want to carry a book, as well as to readers who find it more comfortable reading from their computer.

  How to Contact the Author

  You can reach Quentin Docter by e-mailing him at >.

Assessment Test and Answers

  1. What is the core of the Solaris operating system is called?

  A. Shell

  B. Kernel

  C. Core

  D. Daemon

  2. Which of the following file systems does Solaris 9 support? (Choose all that

  apply.)

  A. UFS

  B. UDF

  C. PCFS

  D. NFS

  E. HFS

  3. If you want to get help on a specific Solaris command, what command do you

  use?

  A. man

  B. help

  C. !

  D. ?

  

4. You are adding a patch to your Solaris server. Which of the following commands

  do you execute if you want to save disk space and not create a backout directory when you install the patch? A. patchadd -d

  B. patchadd -r

  C. /var/sadm/install/contents

  computer's Ethernet address?

  8. From the Forth Monitor prompt, which of the following commands displays the

  D. alias

  C. tdalias

  B. nvalias

  A. devalias

  

7. In the Boot PROM, which command is used to create permanent device aliases?

  D.

  B. /a/var/sadm/system/data/upgrade_cleanup

  C. patchadd -n

  A. /a/var/sadm/data/upgrade

  list of local modifications that the upgrade could not preserve?

  6. You have just upgraded your Solaris 8 server to Solaris 9. Which file contains a

  D. i86pc

  C.n4u

  B. sun4m

  A. sun4d

  5. On which hardware platforms can you install Solaris 9? (Choose all that apply.)

  D. patchadd -nobackout

  A. banner

  B. addr

  C.

  12. Which of the following files contains a user account's encrypted password?

  D. useradd -g mdte -u 1068

  C. useradd -g mdte -U 1068

  B. useradd -G mdte -u 1068

  A. useradd -G mdte -U 1068

  primary group of mdte and a UID of 1068?

  11. Which e following commands creates a user named abradley with a

  D. lp

  B. bin

  C. enetaddr

  A. root

  10. Which of the built-in user accounts has the User ID of 1?

  D. test floppy

  C. test-floppy

  B. test /floppy

  A. test,floppy

  diagnostic test on the floppy disk drive?

  

9. In the OBoot PROM, which of the following commands enables you to run a

  D.

  A. /etc/passwd

  B. /etc/shadow

  C. /etc/encrypt

  D. /etc/users

  13. Conside following directory output:

  lrw-r--r-- 1 root other 4105 Aug 1 12:21 abc123 What type of file is abc123?

  A. A locked file

  B. A regular file

  C. A symbolic link

  D. hard link

  14. What is the result of the following command?

  # chmod 640 file1

  B. On file1, the user will have Read, Write, and Execute access; the will have Read and Write access; and other will have no access.

  C. On file1, the user will have Read, Write, and Execute access; the group will have Read-only access; and other will have no access.

  D. On file1, the user will have Read and Write access, the group have Read-only access, and other will have no access.

  umask on this computer?

  A. 000

  B. 022

  C. 755

  D. 644

  E. Unable to determine

  

16. Which of the following commands displays system configuration information,

  including the hardware platform, memory, and device configuration?

  A. sysdef

  B. prtconf

  C. dmesg

  D. config

  

17. Which hard disk slice is typically reserved for the /home or /export/home

  systems?

  A. 0

  B. 1

  C. 4

  D. 7

  18. You are presented with the following menu:

  MENU: disk - select a disk type - select (define) a disk type partition - select (define) a partition table current - describe the current disk repair - repair a defective sector show - translate a disk address label - write label to the disk analyze - surface analysis defect - defect list management backup - search for backup labels verify - read and display labels save - save new disk/partition definitions volname - set 8-character volume name !<cmd> - execute <cmd>, then return Which mand did you type to display this menu?

  A. fdisk

  B. partition

  C. format

  D. analyze

  19. Which of the following is the correct function of an inode? A. It contains enough information to begin the system's boot process.

  B. It contains file system information, including the size of the file system and the disk label.

  C. It contains information about a file except for the file's filename.

  D. It contains a listing of all directories in the file system.

  20. Which of the following are not pseudo file systems? (Choose all that apply.)

  A. PROCFS

  B. NFS

  C. TMPFS

  D. LOFS

  E. HSFS

  

21. During system maintenance, you have unmounted all file systems. You want to remount the file systems listed in the local /etc/vfstab file. Which command should you execute to accomplish this? A.

  B. mountall

  A. stop

  B. kill proc1

  A. kill -9 proc1

  Which of the following commands should you use?

  

24. You want to stop a misbehaving process named proc1, but your attempt to stop

the process has failed. Therefore, you want to stop the process unconditionally.

  D.

  C. disable

  B. cancel

  print requests from print clients?

  C. umount

  

23. Which of the following Solaris print commands prevents the printer from receiving

  D.

  C. /etc/lp/spool

  B. /var/spool/print

  A. /var/spool/lp

  22. Which of the following directories is the default print spooling directory?

  D. umountall

  C. pkill -9 proc1

  D. pkill proc1

  C.iles that have changed since Thursday.

  A. Data Link

  D. All files on the computer.

  C. All files on the root file system (/) only.

  B. All files on the root file system (/) that have been modified that day.

  up? A. All files that have been modified that day.

  27. You perform a level 0 backup on a Wednesday evening. What files are backed

  D. More information is needed.

  B. Files that have changed since Tuesday.

  25. Which file maintains a list of the dates, times, and levels of system backups

  6 backup on Thursday. If you make a level 5 backup on Friday, from how far back will the files be backed up? A. Files that have changed since Sunday.

  

26. You make a level 0 backup on Sunday, a level 5 backup on Tuesday, and a level

  D.

  C. /etc/dump

  B. /etc/ufsdump.log

  A. /etc/dump.log

  made with ufsdump?

  B. Network C. Session

  D.ransport

  D. RPC

  function properly? (Choose all that apply.)

  32. Which e following daemons must be running on an NFS server for it to

  D. VFS

  C. TMPFS

  B. LOFS

  A. CacheFS

  file system (/) within an existing file system?

  

31. Which of the following file systems enables you to create a new virtual root

  C. DHCP

  

29. Which of the following files contains the domain name of the computer you are

  B. TFTP

  A. RARP

  the network? (Choose all that apply.)

  

30. Which of the following protocols are used to boot diskless client computers over

  D. /etc/domainname

  C. /etc/hosts

  B. /etc/defaultdomain

  A. /etc/domain

  logged into?

  A. nfsd C. nfslogd

  D. automountd

  A. Transactional volume

  C.ound robin

  B. Serial

  A. Parallel

  apply.)

  35. Which of the following are read policies on a RAID 1 volume? (Choose all that

  D. RAID 5

  C. RAID 1

  B. RAID 0

  greatest increase in disk read speed?

  E. statd

  34. Which of the following storage volume types provides fault tolerance with the

  D. Master map

  C.irect map

  B. Indirect map

  A. Automount map

  a mount point on a client and a directory on a server?

  

33. Which of the following is an automount point that contains associations between

  F. lockd

  D. Geometric

  36. What is the primary advantage of using a RAID 0 volume?

  A. Increased storage capacity

  B. Increased disk I/O performance

  C. Provides fault tolerance

  D. Allows more than eight volumes per hard disk

  

37. You have just created a role named backupadm on your Solaris computer. You

  are going to assign the role to a user named cmalcolm. Which of the following commands do you use to perform this task? A. rolemod -R backupadm cmalcolm

  B. rolemod -R cmalcolm backupadm

  C. usermod -R backupadm cmalcolm

  D.

  

38. Which of the following commands is used to create Access Control Lists on files

  and directories?

  A. setacl

  B. setfacl

  C. chmod

  D. mkacl

  39. Consider the following information:

  root::::auths=solaris.*,solaris.grant;profiles=All Which RBAC file is this information from?

  A. /etc/user_attr

  B. /etc/security/auth_attr C.

  D. /etc/security/exec_attr

  D. logger

  of the following directories, by default, stores the maps for the NIS server?

  43. Your NIS server is responsible for a domain named flyingsquid.com

  D. tcpd

  C.

  B.

  A. inetd

  all incoming TCP connections?

  

42. Which of the following daemons is responsible for listening for and responding to

  C.

  40. You run the last command on your Solaris workstation. From which database

  B. syslogedit

  A.

  your Solaris server. Which command should you use?

  

41. You want to manually add an entry into the system log after you force a reboot of

  D. /var/log/syslog

  C. /var/adm/messages

  B. /var/adm/wtmpx

  A. /var/adm/utmpx

  does the last command pull its data?

  A. /var/yp/flyingsquid.com

  B. /var/nis/flyingsquid.com

  B. /etc/nsswitch.conf

  D.

  C. Custom JumpStart

  B. Web Start

  A. Solaris Live Upgrade

  Start Flash archive? (Choose all that apply.)

  46. Which of the following installation programs can be used to install from a Web

  D./etc/defaultdomain

  C. /etc/nameservice

  client computer. Which of the following files on your computer tells it which name service to use to resolve the name of the server? A. /etc/hosts

  C. /var/flyingsquid.com

  

45. You are attempting to connect to a server on your network by using your Solaris

  D. /etc

  C. /var/yp

  B. /var/nis

  A. /var/maps

  that contains the source files for the NIS maps?

  44. You are configuring a NIS server for your domain. What is the default directory

  D. /var/nisplus/flyingsquid.com

  

47. You are beginning a custom JumpStart installation. Which of the following files is used by custom JumpStart to match a computer to an installation profile?

  A. A begin script

  B. rules

  C. rules.ok

  D. Web Start Flash archive

  

48. Which of the following are legal values for the install_type variable in a

  custom JumpStart profile? (Choose all that apply.)

  A. install

  B. initial_install

  C. upgrade

  D. flash_install

  Answers

  B. The core of Solaris is called the kernel. The shell is the user interface, where users enter commands. A daemon is a background process running in Solaris. Seefor more information.

   A, B, C, D. Solaris 9 supports the UNIX File System (UFS), Universal

  Disk Format (UDF), Personal Computer File System (PCFS), and Network File System (NFS), as well as many others. HFS is not a valid file system. See

   A. The man command, used as man name, will give you the manual

  page for that command. See for more information.

   A. The patchadd -d command will not create a backout directory.

  This saves hard disk space, but prevents you from uninstalling the patch in the future. None of the other switches are valid. See

   B, C, D. Solaris 9 can be installed on the sun4m, sun4u, and i86pc

  platforms. Although sun4d is a valid Sun hardware platform, it is not supported by Solaris 9. See

   for more information.

   B. To see whether any local modifications were not kept during the

  upgrade process, check the a/var/sadm/system/data/upgrade_cleanup file. The /var/sadm/install/contents file is the installed software databa

   for more information.

   B. The devalias and nvalias commands are used to create

  device aliases. Only the nvalias command is used to create permanent aliases in NVRAMRC. See

  for more information.

   A. The banner and the .enet-addr commands display the

  computer's Ethernet address. Only banner is correct among the answer options. See

  for more information.

   D. The test floppy command will run a diagnostic test on the floppy disk drive. All of the other commands use the wrong syntax.

  See for more information.

  

  account has the UID of 1. The root account is UID

  for more

  0, bin is UID 2, and lp is UID 71. See information.

  D. The correct syntax to create the user with the specified options is