CompTIA
XK0-006 · Question #42
XK0-006 Question #42: Real Exam Question with Answer & Explanation
Sign in or unlock XK0-006 to reveal the answer and full explanation for question #42. The question stem and answer options stay visible for context.
Question
A Linux administrator wants to add a user to the Docker group without changing their primary group. Which of the following commands should the administrator use to complete this task?
Options
- Asudo groupmod docker user
- Bsudo usermod -g docker user
- Csudo usermod -aG docker user
- Dsudo groupmod -G docker user
Unlock XK0-006 to see the answer
You've previewed enough free XK0-006 questions. Unlock XK0-006 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.