Exam Logo

Comptia (XK0-004) Exam Questions And Answers page 31

An administrator is reviewing updates in the master online Git repository and notices a file named .htaccess. The file contains passwords and should only be in the administrator s local repository, not the online one. Which of the following would prevent this file from appearing online in the future?
Devices, Linux Filesystems, and Filesystem Hierarchy Standard Shells, Scripting, and Data Management
A user is reporting unusual slowness when trying to transfer a large file to an NFS server from a workstation. The administrator runs tracepath and gets the following output:

Which of the following BEST describes the issue and a possible solution?
Networking Fundamentals Security
A Linux administrator recently reprovisioned a new corporate web server to replace a legacy one. To minimize the impact on the company's users, the administrator modified the network and DNS settings of the new server to be the same as the legacy server.

When attempting to log in to the new server remotely over SSH, the following error message is displayed:


Which of the following should the administrator do to resolve the issue?
Networking Fundamentals Security
A user attempts to use the mount -a command but gets the following error:

mount: mount point /mnt/test does not exist

Which of the following commands best describes the action the Linux administrator should take NEXT?
Devices, Linux Filesystems, and Filesystem Hierarchy Standard
The lead Linux admin has added a disk, /dev/sdd, to a VM that is running out of disk space. Place the following steps in the correct order from first (1) to last (4) to add the disk to the existing LVM.

Scripting and Automation Devices, Linux Filesystems, and Filesystem Hierarchy Standard
Which of the following are Linux desktop managers? (Choose two.)
User Interfaces and Desktops
Complete the sentence. The Solutions Continuum represents implementations of the architectures at corresponding levels of the _______________.
System Configuration and Management Administrative Tasks
Joe, a user, asks a systems administrator to schedule the daily execution of a custom script.

Which of the following commands will allow the systems administrator to set up Joe s cron job?
Command Line Interface Shells, Scripting, and Data Management
Which of the following is an objective of Phase B, Business Architecture?
System Configuration and Management
A Linux administrator is setting up a testing environment and needs to connect to a separate testing server using the production server name. The administrator needs to override the hostname that the DNS is returning in order to use the test environment. Which of the following commands should be run on each of the testing systems to BEST meet this goal?
Command Line Interface Security