exam questions

Exam XK0-005 All Questions

View all questions & answers for the XK0-005 exam

Exam XK0-005 topic 1 question 93 discussion

Actual exam question from CompTIA's XK0-005
Question #: 93
Topic #: 1
[All XK0-005 Questions]

A junior Linux administrator is tasked with installing an application. The installation guide states the application should only be installed in a run level 5 environment.

Which of the following commands would ensure the server is set to runlevel 5?

  • A. systemctl isolate multi-user.target
  • B. systemctl isolate graphical.target
  • C. systemctl isolate network.target
  • D. systemctl isolate basic.target
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Qubert2
6 months, 3 weeks ago
he systemctl isolate command switches the system to the specified target. In this case, graphical.target starts all the services required for graphical mode (GUI) and stops services that are not needed in this mode. It does not change the default runlevel, meaning the system will revert to its original default target upon the next reboot unless you change it using systemctl set-default.
upvoted 1 times
...
Jb4
1 year, 3 months ago
Is it suppose to be A?
upvoted 3 times
...
angellorv
2 years, 1 month ago
System V runlevel (Purpose) runlevel 0 - (for System shutdown) runlevel1 (for Single-user mode) runlevel2 (for Local multiuser without remote network) runlevel3 (for Full multiuser with network) runlevel4 (for Unused/User-defined) runlevel5 (for Full multiuser with network and display manager) runlevel6 (for System reboot)
upvoted 4 times
...
angellorv
2 years, 1 month ago
A runlevel is an operating state on a Unix and Unix-based operating system that is preset on the Linux-based system. Runlevels are numbered from zero to six. Runlevels determine which programs can execute after the OS boots up. The runlevel defines the state of the machine after boot. Systems administrators set the default runlevel of a system according to their needs, or use the runlevel command to find out the machine's current runlevel to assess a system. Runlevel 0 shuts down the system Runlevel 1 single-user mode Runlevel 2 multi-user mode without networking Runlevel 3 multi-user mode with networking Runlevel 4 user-definable Runlevel 5 multi-user mode with networking Runlevel 6 reboots the system to restart it
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago