1Z0-821 | The Up to the minute Guide To 1Z0-821 practice test


Q111. - (Topic 1) 

Which option displays the result of running the zfs list command? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:

Explanation: 

The zfs list command provides an extensible mechanism for viewing and querying dataset information. 

You can list basic dataset information by using the zfs list command with no options. This command displays the names of all datasets on the system and the values of their used,available,referenced,and mountpoint properties. For more information about these properties,see Introducing ZFS Properties. 

For example: # zfs list NAME USED AVAIL REFER MOUNTPOINT pool 476K 16.5G 21K /pool pool/clone 18K 16.5G 18K /pool/clone pool/home 296K 16.5G 19K /pool/home pool/home/marks 277K 16.5G 277K /pool/home/marks pool/home/marks@snap 0 - 277K -pool/test 18K 16.5G 18K /test 

Q112. - (Topic 2) 

On localSYS,your SPARC based server,you back up the root file system with recursive snapshots of the root pool. The snapshots are stored on a remote NTS file system. 

This information describes the remote system where the snapshots are stored: 

Remote system name: backupSYS 

File system whore the snapshots are stored: /backups/localSYS 

Mounted file system on localSYS: /rpool/snaps 

Most recent backup name: rpool-1202 

Disk c0t0d0 has failed in your root pool and has been replaced. The disk has already been part< and labeled and now you need to restore the root file system. Which procedure would you follow to restore the ZFS root file system on localSYS? 

A. boot cdrom -smount -f nfs backup_server:/rpool/snaps /rmtzpool create rpool c0t0d0s0cat /mnt/rpool.1202 | zfs receive -Fdu rpoolzpool set bootfs=rpool/ROOT/solaris rpoolRecreate swap and dump devices.Reinstall the bootblock on c0t0d0. 

B. boot cdrom -smount -f nfs backup_server:/rpool/snaps /mntzpool create rpool c0t0d0s0zfs create -o mountpoint=/ rpool/ROOTcat /mnt/rpool.1011 | zfs receive -Fdu rpoolzpool set bootfs=rpool/ROOT/solaris rpoolRecreate swap and dump devices.Reinstall the bootblock on c0t0d0. 

C. boot cdrom -smount -F nfs backup_server:/rpool/snaps /mntcat /mnt/rpool.1011 | zfs receive -Fdu rpoolzpool set bootfs=rpool/ROOT/solaris rpool c0t0d0s0Reinstall the bootblock on c0t0d0s0 

D. boot cdrom -smount -f nfs backup_server:/rpool/snaps /rmtzpool create rpool c0t0d0s0zfs receive -Fdu /mnt/rpool.1011zpool set bootfs=rpool/ROOT/solaris rpoolReinstall the bootblock on c0t0d0. 

Answer:

Explanation: 

How to Recreate a ZFS Root Pool and Restore Root Pool Snapshots In this scenario,assume the following conditions: 

*

 ZFS root pool cannot be recovered 

*

 ZFS root pool snapshots are stored on a remote system and are shared over NFS 

*

 The system is booted from an equivalent Solaris release to the root pool version so that the Solaris release and the pool version match. Otherwise,you will need to add the -o version=version-number property option and value when you recreate the root pool in step 4 below. 

All steps below are performed on the local system. 

1. 

Boot from CD/DVD or the network. 

On a SPARC based system,select one of the following boot methods: 

ok boot net -s ok boot cdrom -s If you don't use -s option,you'll need to exit the installation program. 

2. 

Mount the remote snapshot dataset. 

For example: 

# mount -F nfs remote-system:/rpool/snaps /mnt 

3. 

Recreate the root pool. 

For example: 

# zpool create -f -o failmode=continue -R /a -m legacy -o cachefile=/etc/zfs/zpool.cache rpool c1t0d0s0 

4. 

Restore the root pool snapshots. 

This step might take some time. For example: 

# cat /mnt/rpool.0311 | zfs receive -Fdu rpool Using the -u option means that the restored archive is not mounted when the zfs receive operation completes. 

5. 

Set the bootfs property on the root pool BE. 

For example: 

# zpool set bootfs=rpool/ROOT/osolBE rpool 

6. 

Install the boot blocks on the new disk. 

On a SPARC based system: 

# installboot -F zfs /usr/platform/`uname -i`/lib/fs/zfs/bootblk /dev/rdsk/c1t0d0s0 

Q113. - (Topic 2) 

You have set up the task.max-lwps resource control on your Solaris 11 system. 

Which option describes how to configure the system so that syslogd notifies you when the resources control threshold value for the task.max-lwps resource has been exceeded? 

A. Use the rctladm command to enable the global action on the task.max-lwpa resource control. 

B. Modify the /etc/syslog.conf file to activate system logging of all violations of task.max-lwps and then refresh then svc: /system/system-log:default service. 

C. Activate system logging of all violations of task.max-lwpp in the /etc/rctldm.conf file and then execute the rctladm-u command. 

D. Use the prct1 command to set the logging of all resource control violations at the time the task.max-lwps resource control is being setup. 

E. Use the setrct1 command to set the logging of all resource control violations for the task.max-lwps resource control. 

Answer:

Explanation: 

rctladm - display and/or modify global state of system resource controls 

The following command activates system logging of all viola-tions of task.max-lwps. 

# rctladm -e syslog task.max-lwps # 

Q114. - (Topic 2) 

You created a new zpool. Now you need to migrate the existing ZFS file system from pool1/prod to pool2/prod. 

You have these requirements: 

1.

 Users must have access to the data during the migration,so you cannot shutdown the file system while the migration takes place. 

2.

 Because you want to copy the data as quickly as possible,you need to increase the server resources devoted to the ZFS migration. 

Which method would you use to modify the ZFS shadow migration daemon defaults to increase the concurrency and overall speed of migration? 

A. Svccfg - s filesystem/shadowd:defaultsetprop config_params/shadow_threads=integer: 16endsvcadm refresh filesystem/shadowd: default 

B. Specify the -b <blocksize> option with the zfs create command and increase the value of <blocksize> 

C. Use the -o -volblocksize=<blocksize>option with the zfs create command and increase the value of the default <blocksize>. 

D. Svccfg -s filesystem/zfs: defaultsetprop config_params/shadow_threads = integer: 16endsvcadm refresh filesystem/zfs:default 

Answer:

Explanation: 

shadowd is a daemon that provides background worker threads to migrate data for a shadow migration. A shadow migration gradually moves data from a source file system into a new “shadow” file system. Users can access and change their data within the shadow file system while migration is occurring. 

The shadowd service is managed by the service management facility,smf(5). Administrative actions on this service,such as enabling,disabling,or requesting restart,can be performed using svcadm(1M). The service's status can be queried using the svcs(1) command. 

The svccfg(1M) command can be used to manage the following parameter related to shadowd: 

config_params/shadow_threads 

Note: Oracle Solaris 11: In this release,you can migrate data from an old file system to a new file system while simultaneously allowing access and modification of the new file system during the migration process. 

Setting the shadow property on a new ZFS file system triggers the migration of the older data. The shadow property can be set to migrate data from the local system or a remote system with either of the following values: 

file:///path nfs://host:path 

Q115. - (Topic 2) 

Before booting test zone a non-global zone,you want to connect to the zone’s console so that you can watch the boot process. 

Choose the command used to connect to testzone’s console. 

A. zoneadm -C testzone 

B. zoneadm -console testzone 

C. zlogin - z testzone console 

D. zlogin - z testzone - C 

E. zlogin -C testzone 

F. zoneadm - testzone - c 

Answer:

Explanation: 

The following options are supported: 

Connects to the zone console. Connects to the zone console. 

Note: After you install a zone,you must log in to the zone to complete its application environment. You might log in to the zone to perform administrative tasks as well. Unless the.-C.option is used to connect to the zone console,logging in to a zone using.zlogin.starts a new task. A task cannot span two zones 

Q116. - (Topic 2) 

The interface net3 should be operating,but is not. Command: 

Which command should you enter next? 

A. ipadm create-ip 

B. ipadm enable-if 

C. ipadm show-if 

D. ipadm up-addr 

Answer:

Explanation: 

Enable-if -t interface Enables the given interface by reading the configuration from the persistent store. All the persistent interface properties,if any,are applied and all the persistent addresses,if any,on the given interface will be enabled. 

-t,--temporary 

Specifies that the enable is temporary and changes apply only to the active configuration. 

Q117. - (Topic 1) 

View the exhibit to inspect the file system configuration on your server. 

View the Exhibit to inspect the file system configuration on your server. 

Your department's backup policy is to perform a full backup to a remote system disk on 

Saturday. 

On Sunday through Friday, you are to perform a differential backup to the same remote system disk: 

. The server file systems must remain available at all times and can never be taken offline. 

. The backup must not only provide for the recovery of the most recent version of a file, but must also allow recovery of previous versions of a file created since Saturday's full backup. 

Following your company policy, which option describes a valid procedure for backing up the /data file system to a remote disk named /remote/backup? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Q118. - (Topic 2) 

Which five statements describe options available for installing the Oracle Solaris 11operating system using the installation media? 

A. You can perform a text or LiveCD installation locally or over the network. 

B. The text Installer does not install the GNOME desktop. The GNOME desktop package must he added after you have installed the operating system. 

C. The LiveCD Installation cannot be used to install multiple instances of Oracle Solaris. 

D. The LiveCD installer cannot be used if you need to preserve a specific Solaris Volume Table of Contents (VTOC) slice in your current operating system. 

E. The LiveCD Installer is for x86 platforms only. 

F. The GUI installer cannot be used to upgrade your operating system from Solaris 10. 

G. If you are installing Oracle Solaris 11 on an x86-based system that will have more than one operating system installed in it,you cannot partition your disk during the installation process. 

H. The LiveCD installer can be used for SPARC or x86 platforms. 

Answer: A,B,D,F,H 

Explanation: 

A: If the network is setup to perform automated installations,you can perform a text installation over the network by setting up an install service on the network and selecting a text installation when the client system boots. 

B: After a fresh install of Solaris 11 express,only the console mode is activated. 

To add Gnome,simply do : 

$ sudo pkg install slim_install 

This will install additional packages that are not installed by default. 

D: The text installer advantages over the GUI installer include: 

* In addition to modifying partitions,the text installer enables you to create and modify VTOC slices within the Solaris partition. 

F: How do I upgrade my Solaris 10 or lower systems to Solaris 11? 

Unfortunately,you CAN'T. There is no direct upgrade installer or other tool that will allow you to upgrade from earlier releases of Solaris to Solaris 11. This is primarily due to the vast changes in the packaging mechanism in Solaris 10. 

Q119. - (Topic 1) 

Which best describes the svc:/system/boot-config service? 

A. It is used to change the milestone on a system. 

B. It is used to set the default run level of the system. 

C. It provides the parameters used to set the system to automatically perform a fast or slow reboot. 

D. When the service is enabled,the system performs a fast reboot by default; when it is disable the system performs a slow reboot by default. 

Answer:

Explanation: 

Starting with the Oracle Solaris 11 Express release,Fast Reboot is supported on the SPARC platform,as well as the x86 platform. On both platforms,this feature is controlled by the SMF and implemented through a boot configuration service,svc:/system/boot-config. The boot-config service provides a means for setting or changing the default boot configuration parameters. 

The fastreboot_default property of the boot-config service enables an automatic fast reboot of the system when either the reboot or the init 6 command is used. When the config/fastreboot_default property is set to true the system automatically performs a fast reboot,without the need to use the reboot -f command. By default,this property's value is set to false on the SPARC platform and to true on the x86 platform. 

Q120. - (Topic 1) 

You are planning group names for a new system. You decide to use a numbering convention that includes the year and month the project began,to form the group number and name for work associated with that project. 

So,for example,a project targeted to begin in January,2013 would have the number (name): 

201301(Pr20l301) 

What are the two problems with your plan? 

A. Group names may not contain a numeric character 

B. Group names may be no longer than 7 characters. 

C. Group numbers should not be larger than 60000. 

D. Group names should be all lowercase. 

Answer: C,D 

Explanation: 

C: The Group ID (GID) field contains the group's numerical ID. GIDs can be assigned whole numbers between 100 and 60000. 

D: Group names contain only lowercase characters and numbers. 

Topic 2, Volume B