A Linux administrator is provisioning a new application and must create a dedicated system group named app_svc. For interoperability with other systems, the group must have a Group ID (GID) of 488. Which of the following commands will correctly create this group?
The correct command is groupadd -r -g 488 app_svc. The groupadd command is used to create new groups. The -r option creates a system group, which is typically used for services and applications. The -g option allows the administrator to specify a unique numerical Group ID (GID) for the new group. The other options are incorrect. Using groupadd -g 488 app_svc would create a regular group, not a system group. The command groupadd -s -gid 488 app_svc is incorrect because -s and -gid are not valid options for groupadd. The useradd command is used for creating users, not groups.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is the purpose of the GID in Linux?
Open an interactive chat with Bash
What is the difference between a regular group and a system group in Linux?
Open an interactive chat with Bash
How does the `groupadd` command work in Linux?
Open an interactive chat with Bash
CompTIA Linux+ XK0-006 (V8)
Services and User Management
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
IT & Cybersecurity Package Join Premium for Full Access