1Z0-580 practice question 2 of 15

The command "beadm create –a solaris-test" will_____.

Full set: 75 questions
Answer options
A: create and automatically boot the solaris-test boot environment
B: create and activate the solaris-test boot environment but not reboot Correct answer
C: create an archive of the solaris-test boot environment
D: will not create a new boot environment without further information
E: will only activate a previously defined boot environment named solaris-test
Correct Answer:
B. create and activate the solaris-test boot environment but not reboot
Explanation

The beadm create command is used to create a new ZFS boot environment (BE). The -a option, when used with the create subcommand, activates the newly created BE immediately upon its creation. Activation marks the specified BE as the default entry in the boot loader, meaning it will be the environment that boots the next time the system is restarted. The command itself does not trigger a system reboot; it only sets the stage for the next boot cycle.

Why Incorrect

A. The -a option activates the BE for the next boot; it does not cause an immediate or automatic reboot of the system.
C. Creating an archive is not the function of the -a option. The beadm command does not have a direct archive creation function in this manner.
D. The command is syntactically correct and provides all necessary information (the BE name) to create and activate a new boot environment.
E. The create subcommand is explicitly for creating a new boot environment. The command to activate a pre-existing BE is beadm activate . ---

References

1. Oracle Solaris 11.4 Documentation, beadm(8) man page:

Section: create subcommand

Content: "Creates a new boot environment named BE-name... -a Activates the newly created boot environment upon creation. The default is to not activate the new boot environment." This confirms that -a activates the BE at creation time.

Reference: Oracle Corporation. (2018). beadm(8) man page. Oracle Solaris 11.4 Reference Manual.

2. Oracle Solaris 11.4 Documentation, Creating and Administering Oracle Solaris 11.4 Boot Environments:

Section: "Activating a Boot Environment"

Content: "An active boot environment is a boot environment that is marked as the default boot environment in the boot loader. The active boot environment will be booted by default on the next system reboot... You can activate a boot environment when you create it by using the -a option with the beadm create command." This clarifies that activation sets the default for the next reboot, not an immediate one.

Reference: Oracle Corporation. (2018). Creating and Administering Oracle Solaris 11.4 Boot Environments, Chapter 2, "Administering Boot Environments".

Scroll to Top