Which TWO commands can be used to display the current runlevel or target of a systemd-based system?
Trap 1: systemctl get-default
Incorrect because `systemctl get-default` shows the default target for the next boot, not the currently active runlevel or target.
Trap 2: telinit
Incorrect because `telinit` is used to change the runlevel, not display it.
Trap 3: init 3
Incorrect because `init 3` changes the runlevel to 3, not display the current runlevel.
- A
systemctl get-default
Why wrong: Incorrect because `systemctl get-default` shows the default target for the next boot, not the currently active runlevel or target.
- B
telinit
Why wrong: Incorrect because `telinit` is used to change the runlevel, not display it.
- C
init 3
Why wrong: Incorrect because `init 3` changes the runlevel to 3, not display the current runlevel.
- D
systemctl list-units --type=target
Why wrong: Incorrect because `systemctl list-units --type=target` lists all targets, including inactive ones; it does not directly display the current target without filtering.
- E
runlevel
Correct because `runlevel` retrieves the previous and current runlevel from the system, which works on systemd-based systems as well.