Your company has set a policy that all Oracle Solaris 11 instances must have a backup boot environment
created whenever software packages are added, removed, or updated. The current boot environment must not
be modified. The backup boot environment must represent the system image before the procedure and the
new boot environment must represent the image before the procedure. The image properties on your system
are as follows:
You are instructed to install the top utility.
Which two will allow the top package to be installed on the system while adhering to the company policy?
A.
pkg property pkg-install=backup-be
pkg install top
B.
pkg set-property be-policy create-backup
pkg install top
C.
pkg install –be-name BE2 top
D.
pkg set-property be-policy always-new
pkg install top
E.
pkg set-property create-backup true
pkg install top
Explanation:
By default, a new BE is automatically created when you perform one of the following operations:
* (D) Set the be-policy image policy to always-new. Under this policy, all package operations are performed in a
new BE set as active on the next boot.
* Update particular key system packages such as some drivers and other kernel components. This can happen
when you install, uninstall, update, change variant, or change facet.
* Often a new BE is created when you execute the pkg update command to update all packages that have
updates available.
* Specify any of the following options: –be-name, –require-new-be, –backup-be-name, –require-backup-be.