1Z0-820 practice question 22 of 25

You need a copy of the zone configuration installed on your server for disaster recovery documentation. Which two commands would display the current configuration of the zone named testzone? (Choose two)

Full set: 133 questions
Answer options
A: zonecfg -z testzone i nfo Correct answer
B: zoneinfo -z testzone
C: zoneadm -z testzone info
D: zonecfg -z testzone export Correct answer
E: zonecfg testzone info
F: cat /etc/zones/testzone.cfg
Correct Answer:
A. zonecfg -z testzone i nfo; D. zonecfg -z testzone export
Explanation

To display the configuration of a zone for documentation or disaster recovery, the zonecfg command is used. zonecfg -z testzone info outputs the current configuration in a human-readable format. zonecfg -z testzone export outputs the configuration as a series of zonecfg commands, which is specifically ideal for disaster recovery because the output can be saved to a file and executed later to perfectly recreate the zone's configuration.

Why Incorrect

B: zoneinfo is not a valid Solaris command for managing or displaying zone configurations. C: zoneadm info displays the zone's state, ID, and zonepath, but it does not display the detailed resource configuration. E: The command is missing the mandatory -z flag to specify the zone name before the info subcommand. F: While this file contains the XML configuration,

References

- Oracle, Oracle Solaris Zones Administration, zonecfg(8) manual page, -z zonename, info, and export subcommands.

- Oracle, Creating and Using Oracle Solaris Zones, “Displaying a Zone Configuration,” shows use of zonecfg -z zonename info.

- Oracle, Oracle Solaris Zones Administration, zoneadm(8) manual page, describes zone administration operations such as install, boot, halt, list.

- Oracle, Oracle Solaris Zones Administration, “About Zone Configuration Files,” identifies /etc/zones/zonename.xml as the zone configuration file.

Scroll to Top