Question ID 3991 | 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?
|
Option A | A.
boot cdrom -s
mount -f nfs backup_server:/rpool/snaps /rmt zpool create rpool c0t0d0s0
cat /mnt/rpool.1202 | zfs receive -Fdu rpool zpool set bootfs=rpool/ROOT/solaris rpool Recreate swap and dump devices.
Reinstall the bootblock on c0t0d0.
|
Option B | B.
boot cdrom -s
mount -f nfs backup_server:/rpool/snaps /mnt
zpool create rpool c0t0d0s0
zfs create -o mountpoint=/ rpool/ROOT
cat /mnt/rpool.1011 | zfs receive -Fdu rpool
zpool set bootfs=rpool/ROOT/solaris rpool
Recreate swap and dump devices.
Reinstall the bootblock on c0t0d0.
|
Option C |
C.
boot cdrom -s
mount -F nfs backup_server:/rpool/snaps /mnt
cat /mnt/rpool.1011 | zfs receive -Fdu rpool
zpool set bootfs=rpool/ROOT/solaris rpool c0t0d0s0
Reinstall the bootblock on c0t0d0s0
|
Option D | D.
boot cdrom -s
mount -f nfs backup_server:/rpool/snaps /rmt
zpool create rpool c0t0d0s0
zfs receive -Fdu /mnt/rpool.1011
zpool set bootfs=rpool/ROOT/solaris rpool
Reinstall the bootblock on c0t0d0.
|
Correct Answer | A |
Question ID 3992 | 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?
|
Option A | A. world, because the local.profile entry will be executed last
|
Option B | B. hello, because the global /etc/profile entry overrides the local.profile entry
|
Option C | C. hello, because the local.profile entry is not automatically sourced on login
|
Option D | D. hello, because the value specified in local.profile was not exported
|
Option E | E. nothing, because the variable was not exported in local.profile
|
Correct Answer | A |