NEW 2022 Certification Sample Questions 1Z0-821 Dumps & Practice Exam [Q116-Q136]

Share

NEW 2022 Certification Sample Questions 1Z0-821 Dumps & Practice Exam

1Z0-821 Deluxe Study Guide with Online Test Engine


Oracle 1Z0-821 Exam Syllabus Topics:

TopicDetails
Topic 1
  • Managing System Processes and Scheduling System Tasks
  • Verify the operating system installation
Topic 2
  • Managing password algoritgms
  • Manage user initialization files
  • Setting Up and Administering Data Storage
Topic 3
  • Explain the role of the Service Management Facility (SMF)
  • Install the Oracle Solaris 11 operating system by using an interactive installer
Topic 4
  • Troubleshoot access and authentication issues
  • Plan for an Oracle Solaris 11 operating system installation
Topic 5
  • Explain basic networking concepts
  • Troubleshoot installation issues
Topic 6
  • Administer ZFS Snapshots and Clones
  • Administer an Oracle Solaris zone
  • Schedule system administration tasks
Topic 7
  • Troubleshoot software update issues
  • Update the Oracle Solaris 11 operating system by using IPS

 

NEW QUESTION 116
dbzone is currently running on your server.
Which two methods would you use to safely and cleanly shut down dbzone and all of its applications?

  • A. zoneadm -z dbzone halt
  • B. zlogin -z dbzone halt
  • C. zlogin dbzone shutdown -i0
  • D. zoneadm -z dbzone shutdown -i0
  • E. zoneadm -z dbzone shutdown

Answer: A,C

Explanation:
D: zoneadm halt command halts the specified zones. halt bypasses running the shutdown scripts inside the zone. It also removes run time resources of the zone.
E: Use: zlogin zone shutdown
to cleanly shutdown the zone by running the shutdown scripts.
Use this procedure to cleanly shut down a zone.
1. Become superuser, or assume the Primary Administrator role.
2. Log in to the zone to be shut down, for example, my-zone, and specify shutdown as the name of the utility and init 0 as the state global# zlogin my-zone shutdown -y -g0 -i 0

 

NEW QUESTION 117
You have edited /etc/profile to include the lines:
dennis_says=hello
export dennie_says
You have also edited /etc/skel/local.profile to include the line:
dennis_says=world You now create a new user account brian, and specify use of the bash shell. When brian logs in and enters
Echo $dennis_says
What will he see, and why?

  • A. world, because the local.profile entry will be executed last
  • B. hello, because the local.profile entry is not automatically sourced on login
  • C. nothing, because the variable was not exported in local.profile
  • D. hello, because the value specified in local.profile was not exported
  • E. hello, because the global /etc/profile entry overrides the local.profile entry

Answer: A

Explanation:
The $HOME/.profile file is an initialization file that is executed after the /etc/profile when logging in to the Bourne or Korn shell. The file contains user preferences for variable settings. If the ENV variable is set to .kshrc, the .kshrc file executes every time a new shell begins execution. The $HOME/.profile is copied from the /etc/skel/local.profile file by the Administration Tool when creating a new account.
Note: /etc/skel/local.profile Per-system configuration file for sh/ksh/ksh93/bash login sessions, installed for new users

 

NEW QUESTION 118
You have installed software updates to a new boot environment (BE) and have activated that the booting to the new BE, you notice system errors. You want to boot to the last known good configuration.
Which option would you use on a SPARC system to boot to the currentBE boot environment?

  • A. boot -m currentBE
  • B. boot -L currentBE
  • C. boot -a Enter the currentBE dataset name when prompted.
  • D. boot -Z rpool/ROOT/currentBE
  • E. beadm activate currentBE
  • F. boot rpool/ROOT/currentBE

Answer: E

Explanation:
You can change an inactive boot environment into an active boot environment. Only one boot environment can be active at a time. The newly activated boot environment becomes the default environment upon reboot.
How to Activate an Existing Boot Environment
1. Use the following command to activate an existing, inactive boot environment: beadm activate beName
beName is a variable for the name of the boot environment to be activated.
Note the following specifications.
beadm activate beName activates a boot environment by setting the bootable pool property, bootfs, to the value of the ROOT dataset of the boot environment that is being activated.
beadm activate sets the newly activated boot environment as the default in the menu.lst file.
2. Reboot.
The newly activated boot environment is now the default on the x86 GRUB menu or SPARC boot
menu.
Reference: Changing the Default Boot Environment
Booting a Solaris System

 

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

  • A. Software updates, published as packages to an OS image. All software packages are then updated manually from the command line using the pkg 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. 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.

Answer: C

Explanation:
Explanation/Reference:
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.

 

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

  • A. Software updates, published as packages to an OS image. All software packages are then updated manually from the command line using the pkg 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. 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.

Answer: C

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.

 

NEW QUESTION 121
Review the boot environment information displayed on your system:

Which two options accurately describe the newBE boot environment?

  • A. It cannot be renamed.
  • B. You can create a snapshot of it.
  • C. It cannot be destroyed.
  • D. It has been deleted and will be removed at the next reboot.
  • E. It cannot be activated.
  • F. It is activated but unbootable.

Answer: A,E

Explanation:
Explanation/Reference:
Explanation:
If the boot environment is unbootable, it is marked with an exclamation point (!) in the Active column in the beadm list output.
The beadm command restricts actions on unbootable boot environments as follows:
You cannot activate an unbootable boot environment. (B)
You cannot destroy a boot environment that is both unbootable and marked as active on reboot.
You cannot create a snapshot of an unbootable boot environment.
You cannot use an unbootable boot environment or boot environment snapshot with the -e option of beadm create.
You cannot rename an unbootable boot environment. (C)

 

NEW QUESTION 122
Which three of the components would degrade performance if used in a ZFS storage pool, and are not recommended configurations?

  • A. a disk slice from an SMI labeled disk
  • B. a Veritas Volume Manager (VxVM) volume
  • C. a Solaris Volume Manager (SVM) volume
  • D. an EDI disk
  • E. a file on a UFS file system
  • F. a LUN in a hardware RAID array

Answer: B,C,E

Explanation:
A: ZFS also allows you to use UFS files as virtual devices in your storage pool. This feature is aimed primarily at testing and enabling simple experimentation, not for production use.
The reason is that any use of files relies on the underlying file system for consistency. If you create a ZFS pool backed by files on a UFS file system, then you are implicitly relying on UFS to guarantee correctness and synchronous semantics. However, files can be quite useful when you are first trying out ZFS or experimenting with more complicated layouts when not enough physical devices are present. All files must be specified as complete paths and must be at least 64 Mbytes in size.
B, E: You can construct logical devices for ZFS using volumes presented by software-based volume managers, such as Solaris Volume Manager (SVM) or Veritas Volume Manager (VxVM). However, these configurations are not recommended. While ZFS functions properly on such devices, less-than-optimal performance might be the result.
Reference: Solaris ZFS Administration Guide, Managing ZFS Storage Pools

 

NEW QUESTION 123
Which three options describe the purpose of the zonep2vchk command?

  • A. Used to migrate a Solaris 10 global zone to a non-global zone on the same server; the non-global zone can then be migrated to a Solaris 11 server as a Solaris10 branded zone.
  • B. Used to access a Solaris 10 global zone for problems before migrating that zone to a Solaris 11 global zone
  • C. Used to migrate an Oracle Solaris 11 global zone to a non-global zone.
  • D. Used to create zonecfg template for a Solaris 10 global zone that that will be migrated to a solaris10 branded zone.
  • E. Used on a Solaris 10 global zone to access the system for problems before migrating that system to a Solaris 10 branded zone.

Answer: A,C,D

Explanation:
Explanation/Reference:
Explanation:
zonep2vchk
- check a global zone's configuration for physical to virtual migration into non-global zone The zonep2vchk utility is used to evaluate a global zone's configuration before the process of physical-to- virtual (p2v) migration into a non-global zone.
The p2v process involves archiving a global zone (source), and then installing a non-global zone (target) using that archive Zonep2vchk serves two functions. First, it can be used to report issues on the source which might prevent a successful p2v migration. Second, it can output a template zonecfg, which can be used to assist in configuring the non-global zone target.
Zonep2vchk can be executed on a Solaris 10 or later global zone. To execute on Solaris 10, copy the zonep2vchkutility to the Solaris 10 source global zone.
When run on Solaris 10, a target release of S11 can be specified, which will check for p2v into a Solaris 10 Branded zone.

 

NEW QUESTION 124
To confirm the IP address and netmask have been correctly configured on the network interfaces which command should you use?

  • A. ipadm show-addripadmshow-mask
  • B. ipadm show-ifconfig
  • C. ipdilm show-if
  • D. ipadm show-nic
  • E. ipadm show-addr

Answer: E

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

 

NEW QUESTION 125
You run the command dlstat show-link -r.
Select the two correct statements regarding the information displayed in the INTRS column.

  • A. A number equal to the number of transmitted Ethernet frames is listed for physical links.
  • B. No value is listed for virtual network interfaces.
  • C. A value of 0 is listed for virtual interfaces and ether stubs.
  • D. The number of packets that were interrupted by a collision is listed, which may indicate hardware problems.
  • E. The number of Interrupts is listed, which indicates network efficiency.

Answer: D,E

Explanation:
In this output, the statistics for interrupt (INTRS) are significant. Low interrupt numbers indicate greater efficiency in performance. If the interrupt numbers are high, then you might need to add more resources to the specific link.
Example: # dlstat -r -i 1 LINK IPKTS RBYTES INTRS POLLS CH<10 CH10-50 CH>50 e1000g0 101.91K 32.86M 87.56K 14.35K 3.70K 205 5 nxge1 9.61M 14.47G 5.79M 3.82M 379.98K 85.66K 1.64K
vnic1 8 336 0 0 0 0 0 e1000g0 0 0 0 0 0 0 0 nxge1 82.13K 123.69M 50.00K 32.13K 3.17K 724 24 vnic1 0 0 0 0 0 0 0
Note: dlstat show-link [-r [-F] | -t] [-i interval] [-a] [-p] [ -o field[,...]] [-u R|K|M|G|T|P] [link] Display statistics for a link.
-r Display receive-side statistics only. Includes bytes and packets received, hardware and software drops, and so forth.
List of supported RX fields:
link iusedby ibytes ipkts intrs polls hdrops: hardware drops sdrops: software drops (owing to bandwidth enforcement) ch<10: number of packet chains of length < 10 ch10-50: number of packet chains of length between 10 and 50 ch>50: number of packet chains of length > 50
Reference: man dlstat

 

NEW QUESTION 126
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 c0t0d0s0zfs receive -Fdu /mnt/rpool.1011zpool set bootfs=rpool/ROOT/solaris rpoolReinstall 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 c0t0d0s0cat /mnt/rpool.1202 | zfs receive -Fdu rpoolzpool set bootfs=rpool/ROOT/solaris rpoolRecreate swap and dump devices.Reinstall the bootblock on c0t0d0.

Answer: D

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

 

NEW QUESTION 127
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 zpool named iscsi with disk device c3t4d0
  • B. Use the itadm command to create the iSCSI target.
  • C. Use the stmfadm command to create a LUN using /dev/zvol/rdsk/iscsi/target.
  • D. Enable the svc:/network/iscsi/target:default Service.
  • E. Use the stmfadm command to make the LUN viewable.
  • F. Create zfs volume named iscsi/target.
  • G. Use the stmfadm command to make the volume viewable.
  • H. Use the stmfadm command to create a LUN using iscsi/target.
  • I. Create a ZFS file system named iscsi/target.

Answer: A,B,C,D,E,F

Explanation:
Explanation/Reference:
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

 

NEW QUESTION 128
The crash dump notification on your server is:

Documentation states that there should be two core files for each crash dump in the /var/crash directory named vmdump.0 Which command should you choose to display theses two files?

  • A. gunzip vmdump.0
  • B. dumpadm -z off
  • C. dumpadm uncompressed
  • D. savecore -f vmdump.0

Answer: D

Explanation:
Decompress using savecore -f vmdump.0
savecore - save a crash dump of the operating system
-f dumpfile Attempt to save a crash dump from the specified file instead of from the system's current dump device. This option may be useful if the information stored on the dump device has been copied to an on-disk file by means of the dd(1M) command.

 

NEW QUESTION 129
dbzone is currently running on your server.
Which two methods would you use to safely and cleanly shut down dbzone and all of its applications?

  • A. zoneadm -z dbzone halt
  • B. zlogin -z dbzone halt
  • C. zlogin dbzone shutdown -i0
  • D. zoneadm -z dbzone shutdown -i0
  • E. zoneadm -z dbzone shutdown

Answer: A,C

Explanation:
Explanation/Reference:
Explanation:
D: zoneadm halt command halts the specified zones. halt bypasses running the shutdown scripts inside the zone. It also removes run time resources of the zone.
E: Use: zlogin zone shutdown
to cleanly shutdown the zone by running the shutdown scripts.
Use this procedure to cleanly shut down a zone.
1. Become superuser, or assume the Primary Administrator role.
2. Log in to the zone to be shut down, for example, my-zone, and specify shutdown as the name of the utility and init 0 as the state global# zlogin my-zone shutdown -y -g0 -i 0

 

NEW QUESTION 130
You need to migrate a UFS file system named /production_ufs to a ZFS file system named /production_ufs.
The /production_ufs file system cannot be taken down or be out of production during the migration, and the current /production_ufs file system must remain active until the /ptoduction_zfs file system is copied and ready.
Which method allows you to meet both requirements?
1. Copy live data from /production_ufs to /production_zfs while /production_ufs is in use.
2. When the copy is complete, /production_zfs will contain an up-to date copy of /production_ufs

  • A. Create a snapshot of the UFS file system. Create the new ZFS file system. Use cpio to copy data from the snapshot to the new ZFS file system.
  • B. Create a new Boot Environment. Create the ZFS file system. Use lucreate -m to copy data from the Current UFS file system to the new ZFS file system.
  • C. Create the new ZFS file system by using zfs create import to import data from the existing UFS file system into the new ZFS file system
  • D. Create the new zfs file system by using the zfs create -o shadow.
  • E. Mirror the existing UFS file system by using SVM.After both submissions are in sync, migrate one of the submissions to a ZFS file System by using Live Upgrade.

Answer: D

Explanation:
Migrating Data With ZFS Shadow Migration
ZFS shadow migration is a tool you can use to migrate data from an existing file system to a new file system. A shadow file system is created that pulls data from the original source as necessary.
You can use the shadow migration feature to migrate file systems as follows:
* A local or remote ZFS file system to a target ZFS file system
* A local or remote UFS file system to a target ZFS file system
Shadow migration is a process that pulls the data to be migrated:
* Create an empty ZFS file system.
* Set the shadow property on an empty ZFS file system, which is the target (or shadow) file system, to point to the file system to be migrated.
For example:
# zfs create -o shadow=nfs://system/export/home/ufsdata users/home/shadow2
* Data from file system to be migrated is copied over to the shadow file system.

 

NEW QUESTION 131
Which network protocol provides connectionless, packet-oriented communication between applications?

  • A. ICMP
  • B. IP
  • C. UDP
  • D. TCP
  • E. IPSec
  • F. NFS

Answer: C

Explanation:
Explanation/Reference:
Explanation:
The User Datagram Protocol (UDP) is one of the core members of the Internet Protocol Suite, the set of network protocols used for the Internet. With UDP, computer applications can send messages, in this case referred to as datagrams, to other hosts on an Internet Protocol (IP) network without requiring prior communications to set up special transmission channels or data paths.
Compared to TCP, UDP is a simpler message-based connectionless protocol.

 

NEW QUESTION 132
Identify the correct description of an IPS image.

  • A. An ISO image of the Solaris media DVD
  • B. Alocation where packages can be installed,for example,your Solaris instance
  • C. An IPS repository
  • D. Adepot location or source where Solaris packages can be installed from

Answer: B

Explanation:
An image is a location where packages can be installed. An image can be one of three types:
*Full images are capable of providing a complete system.
*Partial images are linked to a full image (the parent image),but do not provide a complete system on their own.
*User images contain only relocatable packages.

 

NEW QUESTION 133
Your server has a ZFS storage pool that is configured as follows:

The server has two spate 140-GB disk drives: c3t5d0 c3t6d0
Which command would add redundancy to the pool1 storage pool?

  • A. zpool add raidz pool1 c3t5d0 c3t6d0
  • B. zpool add pool1 mirror c3t5d0 c3t6d0
  • C. zpool attach pool1 c3t3d0 c3c5d0; zpoo1 attach pool1 c3t4d0 c3t6d0
  • D. zpool attach pool1 c3t5d0 c3t6d0
  • E. zpool mirror pool1 c3t5d0 c3t6d0

Answer: D

Explanation:
You can convert a non-redundant storage pool into a redundant storage pool by using the zpool attach command.
Note: zpool attach [-f] pool device new_device
Attaches new_device to an existing zpool device. The existing device cannot be part of a raidz configuration. If device is not currently part of a mirrored configuration, device automatically transforms into a two-way mirror of device and new_device. If device is part of a two-way mirror, attaching new_device creates a three-way mirror, and so on. In either case, new_device begins to resilver immediately.

 

NEW QUESTION 134
You notice that the /var/.dm/messages file has become very large. Typically, this is managed by a crontab entry. Which entry should be in the root's crontab file?

  • A. 10 3 * * * /usr/sbin/logadm
  • B. 10 3 * * * /usr/sbin/messages
  • C. 10 3 * * * /usi/sbin/logrotate
  • D. 10 3 * * * /usr/adm/messages
  • E. 10 3 * * * /usr/sbin/syslogrotate

Answer: A

Explanation:
Explanation/Reference:
Explanation:
This example shows how to display the default root crontab file.
$ suPassword:
# crontab -l
#ident "@(#)root 1.19 98/07/06 SMI" /* SVr4.0 1.1.3.1 */
#
# The root crontab should be used to perform accounting data collection.
#
#
10 3 * * * /usr/sbin/logadm
15 3 * * 0 /usr/lib/fs/nfs/nfsfind
30 3 * * * [ -x /usr/lib/gss/gsscred_clean ] && /usr/lib/gss/gsscred_clean
#10 3 * * * /usr/lib/krb5/kprop_script ___slave_kdcs___

 

NEW QUESTION 135
What is the output of the following command, if executed using the default shell for the root role account of a standard Live CD Install of Oracle Solaris 11? echo '$SHELL'

  • A. /usr/bin/bash
  • B. the PID for the current shell
  • C. /usr/bin/ksh
  • D. $SHELL

Answer: D

Explanation:
Single quotes are most strict. They prevent even variable expansion. Double quotes prevent wildcard expansion but allow variable expansion. For example:
#!/bin/sh
echo $SHELL
echo "$SHELL"
echo '$SHELL'
This will print:
/usr/bin/bash
/usr/bin/bash
$SHELL

 

NEW QUESTION 136
......

1Z0-821 dumps review - Professional Quiz Study Materials: https://www.dumpstorrent.com/1Z0-821-exam-dumps-torrent.html