Renew XK0-004 Bible 2021
Proper study guides for Renew CompTIA CompTIA Linux+ Certification Exam certified begins with CompTIA XK0-004 preparation products which designed to deliver the Real XK0-004 questions by making you pass the XK0-004 test at your first time. Try the free XK0-004 demo right now.
CompTIA XK0-004 Free Dumps Questions Online, Read and Test Now.
NEW QUESTION 1
A systems administrator needs to retrieve specific fields from a csv file. Which of the following tools would accomplish this task?
- A. awk
- B. sort
- C. print
- D. echo
Answer: A
NEW QUESTION 2
An administrator reviews the following configuration file provided by a DevOps engineer:
Which of the following would the application parsing this file MOST likely have to support?
- A. YAML
- B. AJAX
- C. JSON
- D. SOAP
Answer: C
NEW QUESTION 3
A user, jsmith, needs access to database files located on a server. Which of the following will add jsmith to the “dba” group and preserve existing group memberships?
- A. usermod –a –G dba jsmith
- B. usermod –g dba jsmith
- C. useradd –g dba jsmith
- D. groupmod dba –u jsmith
Answer: AC
Explanation:
According to the reference given below. Both AC is correct.
NEW QUESTION 4
A server is almost out of free memory and is becoming unresponsive. Which of the following sets of commands will BEST mitigate the issue?
- A. free, fack, partprobe
- B. lsof, lvcreate, mdadm
- C. df, du, rmmod
- D. fdisk, mkswap, swapon -a
Answer: A
NEW QUESTION 5
A junior system administrator had trouble installing and running an Apache web server on a Linux server. You have been tasked with installing the Apache web server on the Linux server and resolving the issue that prevented the junior administrator from running Apache.
INSTRUCTIONS
Install Apache and start the service. Verify that the Apache service is running with the defaults. Typing “help” in the terminal will show a list of relevant commands.
If at any time you would like to bring back the initial state of the simulation, please click the Reset All button. CentOS Command Prompt
- A. Mastered
- B. Not Mastered
Answer: A
Explanation: 

NEW QUESTION 6
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 7
A Linux system is running normally when the systems administrator receives an alert that one application spawned many processes. The application is consuming a lot of memory, and it will soon cause the machine to become unresponsive. Which of the following commands will stop each application process?
- A. kill ‘pidof application’
- B. killall application
- C. kill -9 ‘ps –aux | grep application’
- D. pkill -9 application
Answer: B
NEW QUESTION 8
A configuration management tool running every minute is enforcing the service HTTPd to be started. To perform maintenance, which of the following series of commands can be used to prevent the service from being started?
- A. systemctl stop httpd && systemctl mask httpd
- B. systemctl disable httpd && systemctl mask httpd
- C. systemctl stop httpd && systemctl hide httpd
- D. systemctl disable httpd && systemctl hide httpd
Answer: A
NEW QUESTION 9
A new HTTPS web service is being deployed on a server. Which of the following commands should the Linux administrator use to ensure traffic is able to flow through the system firewall to the new service?
- A. iptables –I OUTPUT –p tcp --sport 443 –j ACCEPT
- B. iptables –A INPUT –p tcp --dport 443 –j ACCEPT
- C. iptables –I INPUT --dport 443 –j ACCEPT
- D. iptables –A OUTPUT –p tcp --dport 443 –j ACCEPT
Answer: C
NEW QUESTION 10
An engineer is working on a production application deployment that requires changing a web application property file called server.property that is managed by the Git version control system. A cloned copy of the remote repository in which the server.property file exists is on the local desktop computer. The engineer makes appropriate changes to the files, saves it as server.property, and executes git commit –m “changed the property file” server.property. Which of the following commands did the engineer fail to perform?
- A. git init server.property
- B. git merge server.property
- C. git add server.property
- D. git push server.property
Answer: D
NEW QUESTION 11
A Linux administrator needs to take stock of USB devices attached to the system. Which of the following commands would be BEST to complete this task?
- A. lspci
- B. lsusb
- C. cat /proc/USB
- D. modprobe -–usb
Answer: B
NEW QUESTION 12
A junior systems administrator is upgrading a package that was installed on a Red Hat-based system. The administrator is tasked with the following:
Update and install the new package.
Verify the new package version is installed.
Which of the following should be done to BEST accomplish these task? (Choose two.)
- A. yum install <package name>
- B. yum upgrade
- C. rpm –e <package name>
- D. rpm –qa
- E. apt-get <package name>
- F. apt-get upgrade
Answer: AD
NEW QUESTION 13
A Linux administrator implemented a new HTTP server using the default configuration. None of the users on the network can access the server. If there is no problem on the network or with the users’ workstations, which of the following steps will BEST analyze and resolve the issue?
- A. Run netstat to ensure the port is correctly bound, and configure the firewall to allow access on ports 80 and 443
- B. Run route to ensure the port is correctly bound, and configure the firewall to allow access on ports 80 and 443
- C. Run netcat to ensure the port is correctly bound, and configure a static route to the web to allow access on ports 80 and 443
- D. Run route to ensure the port is correctly bound, and configure SELinux to allow access on ports 80 and 443
Answer: C
NEW QUESTION 14
An administrator is analyzing a Linux server which was recently hacked.
Which of the following will the administrator use to find all unsuccessful login attempts?
- A. nsswitch
- B. faillock
- C. pam_tally2
- D. passwd
Answer: C
NEW QUESTION 15
A systems administrator is configuring options on a newly installed Linux VM that will be deployed to the Pacific time zone. Which of the following sets of commands should the administrator execute to accurately configure the correct time settings?
- A. cd /etcln –s /usr/share/zoneinfo/US/Pacific localtime
- B. cd /usr/localln –s /usr/share/zoneinfo/US/Pacific zoneinfo
- C. cd /etc/localln –s /usr/share/zoneinfo/US/Pacific localtime
- D. cd /usr/share/localln –s /usr/share/zoneinfo/US/Pacific localectl
Answer: A
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
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 18
Ann, a junior systems administrator, is required to add a line to the /etc/yum.conf file. However, she receives the following error message when she tries to add the line:
Ann performs some diagnostics to attempt to find the root cause:
Which of the following commands should Ann execute to write content to /etc/yum?
- A. chmod 755 /etc/yum.conf
- B. setfacl –m m:rw /etc/yum.conf
- C. chattr –I /etc/yum.conf
- D. setenforce 0
Answer: A
NEW QUESTION 19
A systems administrator observes high latency values when reaching a remote web server. Which of the following commands will help determine and isolate issues on the network side?
- A. mtr
- B. dig
- C. netstat
- D. route
Answer: A
NEW QUESTION 20
A system administrator has set up third-party log aggregation agents across several cloud instances. The systems administrator wants to create a dashboard of failed SSH attempts and the usernames used.
Which of the following files should be watched by the agents?
- A. /var/log/audit/audit.log
- B. /var/log/kern.log
- C. /var/log/monitor
- D. /etc/rsyslog.conf
Answer: D
NEW QUESTION 21
......
Thanks for reading the newest XK0-004 exam dumps! We recommend you to try the PREMIUM Surepassexam XK0-004 dumps in VCE and PDF here: https://www.surepassexam.com/XK0-004-exam-dumps.html (115 Q&As Dumps)