nerdexam
CompTIA

XK0-005 · Question #624

The administrator comptia is not able to perform privileged functions on a newly deployed system. Given the following command outputs: Which of the following is the reason that the administrator is…

The correct answer is B. The administrator is not a part of the correct group. In Linux, the ability to run privileged commands (via sudo) requires membership in the 'sudo' group (Debian-based) or 'wheel' group (RHEL-based). Even if an account exists and has a valid password, it cannot execute sudo commands unless it belongs to the appropriate privileged…

System Management

Question

The administrator comptia is not able to perform privileged functions on a newly deployed system. Given the following command outputs:

Which of the following is the reason that the administrator is unable to perform the assigned duties?

Options

  • AThe administrator needs a password reset.
  • BThe administrator is not a part of the correct group.
  • CThe administrator did not update the sudo database.
  • DThe administrator's credentials need to be more complex.

How the community answered

(38 responses)
  • A
    16% (6)
  • B
    74% (28)
  • C
    3% (1)
  • D
    8% (3)

Explanation

In Linux, the ability to run privileged commands (via sudo) requires membership in the 'sudo' group (Debian-based) or 'wheel' group (RHEL-based). Even if an account exists and has a valid password, it cannot execute sudo commands unless it belongs to the appropriate privileged group. The command outputs would typically show the user's group memberships (via 'id' or 'groups') and the sudoers configuration, revealing the user 'comptia' is missing from the required group. A password reset (A) wouldn't grant sudo access, the sudo database doesn't need manual updates after adding a user to a group (C), and password complexity (D) is unrelated to group-based privilege assignment.

Topics

#User Management#Group Management#sudo#Privilege Management

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice