Exam 18: CompTIA Linux+

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

A Linux systems administrator is troubleshooting an issue with the /home directory running out of space. The administrator needs to determine which directories are using the most space. Which of the following commands should be used?

(Multiple Choice)
4.8/5
(33)

A systems administrator needs to run the yum update command two hours after employees log off and leave for the day on Friday. Which of the following is the BEST command to complete the task, if the task only needs to be run once?

(Multiple Choice)
4.8/5
(35)

A member of the production group issues the following command: echo "Monday through Friday" > /production_docs/days The command fails to execute, so the user obtains the following output: drwxr--r-- root production 0 Jun 16 2018 production -rw-r--r-- production production 4096 Jun 14 2018 days Which of the following commands should the user execute to BEST fix the issue?

(Multiple Choice)
4.9/5
(43)

An administrator is logged into a server remotely and wants to determine if the system is a VM. Which of the following commands would assist with this?

(Multiple Choice)
4.8/5
(34)

A user is unable to write data to an NFS datastore at /mnt/storage . A df command indicates 50% free inodes. Which of the following commands should the user attempt NEXT to diagnose the situation?

(Multiple Choice)
4.9/5
(35)

Which of the following commands would show the default printer on a Linux system?

(Multiple Choice)
4.9/5
(38)

A junior systems administrator created a new filesystem /dev/sda1 with mountpoint /data and added it to the /etc/fstab for auto-mounting. When the systems administrator tries to mount the file system, the system refuses. Given the output below: A junior systems administrator created a new filesystem /dev/sda1 with mountpoint /data and added it to the /etc/fstab for auto-mounting. When the systems administrator tries to mount the file system, the system refuses. Given the output below:   Which of the following steps is necessary? Which of the following steps is necessary?

(Multiple Choice)
4.8/5
(30)

Ann, a user, has created a new directory and noticed that permissions on the new directory are as follows: drwx------. 1 ann ann 0 Jun 11 08:20 work Which of the following should the administrator do to restore default permissions for newly created directories?

(Multiple Choice)
4.7/5
(38)

A systems administrator needs to retrieve specific fields from a csv file. Which of the following tools would accomplish this task?

(Multiple Choice)
4.9/5
(40)

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?

(Multiple Choice)
4.9/5
(41)

A system administrator has set up third-party log aggregation agents across several cloud instances. The systems administrator wants to create a dashboard of failed SSH attempts and the usernames used. Which of the following files should be watched by the agents?

(Multiple Choice)
4.9/5
(36)

A systems administrator documents the instructions on the internal wiki regarding how to turn the company's code into Debian packages. The instructions include the commands used to compile, what tests need to be run, the commands to convert the raw code into a package that apt or dpkg can manage, as well as an explanation of each command. Which of the following is this an example of?

(Multiple Choice)
4.7/5
(41)

In which of the following Linux GUI environments would the Konsole application MOST likely be found?

(Multiple Choice)
4.8/5
(44)

A Linux administrator needs to prevent the Postfix mail transfer agent from starting on boot. Which of the following commands will accomplish this task?

(Multiple Choice)
4.9/5
(32)

A junior administrator is configuring local name lookups for fully qualified domain names in an isolated environment. The administrator is given a checklist and must accomplish the following tasks: Add localhost with loopback address. Add 192.168.192.12/24 to resolve to database01.comptia.org Given this scenario, which of the following steps should the administrator perform to accomplish these tasks?

(Multiple Choice)
4.8/5
(32)

A junior Linux administrator is optimizing a system in which an application needs to take priority 0 when running the process. The administrator runs the ps command and receives the following output: A junior Linux administrator is optimizing a system in which an application needs to take priority 0 when running the process. The administrator runs the ps command and receives the following output:   Given this scenario, which of the following steps will address this issue? Given this scenario, which of the following steps will address this issue?

(Multiple Choice)
4.7/5
(30)

A Linux administrator retrieved a repository of files from a Git server using git clone . The administrator wants to see if a configuration file was added to the repository. Which of the following Git arguments should be used to see the recent modifications?

(Multiple Choice)
4.7/5
(39)

A user requested a USB serial device to be added to a desktop computer. The device has built-in kernel driver support. The administrator tested the device installation and access, but the user cannot access the serial port. Each time the user attempts to access the device, an error log is created that shows the user does not have permission to use the serial port. Which of the following will add a user to the group that has serial port capabilities?

(Multiple Choice)
4.8/5
(36)

A junior systems administrator is diagnosing an issue with latency. The administrator issues the command mtr www.comptia.org at a terminal and receives the following output: A junior systems administrator is diagnosing an issue with latency. The administrator issues the command mtr www.comptia.org at a terminal and receives the following output:   Given this scenario and the output, which of the following should be reported to the network team for investigation? (Choose two.) Given this scenario and the output, which of the following should be reported to the network team for investigation? (Choose two.)

(Multiple Choice)
4.9/5
(29)

An administrator has a CSV file named hosts.csv . The contents of include the following: 192.168.2.57,lnx1prd.example.com,Linux,Production 192.168.2.58,lnx2prd.example.com,Linux,Production 192.168.1.4,server15.example.com,Windows,Development The administrator needs to create a second comma-separated list of only the Linux server IP addresses. Which of the following commands would achieve this need?

(Multiple Choice)
4.8/5
(34)
Showing 221 - 240 of 252
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)