1Z0-821 | Leading Oracle 1Z0-821 examcollection


Q101. - (Topic 1) 

You are installing the Solaris 11 OE by using the Interactive Text Installer. You have selected the option to automatically configure the primary network controller. Which three items will automatically be configured as a result of this selection? 

A. The IP address. 

B. The name service. 

C. The time zone. 

D. A default user account. 

E. The terminal type. 

F. The root password. 

G. The host name. 

Answer: A,B,C 

Explanation: 

IP address and name service (such as a DNS server) are provided by the DHCP server. 

Q102. - (Topic 1) 

How are operating system updates distributed in the Oracle Solaris 11 environment? 

A. Updates are only available to customers with an active support contract. The updates are distributed through the My Oracle Support web portal and installed in a central location. All software packages are then updated manually from the command line using the smpatch command. 

B. Patches are download from http: //support.oracle.com either automatically or manually. All software packages are then updated manually from the command line using the smpatch or patchadd commands. 

C. Software updates are published as packages to a repository. All software packages are then updated manually from the command line using the pkg command. 

D. Software updates,published as packages to an OS image. All software packages are then updated manually from the command line using the pkg command. 

Answer:

Explanation: 

*

 Updating all of the packages on your installed system – To update all of the packages on your system that have available updates,use the pkg update command,as follows: 

# pkg update Running this command updates packages that you might not otherwise consider updating,for example,kernel components and other low-level system packages. 

*

 Adding or updating individual packages – To add individual software packages,use the pkg install command. Any dependent packages are also updated at the same time. 

*

 install package updates that deliver fixes– A pkg update operation might include bug fixes,so the operation is similar to applying a specific patch or patches in previous Oracle Solaris releases. 

Note: The IPS interfaces first check for updates for currently installed packages before retrieving them via the network. By default,interfaces check repository catalogs in the following locations: 

*

 The default installation repository at pkg.oracle.com/solaris/release. 

*

 The support repository in My Oracle Support. This repository is restricted to users with Oracle Solaris 11 Express support contracts,and it contains packages with the latest bug fixes. For this reason,a support contract must be purchased for production deployments. 

Q103. - (Topic 2) 

The storage pool configuration on your server is: 

You back up the /pool1/data file system,creating a snapshot and copying that snapshot to tape 

(/dev/rmt/0). You perform a full backup on Sunday night and Incremental backups on Monday through Saturday night at 11:00 pm. Each incremental backup will copy only the data that has been modified since the Sunday backup was started. 

On Thursday,at 10:00 am,you had a disk failure. You replaced the disk drive (c4t0d0). You created pool (pool1) on that disk. 

Which option would you select to restore the data in the /pool1/data file system? 

A. zfs create pool1/dataLoad the Monday tape and enter:zfs recv pool1/data < /dev/rmt/0Load the Wednesday tape and enter:zfs recv –F pool1/data < /dev/rmt/0 

B. Load the Sunday tape and restore the Sunday snapshot:zfs recv pooll/data < /dev/rmt/0zfs rollback pool1/data@monLoad the Wednesday tape and restore the Wednesday snapshot:zfs recv –i pooll/data < /dev/rmt/0zfs rollback pool1/data@wed 

C. zfs create pooll/dataLoad the Wednesday tape and enter:zfs recv -F pool1/data < /dev/rmt/0 

D. Load the Sunday tape and enter:zfs recv pool1/data < /dev/rmt/0Load the Wednesday tape and enter:* commands missing* 

Answer:

Explanation: 

First the full backup must be restored. This would be the Sunday backup. 

Then the last incremental backup must be restored. This would be the Wednesday backup. 

Before restoring the Wednesday incremental file system snapshot,the most recent 

snapshot must first be rolled back. 

By exclusion D) would be best answer even though it is incomplete. 

Q104. - (Topic 2) 

You have connected a new printer at a fixed IP address. 

It appears to work correctly most of the time,but at other times does not respond 

You suspect that the assigned address may not be unique within the network. 

What command will be useful to confirm this? 

A. arp 

B. netstat 

C. ipadm show-if 

D. dladm show-addr 

E. ipadm show-addr 

Answer:

Explanation: 

'ipadm show-addr' displays all the configured addresses on the system. 

Example: # ipadm show-addr ADDROBJ TYPE STATE ADDR lo0/v4 static ok 127.0.0.1/8 lo0/v6 static ok ::1/128 

Q105. - (Topic 2) 

The COMSTAR framework provides support for the iSCSI protocol. 

Select three options that correctly describe the COMSTAR framework. 

A. iSCSI devices can be used as dump devices. 

B. SCSI commands are carried over IP networks and enable you to mount disk devices from across the network onto your local system. 

C. Large amounts of data can be transferred over an IP network with very little network degradation. 

D. COMSTAR allows you to convert any Solaris11 host into a SCSI target device that can be accessed over a storage network. 

E. One IP port can handle multiple ISCSI target devices. 

Answer: B,D,E 

Explanation: 

B: By carrying SCSI commands over IP networks,the iSCSI protocol enables you to access block devices from across the network as if they were connected to the local system. COMSTAR provides an easier way to manage these iSCSI target devices. 

D: Common Multiprotocol SCSI TARget,or COMSTAR,a software framework that enables you to convert any Oracle Solaris 11 host into a SCSI target device that can be accessed over a storage network by initiator hosts. 

E: One IP port can handle multiple iSCSI target devices. 

Q106. - (Topic 2) 

You need to set up an Oracle Solaris 11 host as an iSCSI target so that the host's disk can be accessed over a storage network. The disk device is c3t4d0. 

Which six options describe the steps that need to be taken on this host to enable an iSCSI target? 

A. Create a ZFS file system named iscsi/target. 

B. Create a zpool named iscsi with disk device c3t4d0 

C. Create zfs volume named iscsi/target. 

D. Use the stmfadm command to create a LUN using /dev/zvol/rdsk/iscsi/target. 

E. Use the stmfadm command to create a LUN using iscsi/target. 

F. Use the stmfadm command to make the LUN viewable. 

G. Use the stmfadm command to make the volume viewable. 

H. Enable the svc:/network/iscsi/target:default Service. 

I. Use the itadm command to create the iSCSI target. 

Answer: B,C,D,F,H,I 

Explanation: 

How to Create an iSCSI LUN 

The following steps are completed on the system that is providing the storage device. 

Example: target# zpool create sanpool mirror c2t3d0 c2t4d0 

(C)2. Create a ZFS volume to be used as a SCSI LUN. 

 (D)3. Create a LUN for the ZFS volume. 

Example: 

target# stmfadm create-lu /dev/zvol/rdsk/sanpool/vol1 

Logical unit created: 600144F0B5418B0000004DDAC7C10001 

4. Confirm that the LUN has been created. 

Example 

target# stmfadm list-lu 

LU Name: 600144F0B5418B0000004DDAC7C10001 

 (F) 5. Add the LUN view. 

This command makes the LUN accessible to all systems. 

target# stmfadm add-view 600144F0B5418B0000004DDAC7C10001 

How to Create the iSCSI Target 

This procedure assumes that you are logged in to the local system will contains the iSCSI 

target. 

Note: The stmfadm command manages SCSI LUNs. Rather than setting a special iSCSI 

property on the ZFS volume,create the volume and use stmfadm to create the LUN. 

 (H)

 1. Enable the iSCSI target service. 

target# svcadm enable -r svc:/network/iscsi/target:default 

 (I)

 2. Create the iSCSI target. 

target# itadm create-target 

Q107. - (Topic 2) 

You wish to edit your crontab file that is located in /var/spool/cron/crontab. What command must you enter to edit this file? 

A. crontab –e 

B. crontab –e /var/spool/cron/crontab 

C. crontab –r 

D. crontab –e /etc/default/cron 

Answer:

Explanation: 

The main tool for setting up cron jobs is the crontab command,though this is not available on every Unix variant. Typically under Solaris or Linux one would create a new crontab or edit an existing one,using the command; crontab -e 

Use the ls -l command to verify the contents of the/var/spool/cron/crontabs file. 

Q108. - (Topic 2) 

You have Solaris 11 system with a host name of sysA and it uses LDAP as a naming service. 

You have created a flash archive of sysA and you want to migrate this system to an Oracle Solaris11 server,Solaris10 branded zone. 

The zone Status on the Oracle Solaris 11 server is: 

-zone10 incomplete/zone/zone1solaris10exc1 

Select the option that will force the non-global zone to prompt you for a host name and name service the first time it is booted. 

A. Use zonecfg to change the zonename before booting the system for the first time 

B. Use the - u option with the zoneadm - z zone10 attach command. 

C. Use the -u option with the zoneadn -z zone10 install command. 

D. Remove the sysidcfg file from the <zonepath>/root directory before booting the non-global zone. 

Answer:

Explanation: 

Oracle Solaris 10 branded zones – Oracle Solaris 10 Zones provide an Oracle Solaris 10 environment on Oracle Solaris 11. You can migrate an Oracle Solaris 10 system or zone to a solaris10 zone on an Oracle Solaris 11 system in the following ways: 

*

 Create a zone archive and use the archive to create an s10zone on the Oracle Solaris 11 

system. 

This option applies in the current scenario. 

Example of command to Install the Oracle Solaris 10 non-global zone. 

s11sysB# zoneadm -z s10zone install -u -a /pond/s10archive/s10.flar 

*

 Detach the zone from the Oracle Solaris 10 system and attach the zone on the Oracle 

Solaris 11 zone. The zone is halted and detached from its current host. The zonepath is 

moved to the target host,where it is attached. 

Note: 

install [-x nodataset] [brand-specific options] 

A subcommand of the zoneadm. 

Install the specified zone on the system. This subcommand automatically attempts to verify 

first. It refuses to install if the verify step fails. 

-u.uuid-match Unique identifier for a zone,as assigned by.libuuid(3LIB). If this option is present and the argument is a non-empty string,then the zone matching the UUID is selected instead of the one named by the.-z.option,if such a zone is present. 

Q109. - (Topic 2) 

You have already generated a 256-bit AES raw key and named the keystore file /mykey. You need to use the key to create an encrypted file system. 

Which command should you use to create a ZFS encrypted file system named pool1/encrypt using the /mykey keystore? 

A. zfs create - o encryption = /mykey pool1/encrypt 

B. zfs create - o encryption = 256-ccm - o keysource = raw,file : ///my key pool1/encrypt 

C. zfs create - o encryption = AES keysource = /mykey pool1/encrypt 

D. zfs create - o encryption = on keystore = /mykey pool1/encrypt 

Answer: B Explanation: 

Example: Encrypting a ZFS File System by Using a Raw Key 

In the following example,an aes-256-ccm encryption key is generated by using the pktool command and is written to a file,/cindykey.file. 

# pktool genkey keystore=file outkey=/cindykey.file keytype=aes keylen=256 Then,the /cindykey.file is specified when the tank/home/cindy file system is created. 

# zfs create -o encryption=aes-256-ccm -o keysource=raw,file:///cindykey.file tank/home/cindys 

Q110. - (Topic 1) 

You need to know the IP address configured on interface net3,and that the interface is up. Which command confirms these? 

A. ipadm show-if 

B. ipadm up-addr 

C. ipadm show-addr 

D. ipadm enable-if 

E. ipadm refresh-addr 

F. ipadm show-addrprop 

Answer:

Explanation: 

Show address information,either for the given addrobj or all the address objects configured on the specified interface,including the address objects that are only in the persistent configuration. 

State can be: disabled,down,duplicate,inaccessible,ok,tentative 

Example: # ipadm show-addr ADDROBJ TYPE STATE ADDR lo0/v4 static ok 127.0.0.1/8 lo0/v6 static ok ::1/128