nerdexam
LPI

102-500 · Question #70

Which of the following statements is true if the UID of a regular user is identical to the GID of a group?

The correct answer is C. UIDs and GIDs are independent of each other, therefore the user as well as the group are still. UIDs (User IDs) and GIDs (Group IDs) exist in completely separate namespaces on Linux/Unix systems - the kernel tracks them independently, so having UID 1001 for a user and GID 1001 for a group causes zero conflict; both entities coexist and function normally. Options A and E…

Administrative Tasks

Question

Which of the following statements is true if the UID of a regular user is identical to the GID of a group?

Options

  • AUID have precedence over GIDs, therefore the user is available while the group doesn't.
  • BThe user as well as the group are not available to avoid ambiguity due to the ID conflict.
  • CUIDs and GIDs are independent of each other, therefore the user as well as the group are still
  • DThe user is the only member of the group, even if the group configuration contains other
  • EGIDs have precedence over UIDs, therefore the group is available while the user isn't.

How the community answered

(23 responses)
  • A
    13% (3)
  • B
    4% (1)
  • C
    74% (17)
  • D
    9% (2)

Explanation

UIDs (User IDs) and GIDs (Group IDs) exist in completely separate namespaces on Linux/Unix systems - the kernel tracks them independently, so having UID 1001 for a user and GID 1001 for a group causes zero conflict; both entities coexist and function normally. Options A and E are false because neither UIDs nor GIDs have "precedence" over each other - there is no such conflict resolution mechanism. Option B is wrong because the system never disables or hides either entity due to matching numbers. Option D is a fabrication - a matching UID/GID says nothing about group membership, which is determined solely by /etc/group. Memory tip: Think of UIDs and GIDs as two separate ID card systems in different buildings - the fact that room 101 exists in both buildings doesn't cause any problem, because the buildings are entirely independent.

Topics

#UIDs#GIDs#User Management#Namespace Independence

Community Discussion

No community discussion yet for this question.

Full 102-500 Practice