Exam Logo

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

A user issues the following command:

ls l /var/log | egrep e ^d[rwx]{3}.*[rw-]{3}.*

The list of files in the system is shown below:


Which of the following results matches the command issued?
Command Line Interface Devices, Linux Filesystems, and Filesystem Hierarchy Standard
An administrator needs to download a monitoring agent called node_exporter.0.16.0-Linux.amd64 from the internal web page https://company.local/downloads/. The server does not have graphical interface.

Which of the following commands will accomplish this task?
Command Line Interface Devices, Linux Filesystems, and Filesystem Hierarchy Standard
TOGAF uses a version numbering convention to illustrate the evolution of the Baseline and Target Architecture Definitions. Which version number in this convention indicates a high-level outline of the architecture?
Networking Fundamentals
A junior Linux administrator needs to access production servers using a secure SSH protocol. Which of the following files should contain the public key to gain remote access to the server?
Networking Fundamentals Security
A Linux administrator is using a Linux system as a router. During the tests, the administrator discovers that IP packets are not being sent between the configured interfaces.

Which of the following commands enables this feature for IPv4 networks?
Networking Fundamentals
An administrator is analyzing a Linux server which was recently hacked.

Which of the following will the administrator use to find all unsuccessful login attempts?
Command Line Interface Security
An administrator notices that a long-running script, /home/user/script.sh, is taking up a large number of system resources. The administrator does not know the script s function. Which of the following commands should the administrator use to minimize the script s impact on system resources?
Scripting and Automation Administrative Tasks
An administrator receives an alarm because the disk of one of the sewers is running out of space. Which of the following commands can be used to see the space that each partition is using?
Devices, Linux Filesystems, and Filesystem Hierarchy Standard Shells, Scripting, and Data Management
A Linux administrator needs to back up files from a user's home directory to a remote server. The administrator copied the files last week but must ensure any files created or modified since then are added.

Which of the following is the BEST command for the administrator to use?
Scripting and Automation Shells, Scripting, and Data Management
Complete the sentence by selecting the applicable pair of words. A/an _____is used in Phase A to help identify and understand business _____that the architecture has to address.
System Configuration and Management Command Line Interface