A Linux server running systemd booted to rescue.target for maintenance. Which commands are used to restore the server to its usual target? (Choose two.)
Suggested Answer: A, B
Get Premium 201-450 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
37 comments · newest first
JI
Jimmie
11 months ago
B is the way to go, but E seems unnecessary.
MI
Michell
11 months ago
Definitely not A, that's shutting it down!
LU
Lucina
11 months ago
Wait, can you really use systemctl default? That's surprising!
KI
Kirk
12 months ago
I think B is right, but A? Nah.
KA
Kanisha
12 months ago
Pretty sure it's B and E.
PA
Paul
12 months ago
I don't think "systemctl emergency" is right for this; it seems more like a way to enter emergency mode rather than restore the target.
DA
Dahlia
1 year ago
I’m leaning towards "systemctl default" and maybe "systemctl reboot," but I can't recall if rebooting is necessary to switch targets.
CA
Catarina
1 year ago
I remember practicing with similar questions, and I feel like "telinit 0" might actually shut down the server instead of restoring it.
HA
Han
1 year ago
I think "systemctl default" is definitely one of the commands to return to the usual target, but I'm not sure about the second one.
CH
Chaya
1 year ago
I'm pretty confident on this one. Since the server is running systemd, the correct commands are B (systemctl default) to restore the default target, and C (sync) to ensure any pending changes are written before rebooting.
CA
Catina
1 year ago
I'm a little confused by the wording of this question. Does "restore the server to its usual target" mean going back to the default target, or something more specific? I'll have to review my systemd knowledge before answering.
MI
Mitzie
1 year ago
Okay, I've got this. The key is that the server booted to rescue.target, so we need to use systemctl commands to get it back to the default target. B and E seem like the right choices here.
AL
Alison
1 year ago
Hmm, I'm a bit unsure about this one. I know telinit is used for the older SysV init system, but I'm not sure if it still applies with systemd. I'll have to think this through carefully.
DA
Daryl
1 year ago
I think the answer is B and C. Systemctl default should restore the server to its usual target, and sync is a good idea to ensure any pending changes are written to disk before rebooting.
DA
Darrel
1 year ago
The diagram doesn't look familiar to me. I'll have to guess based on the multiple-choice options, but I'm not feeling too confident about this one.
MY
Myrtie
2 years ago
D) systemctl emergency? What is this, a fire drill? B) systemctl default and E) systemctl reboot are the way to go, my friends. Systemd is the boss, and we're just living in its world.
SY
Sylvia
2 years ago
D) systemctl emergency is not needed here. Let's stick to B) and E) for now.
GL
Glendora
2 years ago
E) systemctl reboot is also a good option. Let's make sure everything is back to normal.
LA
Laticia
2 years ago
B) systemctl default is the way to go. Let's get this server back to its usual target.
CA
Cathrine
2 years ago
I'm not sure about telinit 0, but I know systemctl default is definitely needed to restore the server.
RE
Reita
2 years ago
I agree with Ivette. We also need to use systemctl default to set the default target.
IV
Ivette
2 years ago
I think we need to use telinit 0 to restore the server.
RO
Roslyn
2 years ago
I'm torn between B) systemctl default and E) systemctl reboot. Decisions, decisions. Maybe I'll just go with both, you know, cover all my bases. Gotta keep that server on its toes!
MI
Minna
2 years ago
A) telinit 0? Really? Are we still living in the Stone Age? B) systemctl default is the way to go, my dudes. Systemd is the future, and the future is now.
RO
Roxanne
2 years ago
D) Yeah, systemctl default is the modern way to restore the server. No need for old commands like telinit 0.
JA
Jamal
2 years ago
C) systemctl default is definitely the way to go. No need to go back to telinit 0.
JA
Jaclyn
2 years ago
B) systemctl default is the way to go, my dudes. Systemd is the future, and the future is now.
TE
Teri
2 years ago
A) telinit 0? Really? Are we still living in the Stone Age?
DO
Doug
2 years ago
Well, obviously B) systemctl default is the way to go. I mean, who doesn't love a good 'default' target? It's like the server's version of a comfy pair of sweatpants.
FA
Fabiola
2 years ago
Galen: Sounds like a plan. Let's get this server back to its usual target.
GA
Galen
2 years ago
Yeah, I agree. Let's try both A) telinit 0 and B) systemctl default.
WI
Wilford
2 years ago
I think A) telinit 0 might also work.
GL
Glynda
2 years ago
B) systemctl default and E) systemctl reboot, that's the way to go! Gotta love those systemd commands, they're like a dance routine for your server.
AD
Adelle
2 years ago
systemctl emergency
IR
Irma
2 years ago
sync
MO
Mollie
2 years ago
systemctl default
VA
Vallie
2 years ago
telinit 0