CompTIA
XK0-004 · Question #352
XK0-004 Question #352: Real Exam Question with Answer & Explanation
Sign in or unlock XK0-004 to reveal the answer and full explanation for question #352. The question stem and answer options stay visible for context.
Question
A Linux administrator is testing a configuration script and wants to change the hostname of a workstation temporarily, but it must return to its assigned workstation name after reboot. Which of the following is the BEST command for the administrator to use?
Options
- AHostnamet1 set-hostname -transient tempname
- BHostnamect1 -H localhost tempname
- CHostnamect1 set-hostname tempname
- DHostnamect1 set-hostname -static tempname
Unlock XK0-004 to see the answer
You've previewed enough free XK0-004 questions. Unlock XK0-004 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.