Tải bản đầy đủ (.pdf) (14 trang)

exam 310 016 sun certified system administrator for solaris 9 upgrade phần 1 ppt

Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (334.62 KB, 14 trang )




Exam : 310-016

Title : Sun Certified System Administrator for Solaris
9, Upgrade  ��

Ver : 01.31.07












310-016

Actualtests.com - The Power of Knowing


QUESTION 1:

Which command can be used on an NFS server to display the resources that the server is
exporting?


A. share
B. mount
C. df -k
D. shareall
E. mountall

Answer: A

QUESTION 2:

What is the absolute path name of the configuration file from which the system reads its
crash dump generation behavior at boot time?

Answer: /etc/dumpadm.conf

QUESTION 3:

Given:
# dumpadm
Dump content: kernel pages
Dump device: /dev/dsk/c2t3d0s0 (dedicated)
Savecore directory: /var/crash/vm13w6
Savecore enables: yes
A dedicated dump slice has been assigned. Given that this is NOT the default setup, which
command did the system administrator to achieve this?

A. dumpadm -d c2t3d0s0
B. coreadm -d c2t3d0s0
C. dumpadm -d /dev/dsk/c2t3d0s0
D. dumpadm -s /dev/dsk/c2t3d0s0


Answer: C

QUESTION 4:

Based upon the default configuration for generating core files, in which directory can an
administrator find and examine per-process core files?

A. the / (root) directory.
B. The users home directory.
310-016

Actualtests.com - The Power of Knowing

C. The current directory of the process.
D. The /var/crash/'hostname' directory.

Answer: C

QUESTION 5:

You are ready to decommission the printer oldtimer as the printer newkid has made it
obsolete. What is the sequence of commands to decommission oldtimer without losing any
print requests?

A. reject oldtimer
disable oldtimer
B. reject oldtimer
lpmove oldtimer newkid
lpadmin -x oldtimer

C. lpshut
mv /var/spool/lp/tmp/oldtimer/*
/var/spool/lp/tmp/newkid
lpadmin -x oldtimer
lpsched
D. reject oldtimer
mv /var/spool/lp/requests/oldtimer/*
/var/spool/lp/requests/newkid
enable newkid
disable oldtimer

Answer: D

QUESTION 6:

Your current umask value is 022. You create regular file.
Which set of permissions are associated with this file?

A. rw-r r
B. rwxr r
C. w w
D. rw-rw-rw-
E. rwxrwxrwx

Answer: A

QUESTION 7:

You telnet into a Solaris machine and log in as user1. Your account is set up to use the
Bourne shell (sh) and your home directory is /home/user1.

310-016

Actualtests.com - The Power of Knowing

Which two files (assuming the exist) does the Bourne shell read to initialize your
environment? (Choose two)

A. /etc/login
B. /etc/profile
C. /home/user1/.login
D. /home/user1/.profile

Answer: B, D

QUESTION 8:

You decide to create a class of printers. Which command can create a class of printers
called support?

A. lpadmin -c support
B. lpadmin -c "printer name" -p support
C. lpadmin -p support -c "printer name"
D. lpadmin -p "printer name" -c support

Answer: D

QUESTION 9:

Which three files does RBAC use? (Choose three)


A. /etc/user_attr
B. /etc/exec_attr
C. /etc/prof_attr
D. /etc/security/user_attr
E. /etc/security/exec_attr
F. /etc/security/prof_attr

Answer: A, E ,F

QUESTION 10:

Given the patch:
111021-01.zip
Which command should you use first in a series of steps to install the patch?

A. patchadd 111021-01
B. unzip 111021-01.zip
C. zip -U 111021-01.zip
D. uncompress 111021-01.zip
310-016

Actualtests.com - The Power of Knowing


Answer: B

QUESTION 11:

Which three should you use to obtain patches? (Choose three)


A. World Wide Web access.
B. CD-ROM media from Sun.
C. Telnet access to SunSolve.
D. Anonymous ftp access to the SunSolve ftp site.
E. Patch supplied from an official periodical publication.

Answer: A, B, D
Not C: Users are unable to telnet to SunSolve because they do not have accounts on SunSolve.

QUESTION 12:

You are creating a Flash archive of your existing system which is to be used to install other
systems on the network in your organization.
Which two are required by the flarcreate command? (Choose two)

A. The files to include in the archive.
B. The file in which to create the archive.
C. The name used to identify the archive.
D. The name of the user creating the archive.
E. The systems to be installed using the archive.

Answer: B, C

QUESTION 13:

Both NIS and the sysidcfg file are configured to provide JumpStart identification services.
Which statement is true?

A. Only NIS can be used.
B. Only the sysidcfg file can be used.

C. Both can be used.
NIS takes precedence over the sysidcfg file.
D. Both can be used.
The sysidcfg file takes precedence over NIS.

Answer: D

QUESTION 14:

310-016

Actualtests.com - The Power of Knowing

Given:
# /etc/init.d/nfs.server start
What is the result of executing this command?

A. This command forces an init 3 command to re-establish NFS services.
B. This command starts the NFS server daemons if there is an entry in /etc/dfs/dfstab.
C. This command restarts the NFS server daemons regardless of the current system
configuration.
D. This command starts the NFS server daemons and establishes file locking servers in the event
that either the client or server goes down.

Answer: B

QUESTION 15:

What are two functions of an NFS client? (Choose two)


A. Runs the nfsd daemon.
B. Makes resources available over the network.
C. Mounts remote resources across the network.
D. Is configured using the /etc/dfs/dfstab file.
E. Mounts a remote resources and uses it as through it were local.

Answer: C, E

QUESTION 16:

You have a stable, mature system that is running out of disk space in the /var file system.
You want to avoid the creation of unix.X and vmcoreX files. By default, the system will
transfer crash dump information following a panic into unit.X and vmcore.X file when
rebooting.
Which command will disable this default behavior?

A. dumpadm -m
B. dumpadm -y
C. dumpadm -s
D. dumpadm -c

Answer: A

QUESTION 17:

Given:
#lpstat -d
What displays on the screen?

310-016


Actualtests.com - The Power of Knowing

A. The name of the default printer.
B. The default printer's print queue.
C. A brief description of the default printer.
D. Detailed status information about the default printer.

Answer: A

QUESTION 18:

You have logged in to the console as user1. Now you log in as root using the su command.
Which user identities do the whoami and who am i commands report?

A. whoami reports root, who am i reports root.
B. whoami reports user1, who am i reports root
C. whoami reports root, who am i reports user1
D. whoami reports user1, who am i reports user1

Answer: C

QUESTION 19:

You telnet into a Solaris machine and log in as User1. Your account is set up to use the
Korn shell (ksh) and your home directory /home/user1.
The following files are read by the Korn shell to initialize your environment on login:

A. /home/user1/.hshrc
B. /etc/profile

C. home/user1/.profile
In which order are they executed?

A. A, B, C
B. A, C, B
C. B, A, C
D. B, C, A
E. C, A, B
F. C, B, A

Answer: D

QUESTION 20:

Which three commands stop the NFS server daemons? (Choose three)

A. /etc/init.d/nfs.server stop
B. /etc/rc5.d/K28nfs.server stop
C. /etc/rc2.d/K28nfs.server stop
310-016

Actualtests.com - The Power of Knowing

D. /etc/rc0.d/S15nfs.server stop
E. /etc/rc3.d/S15nfs.server stop
F. /etc/rc0.d/K28nfs.server start

Answer: A, C, E

QUESTION 21:


You successfully installed the recommended patch cluster for the Solaris release installed
on your system. A specific hardware component you want to attach requires a patch that is
not found in the patch cluster.
What should you do to check of the new patch is incompatible with any of those patches
already installed?

A. Install the patch and see if it works.
B. Read the README file associated with new patch.
C. Read the README file associated with the patch cluster.
D. No action is required because all patches are compatible.

Answer: B

QUESTION 22:

You are creating a profile on your JumpStart server to install a new system and are using a
Flash archive to provide the necessary software. The Flash archive /export/nb.flar and is
shared on the network from the server grendel, which has the IP address 194.168.85.106.
What is the syntax for the JumpStar client's profile file which will use this archive to install
the new system?

A. archive_location nfs grendel /export/nb.flar
B. archive_location grendel /export/nb.flar nfs
C. archive_location nfs 194.168.85.106:/export/nb.flar
D. archive_location 194.168.85.106 nfs /export/nb.flar

Answer: C

QUESTION 23:


You believe that you have a correctly configured boot server on the local network for the
JumpStart client you are currently attempting to install. Your JumpStart configuration is
based on files only and does not use a naming service at any stage.
Upon running the command:
boot net - install
The client repeatedly displays the message:
Timeout waiting for ARP/RARP packet
What are two possible causes for this? (Choose two)
310-016

Actualtests.com - The Power of Knowing


A. The in.rarp daemon is not running on the boot server.
B. The sysidcfg file for the client is missing an ether entry.
C. The client does not exist in the rule.ok file on the boot server.
D. The /etc/ethers file on the boot server does not have an entry for the client.
E. The etc/bootparams file on the boot server has duplicate entries for the client.

Answer: A, D

QUESTION 24:

What three tasks must be done on the NIS master to add support for a new JumpStart client?
(Choose three)

A. Re-make NIS maps with the updated client information.
B. Edit the hosts file, add the new client name and IP address.
C. Edit the ethers file, add the new client name and Ethernet address.

D. Edit the bootparams file, add the client name and architecture type.
E. Edit the rules file, add the client name and software configuration cluster information.
F. Edit the class file, add the client name and location of configuration and installation servers.

Answer: A, B, C

QUESTION 25:

Which line can be entered into the /etc/dfs/dfstab file for saturn to enable a remote root
user on the client system mars to have privileges on the /var/ shared resource?

A. share -F nfs /var
B. share -F nfs -o ro /var
C. share -F nfs root=mars /var
D. share -F nfs -o ro=mars /var
E. share -F nfs -0 root=mars /var

Answer: E

QUESTION 26:

What is the absolute path name of the configuration file from which the system reads its
core file generation behavior at boot time?

Answer: /etc/coreadm.conf

QUESTION 27:

After creating and adding additional swap space, what should you do to ensure that the
310-016


Actualtests.com - The Power of Knowing

swap space is available following subsequent reboots?

A. You add it as a line entry to the /etc/vfstab file.
B. You modify the startup scripts to include a swap add command.
C. The additional swap space cannot be made available following subsequent reboots.
D. No additional steps are required because the necessary changes are made to the startup file
when the swap space is added.

Answer: A

QUESTION 28:

You can log in to both hostA and HostB using the same login name. You want to use the
rpc command to copy a file from host hostB.
What do you need to do to allow this operation?

A. Add your login name to the /etc/hosts.equiv file on hostB.
B. Create hosts.equiv files in your home directories and put a + in the file on hostB.
C. Ask the system administrator to add your to the /etc/.rhost file on the host hostB.
D. Create a .rhost file in your home directory on hostB and put the host name hostA in the file.

Answer: D

QUESTION 29:

In a default system configuration, when a non-privileged user sets a password, what is the
minimum number of characters allowed? (Type in number or word format)


Answer: 6

QUESTION 30:

An RBAC role has been created that can perform privileged tasks.
Which three actions should be taken to allow certain existing users access to the role?
(Choose two)

A. Give the users the password to the role.
B. Give the users a profile type shell at login.
C. Associate the user with the role though the usermod command.
D. Inform the users that they can use direct login, telnet, or rlogin to access the role.
E. Inform the users that they can use the su command to access the role.
F. Give the users execute permissions to the privileged commands associated with the role
through use of the ACL mechanism.

Answer: A, C, E

310-016

Actualtests.com - The Power of Knowing

QUESTION 31:

You are responsible for maintaining a server used to support installations by means of
Flash archives. The diversity of systems your organization's network means that you have
many different Flash archives on this server.
Which command can be used to find out who created the archives and when they were
created?


A. flar -d archivename
B. flar -i archivename
C. flar -v archivename
D. flar -cv archivename

Answer: B

QUESTION 32:

What is the function of the modify_install_server script?

A. Moves the boot image to a new directory.
B. Replaces the miniroot of a boot image with a Web Start image.
C. Copies the contents of the Solaris languages CD-ROM to a boot image.
D. Copies the contents of the Solaris software 2 of 2 CD-ROM to a boot image.

Answer: B

QUESTION 33:

Which command can be used to display all resources that an NFS server is allowing clients
to mount?

A. df -k
B. dfshares
C. dfmounts
D. sharecall
E. mountall


Answer: B

QUESTION 34:

Given this content from /etc/dumpadm.conf:
DUMPADM_DEVICE=/dev/dsk/c2t3d0s0
DUMPADM_SAVDIR=/var/crash/vm13w6
DUMPADM_CONTENT=kernerl
DUMPADM_ENABLE=no
310-016

Actualtests.com - The Power of Knowing

And the output of this command:
# swap -l
swapfile dev swaplo blocks free
/dev/dsk/cot0d0s1 136,1 16 1051328 1051328
Which two statements correctly describe the system dump behavior? (Choose two)

A. The system has a dedicated dump slice.
B. The system will NOT dump kernel information in the event of a system panci.
C. In the event of panic, when the system reboots, it places kernel core information into
/var/crash/vm13w6/vmcore.X, where X is an integer.
D. In the event of a panic, when the system reboots, it does NOT place kernel core information
into /var/crash/vm13w6//vmcore.X into any file.

Answer: A, D

QUESTION 35:


You system has no printer configuration in place, but it is configured to communicate with
all other systems on your network.
Which command should you use to send a file called file1 to a print queue called printer1
located on a print server called server1?

A. lp file1 server1:printer1
B. lp -d server1 printer1 file1
C. lp -d server1:printer1 file1
D. lp file1 -d printer1:server1

Answer: C

QUESTION 36:

Which command adds the user user1 to the group staff?

A. chuser -g staff user1
B. usermod -G staff user1
C. moduser -g staff user1
D. groupmod -u user1 staff

Answer: B

QUESTION 37:

Which command reports the systems current run level?

A. w
B. rstat
310-016


Actualtests.com - The Power of Knowing

C. who -r
D. init -r

Answer: C

QUESTION 38:

You want to install a patch cluster on your system to correct several problems. You decide
to use the -nosave option to the install_cluster command.
Which statement correctly describes the effect of this option?

A. A log file for each patch is not created.
B. A log file for install_cluster is not created.
C. The individual patches cannot be removed if desired.
D. An entry for the patch in /var/sadm/patch is not created.

Answer: C

QUESTION 39:

Which utility is used to reduce the size of a Flash installation archive file if the -c option is
used with flarcreate?

A. Cpio
B. Gzip
C. Pack
D. Compress


Answer: D

QUESTION 40:

Which four JumpStart client items can be configured using the sysidcfg file? (Choose four)

A. Locale
B. Name server
C. Root password
D. Client host name
E. Patch information
F. File system layout
G. Software configuration cluster

Answer: A, B, C, D

QUESTION 41:

310-016

Actualtests.com - The Power of Knowing

The NFS server daemons are running, however there is no entry for /var/tmp in the dfstab
file.
Without editing the /etc/dfs/dfstab file, which command should be used to add the /var/tmp
resource to the list of existing shared resources?

A. shareall /var/tmp
B. share -F /var/tmp

C. mountall -d /var/tmp
D. share -F nfs /var/tmp
E. export -F /var/tmp

Answer: D

QUESTION 42:

Which command changes the configuration for generating core files?

A. coreadm
B. dumpadm
C. coreconf
D. dumpconf
E. savecore

Answer: A

QUESTION 43:

Given the command:
useradd -u 102 -g 301 -d /export/home/user1 -s /bin/ksh user1
Which three statements are true? (Choose three)

A. The UID for user1 is 102.
B. The login shell for user1 is the Korn shell.
C. The user will not be added as no password has been specified.
D. The command will create a home directory /exoport/home/user1.
E. The command will not create a home directory /export/home/user1.
F. The command will not work as you have not specified any secondary groups.


Answer: A, B, E

QUESTION 44:

After creating an RBACK role, only privileged commands can be executed within the role.
What is a cause of this problem?

A. The role is not associated with the All profile.

×