Self Test


The following questions will help you measure your understanding of the material presented in this chapter. Read all the choices carefully because there might: be more than one correct answer. Choose all correct answers for each question.

1. 

Which of the following commands would you use to display the available swap space?

  1. swap -a

  2. swap -l

  3. swap -s

  4. prtconf

image from book

2. 

Which of the following commands would you use to list the current swap area on your system?

  1. swap -a

  2. swap -l

  3. swap -s

  4. prtconf

image from book

3. 

Which of the following files must you modify so that the added swap space will be activated automatically each time the system is booted?

  1. /etc/swapadd

  2. /etc/swap

  3. /etc/vfstab

  4. /etc/swapconf

image from book

4. 

If you want to share a resource, you would add the share command for that resource into which of the following files?

  1. /etc/dfs/sharetab

  2. /etc/dfs/dfstab

  3. /etc/default/nfs

  4. /etc/vfstab

image from book

5. 

Which of the following daemons are used by NFS 4.0?

  1. nfsd

  2. nfslogd

  3. mountd

  4. statd

image from book

6. 

Which of the following commands displays the shared resources on the local server?

  1. svcs network/nfs/server

  2. nfsshare

  3. share

  4. dfshares

image from book

7. 

Which of the following map files contain all the direct and indirect map names?

  1. /etc/auto_direct

  2. /etc/auto_indirect

  3. /etc/auto_master

  4. /etc/auto_all

  5. /etc/autofs

image from book

8. 

What does the following line in the /etc/auto_master file on a client machine mean?

    /share auto_share 

  1. auto_share is the name of an indirect maps file, and all the path names of all the mount points in that file will be relative to the path /share.

  2. The directory /share on the client machine maps to the directory auto_share on the server machine.

  3. This is an invalid entry for the auto_master file.

  4. The /share directory on the server is mapped to the auto_share directory on the client.

image from book

9. 

What is the name of the daemon that handles the mounting and unmounting requests from the autofs service?

  1. autofsd

  2. mountd

  3. automountd

  4. autofs

image from book

10. 

Which of the following are true statements about core files and crash dumps.

  1. If you see a file such as vmcore.123, assume it was generated when a process terminated abnormally.

  2. A file that looks like unix.123 must be created by a system crash.

  3. A file that looks like core.politics.101 might have been created by a process named politics that terminated abnormally.

  4. dumpadm.conf is the configuration file for the utility that manages the core files.

image from book

11. 

Which of the following are the commands to manage core files and crash dump?

  1. coreadm

  2. crashadm

  3. dumpadm

  4. dumpadmin

image from book

Answers

1. 

þ C. The swap -s command displays the reserved swap space, allocated swap space, and available swap space.

ý A and B are incorrect because the swap -a command activates the swap file and the swap -l command displays the device name for the swap space and the swap space size but not the available swap space. D is incorrect because the prtconf command displays the total amount of memory and the configuration of system peripherals but not the available swap space.

2. 

þ B. The swap -l command lists the current swap area on your system.

ý A is incorrect because swap -a is used to add (activate) the swap area. C is incorrect because the swap -s command displays the reserved swap space, allocated swap space, and available swap space, but not the full path of the swap area. D is incorrect because the prtconf command displays the total amount of memory and configuration, of system peripherals but not the available swap space.

3. 

þ C. Each time the system is booted, the swapadd script reads the list of swap devices in the /etc/vfastab file to activate them.

ý A, B, and D are incorrect because there are no files /etc/swapadd, /etc/swap, and /etc/swapconf that you need to change to make the swap area permanent.

4. 

þ B. The file systems listed in the /etc/dfs/dfstab file are automatically shared if the NFS server is running, because an entry in this file for a file system is actually a share command for that file system.

ý A is incorrect because the /etc/dfs/sharetab file contains the list of the file systems currently being shared, but for a file system to be shared it must be entered in the /etc/dfs/dfstab file. C is incorrect because the /etc/default/nfs file contains the configuration information for the nfsd daemon, and D is incorrect because /etc/vfstab lists the file systems that are mounted automatically but are not necessarily shared.

5. 

þ A. The nfsd daemon handles the client requests for file systems.

ý B, C, and D are incorrect because, unlike previous versions of NFS, NFS version 4 does not use the lockd, mountd, nfslogd, and statd daemons.

6. 

þ D. The dfshares command displays the list of shared resources.

ý A is incorrect because the svcs command is used to display the status of the NFS service—that is, whether it's running or not. B is incorrect because there is no such command as nfsshare, and C is incorrect because the share command is used to share a resource and not to display the list of shared resources.

7. 

þ C. The /etc/auto_master file contains the names of all the indirect and direct map file names.

ý A is incorrect because the /etc/aut_direct file contains the direct maps that are named in the auto_master file. B is incorrect because there is no such file as auto_indirect, but it could be named in the auto_master file. The same is true of the choices D and E.

8. 

þ A. Each indirect maps file must have its name declared in the auto_master file.

ý B and D are incorrect because the auto_master file only defines the names of the direct and indirect maps files; it does not map directories between the clients and the servers. C is incorrect because the given entry is a valid entry for the auto_master file.

9. 

þ C. The automountd daemon on the client handles the mounting and unmounting requests from the autofs service

ý A is incorrect because there is no daemon autofsd that handles requests from autofs. B is incorrect because the mountd daemon handles mount requests from remote systems. D is incorrect because autofs is not a daemon but a service managed by SMF.

10. 

þ B and C. When the system crashes it writes a copy of its physical memory to the dump device, reboots, and executes the savecore command, This command retrieves the data from the dump device and saves it in two files: unix.<n> and vmcore.<n>, where <n> specifies the dump sequence number. The files generated when a process terminates abnormally can have expanded names based on patterns involving process file names, node names, and so on.

ý A is incorrect because a vmcore.<n> file is generated when the system crashes, not when a process terminates abnormally. D is incorrect because the utility that manages the core files is coreadm and its configuration file is coreadm.conf.

11. 

þ A and C. The coreadm command is used to manage the core files, whereas the dumpadm command is used to manage the crash dump information.

ý B and D are incorrect because there are no commands named crashadm and dumpadmin.




Sun Certified System Administrator for Solaris 10 Study Guide Exams 310-XXX & 310-XXX
Sun Certified System Administrator for Solaris 10 Study Guide Exams 310-XXX & 310-XXX
ISBN: N/A
EAN: N/A
Year: 2005
Pages: 168

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net