XK0-004試験無料問題集「CompTIA Linux+ Certification 認定」

A user wants to list the lines of a log, adding a correlative number at the beginning of each line separated by a set of dashes from the actual message. Which of the following scripts will complete this task?

A user cannot write files to the /home/user directory. The junior Linux administrator runs the following commands:

Which of the following BEST represents why the user cannot write files?

A Linux administrator is checking connectivity between two servers in separate subnets:
Server A: 10.1.2.20 (source)
Server B: 10.2.1.10 (destination on port 8080)
The administrator tried to run the curl 10.2.1.10:8080 command on server A and received the following output:
curl: (7) Failed to connect to 10.2.1.10 port 8080: Connection refused.
The administrator checked on server B and confirmed nothing is listening on port 8080.
Which of the following commands, when run on server B, would have allowed the administrator to test the connection successfully?

A security audit concludes that an organization's database servers need to be hardened As a result, an administrator obtans tie fofcjwwng partial Nmap output from a database server.

Which of the following commands should the administrator execute to mitigate security risks?

A systems administrator suspects a process with a PID of 2864 is consuming resources at an alarming rate.
The administrator uses the command renice -n -5 -p2864, but it does not solve the issue. Which of the following commands should the administrator execute to correct the issue?

解説: (GoShiken メンバーにのみ表示されます)
An administrator completed the configuration of the in-addr.arpa zone files for an organization.
Which of the following commands should the administrator use to verify the configuration is working as expected?

A systems administrator configured a new kernel module, but it stopped working after reboot. Which of the following will allow the systems administrator to check for module problems during server startup?

A company requires all servers to be configured with the BIOS on Coordinated Universal Time and the OS on Central Standard Time.
Which of the following can be used to change the time according to these requirements? (Choose two.)

A user wants to use terminal services from a Windows workstation to manage a Linux server. Which of the following should be installed on the Linux server to enable this functionality?

A junior Linux administrator needs to create 16 empty files quickly that will contain sales information for each quarter for the past four years. Which of the following commands will meet this requirement?

An administrator has written the following Bash script:

All necessary files exist in the correct locations. However, when the administrator executes /home/user/test.sh the following error is received:
No such file or directory
Which of the following is the MOST likely cause of the error?

Which of the following can cause a kernel panic message after a system reboot?

An administrator is installing a Linux VM on a personal hypervisor. The administrator wants to have the VM's IP address on the same network as the hypervisor host so the VM has the same network properties as the physical interface of the host. To which of the following should the administrator set the network properties?

Two specific users need access to a directory owned by root where backups are located. Which of the following commands would BEST ensure the specified users can access the backup files?

A systems administrator receives a report that the web server is not running after a planned system reboot.
After starting the web server manually, which of the following commands should the administrator issue to ensure the web server starts at boot time?

A systems administrator needs to append output of ls -lha /opt command to the contents of a test.txt file. Which of the following commands will accomplish this?