PrepAway - Latest Free Exam Questions & Answers

Which of the following commands are used to start and stop a service, and to ensure persistence across reboots

Which of the following commands are used to start and stop a service, and to ensure persistence
across reboots? Each correct answer represents a complete solution. Choose all that apply.

PrepAway - Latest Free Exam Questions & Answers

A.
chkconfig

B.
tar

C.
service

D.
yum

Explanation:

The service and chkconfig commands are used to start and stop a service, and to ensure
persistence across reboots. The service command is used to abstract the management of services
provided by the system. It can be used to start and stop services, as well as to determine the
status of services. To execute a given command for a given service, it uses the start, stop, restart,
and reload arguments. Some important options used with the service command are as follows:

The chkconfig tool is used to update and query runlevel information for system services.
Answer option D is incorrect. The yum command automatically attempts to check all configured
repositories to resolve all package dependencies during an installation/upgrade.
Answer option B is incorrect. The tape archive (tar) command combines a large number of files
into a single file for archival purposes.


Leave a Reply