1Z0-821 | What Printable 1Z0-821 vce Is?


Q21. - (Topic 2) 

You want to install the openldap software package to a now boot environment for testing before introducing the now software package to the production environment. What option describes the correct procedure to: 

1) create a new BE named nowBE 

2) install the software to that new BE only 

A. pkg install --newBE openldap 

B. pkg install --be-nama newBE openldap 

C. beadm create newBEbeadm mount newBE /mntpkg -R /mnt update openldap 

D. beadm create newBEbeadm activate newBEpkg install openldap 

Answer:

Explanation: 

If you want to create a backup of an existing boot environment,for example,prior to modifying the original boot environment,you can use the beadm command to create and mount a new boot environment that is a clone of your active boot environment. This clone is listed as an alternate boot environment in the GRUB menu for x86 systems or in the boot menu for SPARC systems. 

When you clone a boot environment by using the beadm create command,all supported zones in that boot environment are copied into the new boot environment. 

How to Create a Boot Environment 

1.

 Become the root role. 

2.

 Create the boot environment. 

# beadm create BeName 

BeName is a variable for the name of the new boot environment. This new boot 

environment is inactive. 

3.

 (Optional) Use the beadm mount command to mount the new boot environment. 

# beadm mount BeName mount-point 

Note: If the directory for the mount point does not exist,the beadm utility creates the directory,then mounts the boot environment on that directory. 

If the boot environment is already mounted,the beadm mount command fails and does not remount the boot environment at the newly specified location. 

4. (Optional) Activate the boot environment. 

# beadm activate BeName 

BeName is a variable for the name of the boot environment to be activated. 

On reboot,the newly active boot environment is displayed as the default selection in the x86 GRUB menu or the SPARC boot menu. 

Q22. - (Topic 2) 

You are troubleshooting the failure of a computer to mount an NFS file system hosted by a server (hostname mars) in the local area network. 

Select the three commands that will enable you to identify the problem. 

A. ping - s mars 

B. cat /etc/vfstab 

C. cat /etc/dfs/dfstab 

D. sharemgr show -v 

E. showmount -e mars 

F. rpcinfo -s mars | egrep ‘nfs|mountd’ 

Answer: B,E,F 

Explanation: 

B: The mount point Error..The following message appears during the boot process or in 

response toan explicit mount request and indicates a non-existent mount point. 

Mount: mount-point /DS9 does not exist. 

To solve the mount point error condition,check that the mount point exists on the client. 

Check the spelling of the mount point on the command line or in the./etc/vfstab.file (B) on 

the client,or comment outthe entry and reboot the system. 

Note: The /etc/vfstab file lists all the file systems to be automatically mounted at system boot time,with the exception of the /etc/mnttab and /var/run file systems. 

E: showmount This command displays all clients that have remotely mounted file systems that are shared from an NFS server,or only the file systems that are mounted by clients,or the shared file systems with the client access information. The command syntax is: 

showmount [ -ade ] [ hostname ] 

where -a prints a list of all the remote mounts (each entry includes the client name and the directory),-d prints a list of the directories that are remotely mounted by clients,-e prints a list of the files shared (or exported),and hostname selects the NFS server to gather the information from. If hostname is not specified the local host is queried. 

F: * mountd Daemon 

This daemon handles file-system mount requests from remote systems and provides 

access control. The mountd daemon checks /etc/dfs/sharetab to determine which file 

systems are available for remote mounting and which systems are allowed to do the 

remote mounting. 

* Commands for Troubleshooting NFS Problems 

These commands can be useful when troubleshooting NFS problems. 

rpcinfo Command 

This command generates information about the RPC service that is running on a system. 

Q23. - (Topic 2) 

New features wore added to ZFS in Oracle Solaris11. Your justification to upgrade from Solaris10 to oracle Solaris11 is that it will be possible to take advantage of the enhancements that were made to ZFS. 

Identify the three ZFS functions and features that are included in Oracle Solaris 11,but not in Solaris 10. 

A. Encrypted ZFS datasets 

B. Ability for ZFS to detect and remove redundant data from the tile system 

C. Shadow Data Migration 

D. Ability to split a mirrored ZFS storage pool 

E. Ability to use ZFS on the boot drive and boot to a ZFS root file system. 

F. elimination of the swap file system when using ZFS on the root disk 

Answer: A,B,E 

Explanation: 

A: ZFS encryption was introduced in ZFS Pool Version Number 30,Solaris Nevada b149. Filesystem encryption since Solaris 11 Express 

B: Deduplication was introduced in ZFS Pool Version Number 21,Solaris Nevada b128. 

E: Booting From a ZFS Root File System Both SPARC based and x86 based systems use the new style of booting with a boot archive,which is a file system image that contains the files required for booting. When a system is booted from a ZFS root file system,the path names of both the boot archive and the kernel file are resolved in the root file system that is selected for booting. 

Q24. - (Topic 2) 

You have been asked to terminate a process that appears to be hung and will not terminate. The process table is shown below: 

root 15163 15156 0 12:51:15 pts/3 0:00 hungscript 

What command will terminate the process? 

A. kill -9 15163 

B. kill -1 15163 

C. kill -15 15163 

D. kill -2 15163 

Answer:

Explanation: 

Here we should use SIGTERM to terminate the process. 

Note: When no signal is included in the kill command-line syntax,the default signal that is used is –15 (SIGKILL). Using the –9 signal (SIGTERM) with the kill command ensures that the process terminates promptly. However,the –9 signal should not be used to kill certain processes,such as a database process,or an LDAP server process. The result is that data might be lost. 

Tip - When using the kill command to stop a process,first try using the command by itself,without including a signal option. Wait a few minutes to see if the process terminates before using the kill command with the -9 signal. 

Q25. - (Topic 2) 

You suspect a problem with the oponldap package and want to make sure that the files have not be modified or otherwise tampered with. 

Which command would validate all of the files contained in the openldap package and report any problems? 

A. pkgchk openldap 

B. pkginfo openldap 

C. pkg contents openldap 

D. pkg verify openldap 

E. pkg set-property signature-policy verify 

Answer:

Explanation: 

pkgchk checks the accuracy of installed files or,by using the -l option,displays information about package files. pkgchk checks the integrity of directory structures and files. Discrepancies are written to standard error along with a detailed explanation of the problem. 

Q26. - (Topic 2) 

Review the information taken from your server: 

Which option describes the command used to create these snapshots of the root file system? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:

Explanation: 

zfs snapshot [-r] [-o property=value] ... filesystem@snapname|volume@snapname Creates a snapshot with the given name. All previous modifications by successful system calls to the file system are part of the snapshot. See the “Snapshots” section for details. 

-r Recursively create snapshots of all descendent datasets. Snapshots are taken atomically,so that all recursive snapshots correspond to the same moment in time. 

Q27. - (Topic 2) 

In a default standalone installation of Oracle Solaris 11,what is the default minimum length in characters of a user password,and where is the minimum password length defined? 

A. Default minimum length is 8,and is defined in /etc/default/password. 

B. Default minimum length is 6,and is defined in /etc/default/password. 

C. Default minimum length is 8,and is defined in /etc/shadow. 

D. Default minimum length is 6,and is defined in /etc/shadow. 

E. Default minimum length is 8,and is defined in /usr/sadm/defadduser. 

F. Default minimum length is 6,and is defined in /usr/sadm/defadduser. 

Answer:

Explanation: 

By default,the passwd command assumes a minimum length of six characters. You can use the PASSLENGTH default in the /etc/defaults/passwd files to change that by setting the minimum number of characters that a user's password must contain to some other number. 

Q28. - (Topic 2) 

View the Exhibit. 

The file came from your Automated Installer (AI) install server. 

The file is ____________. 

A. An AI SC profile for non-global zones 

B. The default AI conf ig file for non-global zones 

C. The default AI manifest for non-global zones 

D. A custom AI manifest 

Answer:

Explanation: 

ai_manifest -Automated installation manifest file format 

Synopsis /usr/share/install/ai.dtd.1 Some customizations have been made,such as the selection of specific locales. 

Q29. - (Topic 2) 

You are using AI to install a new system. You have added to following information to the AI manifest: 

<configuration type= “zone” name= “dbzone” 

source = “http://sysA.example.com/zone_cfg/zone.cfg”/> 

Which statement is true with regard to the zone.cfg? 

A. The zone.cfg file is text file in a zonecfg export format. 

B. The zone.cfg file is an AI manifest that specifies how the zone is to be installed. 

C. The zone.cfg file is an xml file in a form suitable for use as a command file for the zonecfg command. 

D. The zone.cfg file is an SC profile with keywords that are specific for configuring a as part of the installation process. 

E. It is am xml configuration file from the /etc/zone directory. It will be used as a profile for the zone. It specifies the zonename,zonepath,and other zonecfg parameters. 

Answer: B Explanation: 

The configuration element supports non-global zone configurations. When installing a 

global zone system,the zone configurations specified in the AI manifest are used to install 

non-global zones onto the system after the global zone has been installed 

The configuration element has the following attributes: 

type 

The type of configuration to install. The only type supported by AI is zone. 

name 

A name given to the configuration. This name must be unique across all configuration 

elements in an AI manifest. For configurations of type zone,this name is also used as the 

zonename for he zone. 

Source 

The location from which AI downloads the configuration file for this configuration element. 

The value can be an HTTP or FILE URI specification. For configurations of type zone,this 

value should point to a zone configuration file as produced from the zonecfg export 

command. 

Q30. - (Topic 1) 

To help with your troubleshooting,you need to determine the version of the OBP. Which two commands will provide you with this information? 

A. printenv 

B. banner 

C. .version 

D. set-env 

E. show-devs 

F. value version 

Answer: B,C 

Explanation: 

B: banner 

Displays power-on banner. 

The PROM displays the system banner. The following example shows a 

SPARCstation 2 banner. The banner for your SPARC system may be different. 

SPARCstation 2,Type 4 Keyboard ROM Rev. 2.0,16MB memory installed,Serial # 289 Ethernet address 8:0:20:d:e2:7b,Host ID: 55000121 

C: .version 

Displays version and date of the boot PROM. 

Note: OBP-OpenBootProm is a firmware which is placed on the sun 

machine's prom chip. 

It is a os independent user interface to deal with the sun machine's hardware components. 

The user interface provides one or more commands to display system information.