Dumpexams XK0-005 Dumps Real Exam Questions Test Engine Dumps Training
CompTIA XK0-005 exam dumps and online Test Engine
NEW QUESTION # 83
A systems administrator is compiling a report containing information about processes that are listening on the network ports of a Linux server. Which of the following commands will allow the administrator to obtain the needed information?
- A. tcpdump -nL
- B. netstat -pn
- C. ss -pint
- D. lsof -It
Answer: B
NEW QUESTION # 84
One leg of an LVM-mirrored volume failed due to the underlying physical volume, and a systems administrator is troubleshooting the issue. The following output has been provided:
Given this scenario, which of the following should the administrator do to recover this volume?
- A. Reboot the server. The volume will revert to stripe mode.
- B. Replace the failed drive and reconfigure the mirror.
- C. Reboot the server. The volume will automatically go back to linear mode.
- D. Recreate the logical volume.
Answer: B
NEW QUESTION # 85
A Linux administrator booted up the server and was presented with a non-GUI terminal. The administrator ran the command systemctl isolate graphical.target and rebooted the system by running systemctl reboot, which fixed the issue. However, the next day the administrator was presented again with a non-GUI terminal. Which of the following is the issue?
- A. The administrator did not reboot the server properly.
- B. The administrator did not set the default target to basic.target.
- C. The administrator did not set the default target to graphical.target.
- D. The administrator did not shut down the server properly.
Answer: C
NEW QUESTION # 86
A Linux administrator is trying to remove the ACL from the file /home/user/dat a. txt but receives the following error message:
Given the following analysis:
Which of the following is causing the error message?
- A. The administrator is not using a highly privileged account.
- B. SELinux file context is denying the ACL changes.
- C. File attributes are preventing file modification.
- D. The filesystem is mounted with the wrong options.
Answer: C
NEW QUESTION # 87
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 # 88
A Linux systems administrator is configuring a new filesystem that needs the capability to be mounted persistently across reboots. Which of the following commands will accomplish this task? (Choose two.)
- A. fdisk -l /dev/sdc1
- B. echo "/dev/sdc1 /data ext4 defaults 0 0" >> /etc/fstab
- C. echo "/data /dev/sdc1 ext4 defaults 0 0" >> /etc/fstab
- D. df -h /data
- E. mkfs.ext4 /dev/sdc1
- F. fsck /dev/sdc1
Answer: B,E
NEW QUESTION # 89
Rugged appliances are small appliances with ruggedized hardware and like Quantum Spark appliance they use which operating system?
- A. Gaia
- B. Centos Linux
- C. Red Hat Enterprise Linux version 5
- D. Gaia embedded
Answer: D
NEW QUESTION # 90
In order to copy data from another VLAN, a systems administrator wants to temporarily assign IP address 10.0.6 5/24 to the newly added network interface enp1s0f1. Which of the following commands should the administrator run to achieve the goal?
- A. echo "IPV4_ADDRESS=10.0.6.5/24" > /etc/sysconfig/network-scripts/ifcfg-enplsOfl
- B. ifconfig 10.0.6.5/24 enpsIs0f1
- C. nmcli conn add lpv4.address-10.0.6.5/24 ifname enpls0f1
- D. ip addr add 10.0.6.5/24 dev enpls0fl
Answer: D
NEW QUESTION # 91
A junior administrator is trying to set up a passwordless SSH connection to one of the servers. The administrator follows the instructions and puts the key in the authorized_key file at the server, but the administrator is still asked to provide a password during the connection.
Given the following output:
Which of the following commands would resolve the issue and allow an SSH connection to be established without a password?
- A. restorecon -rv .ssh/authorized_key
- B. mv .ssh/authorized_key .ssh/authorized_keys
- C. systemctl restart sshd.service
- D. chmod 600 mv .ssh/authorized_key
Answer: B
NEW QUESTION # 92
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 # 93
A Linux administrator needs to ensure that Java 7 and Java 8 are both locally available for developers to use when deploying containers. Currently only Java 8 is available. Which of the following commands should the administrator run to ensure both versions are available?
- A. docker image build java:7
- B. docker image load java:7
- C. docker image import java:7
- D. docker image pull java:7
Answer: D
NEW QUESTION # 94
A Linux administrator needs to connect securely to a remote server in order to install application software. Which of the following commands would allow this connection?
- A. scp "ABC-key.pem" [email protected]
- B. sftp "ABC-key.pem" [email protected]
- C. sftp rooteiO.0.0.1
- D. telnet 10.0.0.1 80
- E. ssh -i "ABC-key.pem" [email protected]
Answer: E
NEW QUESTION # 95
Which of the following tools is BEST suited to orchestrate a large number of containers across many different servers?
- A. Terraform
- B. Podman
- C. Ansible
- D. Kubernetes
Answer: D
NEW QUESTION # 96
An administrator is trying to diagnose a performance issue and is reviewing the following output:
System Properties:
CPU: 4 vCPU
Memory: 40GB
Disk maximum IOPS: 690
Disk maximum throughput: 44Mbps | 44000Kbps
Based on the above output, which of the following BEST describes the root cause?
- A. The system has reached its maximum permitted throughput, therefore iowait is increasing.
- B. The system is mostly idle, therefore the iowait is high.
- C. The system has a partitioned disk, which causes the IOPS to be doubled.
- D. The system has reached its maximum IOPS, causing the system to be slow.
Answer: A
NEW QUESTION # 97
A Linux systems administrator is setting up a new web server and getting 404 - NOT FOUND errors while trying to access the web server pages from the browser. While working on the diagnosis of this issue, the Linux systems administrator executes the following commands:
Which of the following commands will BEST resolve this issue?
- A. setsebool -P httpd_can_network_connect_db on
- B. restorecon -R -v /var/www/html
- C. setenforce 0
- D. sed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/selinux/config
Answer: B
NEW QUESTION # 98
A systems administrator has been tasked with disabling the nginx service from the environment to prevent it from being automatically and manually started. Which of the following commands will accomplish this task?
- A. systemctl stop nginx
- B. systemctl cancel nginx
- C. systemctl mask nginx
- D. systemctl disable nginx
Answer: C
NEW QUESTION # 99
A Linux user reported the following error after trying to connect to the system remotely:
ssh: connect to host 10.0.1.10 port 22: Resource temporarily unavailable The Linux systems administrator executed the following commands in the Linux system while trying to diagnose this issue:
Which of the following commands will resolve this issue?
- A. firewall-cmd --zone=public --permanent --add-port=22/udp
- B. firewall-cmd --zone=public --permanent --add-service=ssh
- C. systemctl enable firewalld; systemctl restart firewalld
- D. firewall-cmd --zone=public --permanent --add-service=22
Answer: B
NEW QUESTION # 100
A Linux administrator cloned an existing Linux server and built a new server from that clone. The administrator encountered the following error after booting the cloned server:
The administrator performed the commands listed below to further troubleshoot and mount the missing filesystem:
Which of the following should administrator use to resolve the device mismatch issue and mount the disk?
- A. fsck -A
- B. mount disk by-label
- C. mount disk by device-id
- D. mount disk by-blkid
Answer: D
NEW QUESTION # 101
A Linux administrator was tasked with deleting all files and directories with names that are contained in the sobelete.txt file. Which of the following commands will accomplish this task?
- A. cat toDelete.txt | rm -frd
- B. rm -d -r -f toDelete.txt
- C. xargs -f cat toDelete.txt -rm
- D. cat toDelete.txt | xargs rm -rf
Answer: B
NEW QUESTION # 102
A DevOps engineer needs to download a Git repository from https://git.company.com/admin/project.git. Which of the following commands will achieve this goal?
- A. git clone https://git.company.com/admin/project.git
- B. git checkout https://git.company.com/admin/project.git
- C. git branch https://git.company.com/admin/project.git
- D. git pull https://git.company.com/admin/project.git
Answer: A
NEW QUESTION # 103
A developer reported an incident involving the application configuration file /etc/httpd/conf/httpd.conf that is missing from the server. Which of the following identifies the RPM package that installed the configuration file?
- A. rpm -q /etc/httpd/conf/httpd.conf
- B. rpm -qf /etc/httpd/conf/httpd.conf
- C. rpm -query /etc/httpd/conf/httpd.conf
- D. rpm -ql /etc/httpd/conf/httpd.conf
Answer: D
NEW QUESTION # 104
A Linux administrator found many containers in an exited state. Which of the following commands will allow the administrator to clean up the containers in an exited state?
- A. docker images prune *
- B. docker rm --all
- C. docker rm --state exited
- D. docker rm $(docker ps -aq)
Answer: C
NEW QUESTION # 105
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. fdisk /dev/sda1
- B. partprobe /dev/sda1
- C. mkfs.ext4 /dev/sda1
- D. fsck.ext4 /dev/sda1
Answer: D
NEW QUESTION # 106
A Linux engineer is setting the sticky bit on a directory called devops with 755 file permission. Which of the following commands will accomplish this task?
- A. chown 1755 devops
- B. chown -s 755 devops
- C. chmod -s 755 devops
- D. chmod 1755 devops
Answer: D
NEW QUESTION # 107
Which of the following technologies provides load balancing, encryption, and observability in containerized environments?
- A. Overlay network
- B. Sidecar pod
- C. Service mesh
- D. Virtual private network
Answer: C
NEW QUESTION # 108
......
CompTIA XK0-005: Selling Linux+ Products and Solutions: https://pdftorrent.dumpexams.com/XK0-005-vce-torrent.html