1Z0-820 practice question 5 of 25

Before booting test zone a non-global zone, you want to connect to the zone’s console so that you can watch the boot process. Choose the command used to connect to testzone’s console.

Full set: 133 questions
Answer options
A: zoneadm -C testzone
B: zoneadm -console testzone
C: zlogin - z testzone console
D: zlogin - z testzone - C
E: zlogin -C testzone Correct answer
F: zoneadm - testzone - c
Correct Answer:
E. zlogin -C testzone
Explanation

To connect to the console of a non-global zone before or during boot, Oracle Solaris uses the zlogin command with the -C option followed by the zone name. Therefore, the correct command is zlogin -C testzone. The zoneadm command administers zone state, such as install, boot, halt, and verify, but it does not provide console login access.

Why Incorrect

A. zoneadm has no -C option for console access.
B. zoneadm -console is not valid Solaris zone syntax.
C. zlogin does not use -z; console is not a trailing subcommand here.
D. Invalid syntax; zlogin uses -C zonename, not -z.
F. Invalid zoneadm syntax and wrong command for console login.

References

- Oracle Solaris zlogin(8) man page, Options: -C connects to the zone console.

- Oracle Solaris Zones Administration Guide, “How to Log In to the Zone Console,” command format zlogin -C zonename.

- Oracle Solaris zoneadm(8) man page, Subcommands: zone lifecycle administration, not console login.

Scroll to Top