ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 73 - XK0-005 discussion

Report
Export

A Linux administrator needs to resolve a service that has failed to start. The administrator runs the following command:

The following output is returned

Which of the following is MOST likely the issue?

A.
The service does not have permissions to read write the startupfile.
Answers
A.
The service does not have permissions to read write the startupfile.
B.
The service startupfile size cannot be 81k.
Answers
B.
The service startupfile size cannot be 81k.
C.
The service startupfile cannot be owned by root.
Answers
C.
The service startupfile cannot be owned by root.
D.
The service startupfile should not be owned by the root group.
Answers
D.
The service startupfile should not be owned by the root group.
Suggested answer: A

Explanation:

The most likely issue is that the service does not have permissions to read or write the startupfile. The output of systemctl status startup.service shows that the service has failed to start and the error message is "Permission denied". The output of ls -l /etc/startupfile shows that the file has the permissions -rw-r--r--, which means that only the owner (root) can read and write the file, while the group (root) and others can only read the file. The service may not run as root and may need write access to the file. The administrator should change the permissions of the file by using the chmod command and grant write access to the group or others, or change the owner or group of the file by using the chown command and assign it to the user or group that runs the service. The other options are incorrect because they are not supported by the outputs. The file size, owner, and group are not the causes of the issue. Reference: CompTIA Linux+ (XK0-005) Certification Study Guide, Chapter 11: Managing Files and Directories, pages 345-346.

asked 02/10/2024
jateen chibabhai
41 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first