New Year Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: simple70

Pass the CompTIA Linux+ XK0-005 Questions and answers with CertsForce

Viewing page 2 out of 15 pages
Viewing questions 11-20 out of questions
Questions # 11:

Users have been unable to save documents to /home/tmp/temp and have been receiving the following error:

Path not found

A junior technician checks the locations and sees that /home/tmp/tempa was accidentally created instead of /home/tmp/temp. Which of the following commands should the technician use to fix this issue?

Options:

A.

cp /home/tmp/tempa /home/tmp/temp


B.

mv /home/tmp/tempa /home/tmp/temp


C.

cd /temp/tmp/tempa


D.

ls /home/tmp/tempa


Expert Solution
Questions # 12:

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?

Options:

A.

ip addr add 10.0.6.5/24 dev enpls0f1


B.

echo "IPV4_ADDRESS=10.0.6.5/24" > /etc/sysconfig/network-scripts/ifcfg-enplsOfl


C.

ifconfig 10.0.6.5/24 enpsIs0f1


D.

nmcli conn add lpv4.address-10.0.6.5/24 ifname enpls0f1


Expert Solution
Questions # 13:

Employees in the finance department are having trouble accessing the file /opt/work/file. All IT employees can read and write the file. Systems administrator reviews the following output:

Which of the following commands would permanently fix the access issue while limiting access to IT and finance department employees?

Options:

A.

chattr +i file


B.

chown it:finance file


C.

chmod 666 file


D.

setfacl -m g:finance:rw file


Expert Solution
Questions # 14:

A new disk was presented to a server as /dev/ sdd. The systems administrator needs to check if a partition table is on that disk. Which of the following commands can show this information?

Options:

A.

Isscsi


B.

fdisk


C.

blkid


D.

partprobe


Expert Solution
Questions # 15:

A senior Linux administrator has created several scripts that will be used to install common system applications. These scripts are published to a reposito-ry to share with the systems team. A junior Linux administrator needs to re-trieve the scripts and make them available on a local workstation. Which of the following Git commands should the junior Linux administrator use to accom-plish this task?

Options:

A.

fetch


B.

checkout


C.

clone


D.

branch


Expert Solution
Questions # 16:

A Linux administrator copied a Git repository locally, created a feature branch, and committed some changes to the feature branch. Which of the following Git actions should the Linux administrator use to publish the changes to the main branch of the remote repository?

Options:

A.

rebase


B.

tag


C.

commit


D.

push


Expert Solution
Questions # 17:

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?

Options:

A.

The CIDR value /33 should be /32 instead.


B.

There is no route to 192.168.168.1/33.


C.

The interface eth0 does not exist.


D.

The IP address 192.168.168.1 is already in use.


Expert Solution
Questions # 18:

What is the main objective when using Application Control?

Options:

A.

To filter out specific content.


B.

To assist the firewall blade with handling traffic.


C.

To see what users are doing.


D.

Ensure security and privacy of information.


Expert Solution
Questions # 19:

A systems administrator installed a new software program on a Linux server. When the systems administrator tries to run the program, the following message appears on the screen.

Which of the following commands will allow the systems administrator to check whether the system supports virtualization?

Options:

A.

dmidecode -s system-version


B.

lscpu


C.

sysctl -a


D.

cat /sys/device/system/cpu/possible


Expert Solution
Questions # 20:

A Linux administrator needs to analyze a failing application that is running inside a container. Which of the following commands allows the Linux administrator to enter the running container and analyze the logs that are stored inside?

Options:

A.

docker run -ti app /bin/sh


B.

podman exec -ti app /bin/sh


C.

podman run -d app /bin/bash


D.

docker exec -d app /bin/bash


Expert Solution
Viewing page 2 out of 15 pages
Viewing questions 11-20 out of questions