nerdexam
CompTIACompTIA

XK0-005 · Question #352

XK0-005 Question #352: Real Exam Question with Answer & Explanation

Sign in or unlock XK0-005 to reveal the answer and full explanation for question #352. The question stem and answer options stay visible for context.

System Management

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-005 to see the answer

You've previewed enough free XK0-005 questions. Unlock XK0-005 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.

Topics

#Linux administration#Hostname management#hostnamectl command#System configuration
Full XK0-005 PracticeBrowse All XK0-005 Questions