CompTIA XK0-005 Exam Practice Questions (P. 5)
- Full Access (380 questions)
- Six months of Premium Access
- Access to one million comments
- Seamless ChatGPT Integration
- Ability to download PDF files
- Anki Flashcard files for revision
- No Captcha & No AdSense
- Advanced Exam Configuration
Question #41
A Linux administrator is troubleshooting the root cause of a high CPU load and average.

Which of the following commands will permanently resolve the issue?

Which of the following commands will permanently resolve the issue?
- Arenice -n -20 6295
- Bpstree -p 6295
- Ciostat -cy 1 5
- Dkill -9 6295Most Voted
Correct Answer:
A
A
send
light_mode
delete
Question #42
A Linux administrator wants to set the SUID of a file named dev_team.text with 744 access rights. Which of the following commands will achieve this goal?
- Achmod 4744 dev_team.txt
- Bchmod 744 --setuid dev_team.txt
- Cchmod -c 744 dev_team.txt
- Dchmod -v 4744 --suid dev_team.txt
Correct Answer:
A
A
send
light_mode
delete
Question #43
A developer has been unable to remove a particular data folder that a team no longer uses. The developer escalated the issue to the systems administrator. The following output was received:

Which of the following commands can be used to resolve this issue?

Which of the following commands can be used to resolve this issue?
- Achgrp -R 755 data/
- Bchmod -R 777 data/
- Cchattr -R -i data/Most Voted
- Dchown -R data/
Correct Answer:
C
C
send
light_mode
delete
Question #44
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?
- Adocker image load java:7
- Bdocker image pull java:7
- Cdocker image import java:7
- Ddocker image build java:7
Correct Answer:
B
B
send
light_mode
delete
Question #45
A cloud engineer is installing packages during VM provisioning. Which of the following should the engineer use to accomplish this task?
send
light_mode
delete
Question #46
A systems administrator is tasked with creating a cloud-based server with a public IP address.
The code is as follows:

Which of the following technologies did the systems administrator use to complete this task?
The code is as follows:

Which of the following technologies did the systems administrator use to complete this task?
send
light_mode
delete
Question #47
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?

Which of the following commands will BEST resolve this issue?
- Ased -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/selinux/config
- Brestorecon -R -v /var/www/htmlMost Voted
- Csetenforce 0
- Dsetsebool -P httpd_can_network_connect_db on
Correct Answer:
B
B
send
light_mode
delete
Question #48
To harden one of the servers, an administrator needs to remove the possibility of remote administrative login via the SSH service. Which of the following should the administrator do?
- AAdd the line DenyUsers root to the /etc/hosts.deny file.
- BSet PermitRootLogin to no in the /etc/ssh/sshd_config file.Most Voted
- CAdd the line account required pam_nologin. so to the /etc/pam.d/sshd file.
- DSet PubKeyAuthentication to no in the /etc/ssh/ssh_config file.
Correct Answer:
B
B
send
light_mode
delete
Question #49
Which of the following is a function of a bootloader?
- AIt initializes all the devices that are required to load the OS.Most Voted
- BIt mounts the root filesystem that is required to load the OS.
- CIt helps to load the different kernels to initiate the OS startup process.
- DIt triggers the start of all the system services.
Correct Answer:
A
A
send
light_mode
delete
Question #50
A systems administrator configured firewall rules using firewalld. However, after the system is rebooted, the firewall rules are not present:

The systems administrator makes additional checks:

Which of the following is the reason the firewall rules are not active?

The systems administrator makes additional checks:

Which of the following is the reason the firewall rules are not active?
- Aiptables is conflicting with firewalld.
- BThe wrong system target is activated.
- CFIREWALL_ARGS has no value assigned.
- DThe firewalld service is not enabled.Most Voted
Correct Answer:
D
D
send
light_mode
delete
All Pages