What Precise XK0-004 Samples Is
Cause all that matters here is passing the CompTIA XK0-004 exam. Cause all that you need is a high score of XK0-004 CompTIA Linux+ Certification Exam exam. The only one thing you need to do is downloading Ucertify XK0-004 exam study guides now. We will not let you down with our money-back guarantee.
CompTIA XK0-004 Free Dumps Questions Online, Read and Test Now.
NEW QUESTION 1
Which of the following configuration management tools is considered agentless?
- A. Ouppet
- B. Salt
- C. Ansible
- D. Chef
Answer: C
NEW QUESTION 2
A systems administrator has received reports of intermittent network connectivity to a particular website. Which of the following is the BEST command to use to characterize the location and type of failure over the course of several minutes?
- A. mtr www.comptia.org
- B. tracert www.comptia.org
- C. ping www.comptia.org
- D. netstat www.comptia.org
Answer: B
NEW QUESTION 3
A Linux server needs to be accessed, but the root password is not available.
Which of the following would BEST allow an administrator to regain access and set a new known password at the same time?
- A. Boot into a single-user mode and reset the password via the passwd command.
- B. Boot into a single-user mode and reset the password by editing the /etc/passwd file.
- C. Boot into a single-user mode and reset the password by editing the /etc/shadow file.
- D. Boot into a single-user mode and reset the password via the chage command.
Answer: A
NEW QUESTION 4
Two specific users need access to a directory owned by root where backups are located. Which of the following commands would BEST ensure the specified users can access the backup files?
- A. umask
- B. chcon
- C. chmod
- D. setfacl
Answer: D
NEW QUESTION 5
A junior systems is configuring localization option environment variables. The administrator is given a checklist of tasks with the following requirements:
View current settings of the LC_ALL environment variable only. Modify the LANG environment variable to US English Unicode.
Given this scenario, which of the following should be performed to meet these requirements? (Choose two.)
- A. echo $LC_ALL
- B. locale
- C. cat $LC_ALL
- D. export LANG = en_US.UTF-8
- E. export $LANG = en_US.UTF
- F. stty
Answer: BD
NEW QUESTION 6
A systems administrator suspects a process with a PID of 2864 is consuming resources at an alarming rate. The administrator uses the command renice -n -5 -p2864, but it does not solve the issue. Which of the
following commands should the administrator execute to correct the issue?
- A. nice -n 5 -p 2864
- B. nice -n -5 -p 2864
- C. renice -n 10 -p 2864
- D. renice -n -10 -p 2864
Answer: D
NEW QUESTION 7
A technician wants to secure a sensitive workstation by ensuring network traffic is kept within the local subnet. To accomplish this task, the technician executes the following command:
echo 0 > /proc/sys/net/ipv4/ip_default_ttl
Which of the following commands can the technician use to confirm the expected results? (Choose two.)
- A. tcpdump
- B. traceroute
- C. route
- D. iperf
- E. ip
- F. arp
Answer: CF
NEW QUESTION 8
A Linux administrator needs the “tech” account to have the option to run elevated commands as root. Which of the following commands would BEST meet this goal?
- A. $ su – tech –c “/bin/bash”
- B. # usermod –aG wheel tech
- C. # sudo –I tech
- D. # groupadd –u tech –g root
Answer: C
NEW QUESTION 9
A Linux administrator wants to obtain a list of files and subdirectories in the /etc directory that contain the word “services”. Once the files and subdirectories are discovered, they should be listed alphabetically in the /var/tmp/foundservices file. Which of the following shell scripts will accomplish this task?
- A. #/bin/bashfind /etc –name services | sort > /var/tmp/foundservices
- B. #/bin/bashlocate /etc –sort –name services > /var/tmp/foundservices
- C. #/bin/bashfind –name services –sort </var/tmp/foundservices
- D. #/bin/bashfind /etc –name services –sort > /var/tmp/foundservices
Answer: B
NEW QUESTION 10
A Linux administrator needs to schedule a cron job to run at 1:15 p.m. every Friday to report the amount of free disk space on the system and to send the output to a file named “freespace”. Which of the following would meet this requirement?
- A. 13 15 * * 5 df > /freespace
- B. 15 13 * * 5 df > /freespace
- C. 15 1 * * 6 df > /freespace
- D. 15 13 6 * * df > /freespace
Answer: A
NEW QUESTION 11
A junior administrator needs to unload an older video kernel module. Which of the following commands would BEST accomplish this task?
- A. modprobe
- B. insmod
- C. rmmod
- D. chmod
Answer: A
NEW QUESTION 12
A new corporate policy states that Bluetooth should be disabled on all company laptops. Which of the following commands would disable the use of Bluetooth?
- A. echo “blacklist bluetooth” > /etc/modprobe.d/blacklist-bluetooth
- B. echo “kill bluetooth” > /etc/modprobe.d/kill-bluetooth
- C. echo “modprobe bluetooth” > /etc/modprobe.d/modprbe-bluetooth
- D. echo “rmod bluetooth” > /etc/modprobe.d/rmmod-bluetooth
Answer: C
NEW QUESTION 13
After starting a long-running script, a systems administrator needs to verify the frequency of what is filling up the /var partition and kill it because it is consuming too much space.
Which of the following is the correct sequence given only a terminal is available?
- A. 1. CTRL-C2. bg3. watch df /var4. CTRL-C5. fg6. CTRL-Z
- B. 1. CTRL-C2. fg3. watch df /var4. CTRL-Z5. bg6. CTRL-Z
- C. 1. CTRL-Z2. bg3. watch df /var4. CTRL-C5. fg6. CTRL-C
- D. 1. CTRL-Z2. bg3. watch df /var4. CTRL-Z5. fg6. CTRL-C
Answer: D
NEW QUESTION 14
Which of the following configuration files should be modified to disable Ctrl-Alt-Del in Linux?
- A. /etc/inittab
- B. ~/.bash_profile
- C. /etc/securetty
- D. /etc/security/limits.conf
Answer: A
NEW QUESTION 15
A user attempts to use the mount -a command but gets the following error: mount: mount point /mnt/test does not exist
Which of the following commands best describes the action the Linux administrator should take NEXT?
- A. mount –a /mnt/test
- B. mkdir –p /mnt/test
- C. mdadm –p /mnt/test
- D. mkfs /mnt/test
- E. touch /mnt/test
Answer: B
NEW QUESTION 16
A junior Linux administrator is optimizing a system in which an application needs to take priority 0 when running the process. The administrator runs the ps command and receives the following output:
Given this scenario, which of the following steps will address this issue?
- A. Issue the command ronice –n 0 –p 8481
- B. Issue the command renice –p 8481
- C. Issue the command renice –p 0 ~n 8481
- D. Issue the command renice –n 8481
Answer: D
NEW QUESTION 17
......
P.S. Easily pass XK0-004 Exam with 267 Q&As DumpSolutions.com Dumps & pdf Version, Welcome to Download the Newest DumpSolutions.com XK0-004 Dumps: https://www.dumpsolutions.com/XK0-004-dumps/ (267 New Questions)