[Mar 29, 2023] Genuine XK0-005 Exam Dumps New 2023 CompTIA Pratice Exam
New 2023 Realistic XK0-005 Dumps Test Engine Exam Questions in here
NEW QUESTION 69
A systems administrator was tasked with assigning the temporary IP address/netmask 192.168.168.1/255.255.255.255 to the interface eth0 of a Linux server.
When adding the address, the following error appears:
# ip address add 192.168.168.1/33 dev eth0
Error: any valid prefix is expected rather than "192.168.168.1/33".
Based on the command and its output above, which of the following is the cause of the issue?
- A. The interface eth0 does not exist.
- B. There is no route to 192.168.168.1/33.
- C. The CIDR value /33 should be /32 instead.
- D. The IP address 192.168.168.1 is already in use.
Answer: A
NEW QUESTION 70
A Linux administrator has logged in to a server for the first time and needs to know which services are allowed through the firewall. Which of the following options will return the results for which the administrator is looking?
- A. firewall-cmd -get-services
- B. firewall-cmd -list-services
- C. systemctl status firewalld
- D. firewall-cmd -check-config
Answer: B
NEW QUESTION 71
A Linux administrator would like to use systemd to schedule a job to run every two hours. The administrator creates timer and service definitions and restarts the server to load these new configurations. After the restart, the administrator checks the log file and notices that the job is only running daily. Which of the following is MOST likely causing the issue?
- A. The OnCalendar schedule is incorrect in the timer definition.
- B. The checkdiskspace.service is not running.
- C. The system-daemon services need to be reloaded.
- D. The checkdiskspace.service needs to be enabled.
Answer: C
NEW QUESTION 72
An administrator deployed a Linux server that is running a web application on port 6379/tcp.
SELinux is in enforcing mode based on organization policies.
The port is open on the firewall.
Users who are trying to connect to a local instance of the web application receive Error 13, Permission denied.
The administrator ran some commands that resulted in the following output:
Which of the following commands should be used to resolve the issue?
- A. semanage port -a -t http_port_t -p tcp 6379
- B. semanage port -a http_port_t -p top 6379
- C. semanage port -l -t http_port_tcp 6379
- D. semanage port -d -t http_port_t -p tcp 6379
Answer: A
NEW QUESTION 73
A systems administrator is investigating an issue in which one of the servers is not booting up properly. The journalctl entries show the following:
Which of the following will allow the administrator to boot the Linux system to normal mode quickly?
- A. Perform filesystem checks on local filesystems and reboot.
- B. Comment out the /opt/app filesystem in /etc/fstab and reboot.
- C. Reformat the /opt/app filesystem and reboot.
- D. Trigger a filesystem relabel and reboot.
Answer: B
NEW QUESTION 74
As a Systems Administrator, to reduce disk space, you were tasked to create a shell script that does the following:
Add relevant content to /tmp/script.sh, so that it finds and compresses rotated files in /var/log without recursion.
INSTRUCTIONS
Fill the blanks to build a script that performs the actual compression of rotated log files.
If at any time you would like to bring back the initial state of the simulation, please click the Reset All button.
Answer:
Explanation:
NEW QUESTION 75
A Linux administrator is scheduling a system job that runs a script to check available disk space every hour. The Linux administrator does not want users to be able to start the job. Given the following:
The Linux administrator attempts to start the timer service but receives the following error message:
Which of the following is MOST likely the reason the timer will not start?
- A. The checkdiskspace.timer unit should be enabled via systemctl.
- B. The timers.target should be reloaded to get the new configuration.
- C. The checkdiskspace.timer should be configured to allow manual starts.
- D. The checkdiskspace.timer should be started using the sudo command.
Answer: C
NEW QUESTION 76
Which of the following commands will display the operating system?
- A. uname -s
- B. uname -n
- C. uname -o
- D. uname -m
Answer: C
NEW QUESTION 77
A systems administrator wants to test the route between IP address 10.0.2.15 and IP address 192.168.1.40. Which of the following commands will accomplish this task?
- A. route -e get to 192.168.1.40 from 10.0.2.15
- B. ip route get 192.163.1.40 from 10.0.2.15
- C. route -n 192.168.1.40 from 10.0.2.15
- D. ip route 192.169.1.40 to 10.0.2.15
Answer: B
NEW QUESTION 78
Based on an organization's new cybersecurity policies, an administrator has been instructed to ensure that, by default, all new users and groups that are created fall within the specified values below.
To which of the following configuration files will the required changes need to be made?
- A. /etc/default/useradd
- B. /etc/login.defs
- C. /etc/security/limits.conf
- D. /etc/profile
Answer: B
NEW QUESTION 79
A systems administrator created a new Docker image called test. After building the image, the administrator forgot to version the release. Which of the following will allow the administrator to assign the v1 version to the image?
- A. docker image version test:v1
- B. docker image save test test:v1
- C. docker image tag test test:vl
- D. docker image build test:vl
Answer: C
NEW QUESTION 80
An administrator accidentally deleted the /boot/vmlinuz file and must resolve the issue before the server is rebooted. Which of the following commands should the administrator use to identify the correct version of this file?
- A. cat /etc/centos-release; rpm -Uvh --nodeps
- B. yum -y update; shutdown -r now
- C. telinit 1; restorecon -Rv /boot
- D. rpm -qa | grep kernel; uname -a
Answer: D
NEW QUESTION 81
A systems administrator needs to clone the partition /dev/sdc1 to /dev/sdd1. Which of the following commands will accomplish this task?
- A. dd if=/dev/sdc1 of=/dev/sdd1
- B. tar -cvzf /dev/sdd1 /dev/sdc1
- C. scp /dev/sdc1 /dev/sdd1
- D. rsync /dev/sdc1 /dev/sdd1
Answer: A
NEW QUESTION 82
Which of the following technologies provides load balancing, encryption, and observability in containerized environments?
- A. Virtual private network
- B. Overlay network
- C. Service mesh
- D. Sidecar pod
Answer: C
NEW QUESTION 83
A Linux system fails to start and delivers the following error message:
Which of the following commands can be used to address this issue?
- A. partprobe /dev/sda1
- B. fsck.ext4 /dev/sda1
- C. fdisk /dev/sda1
- D. mkfs.ext4 /dev/sda1
Answer: B
NEW QUESTION 84
A Linux administrator is troubleshooting an issue in which an application service failed to start on a Linux server. The administrator runs a few commands and gets the following outputs:
Based on the above outputs, which of the following is the MOST likely action the administrator should take to resolve this issue?
- A. Update the KillSignal configuration for the logsearch.service to use TERM.
- B. Enable the logsearch.service and restart the service.
- C. Update the OnCalendar configuration to schedule the start of the logsearch.service.
- D. Increase the TimeoutStartUSec configuration for the logsearch.sevice.
Answer: D
NEW QUESTION 85
A Linux engineer receives reports that files created within a certain group are being modified by users who are not group members. The engineer wants to reconfigure the server so that only file owners and group members can modify new files by default. Which of the following commands would accomplish this task?
- A. chactr -Rv
- B. chown -cf
- C. umask. 002
- D. chmod 775
Answer: C
NEW QUESTION 86
......
CompTIA XK0-005 Exam Syllabus Topics:
| Topic | Details |
|---|---|
| Topic 1 |
|
| Topic 2 |
|
| Topic 3 |
|
| Topic 4 |
|
| Topic 5 |
|
| Topic 6 |
|
| Topic 7 |
|
| Topic 8 |
|
| Topic 9 |
|
| Topic 10 |
|
| Topic 11 |
|
Grab latest Amazon XK0-005 Dumps as PDF Updated: https://www.dumpsquestion.com/XK0-005-exam-dumps-collection.html
Updated Official licence for XK0-005 Certified by XK0-005 Dumps PDF: https://drive.google.com/open?id=12bw6rgm3pwGhB7r7CVJeLjTcNgetynRo