ExamGecko
Home / CompTIA / XK0-005 / List of questions
Ask Question

CompTIA XK0-005 Practice Test - Questions Answers, Page 30

Add to Whishlist

List of questions

Question 291

Report Export Collapse

overwrite any existing files. Which of the following commands would indicate that the file already exists?

Become a Premium Member for full access
  Unlock Premium Member

Question 292

Report Export Collapse

An administrator is provisioning an Apache web server. When the administrator visits the server website, the browser displays a message indicating the website cannot be reached. Which of the following commands should the administrator use to verify whether the service Is running?

Become a Premium Member for full access
  Unlock Premium Member

Question 293

Report Export Collapse

The journald entries have filled a Linux machine's /var volume. Which of the following is the best command for a systems administrator to use to free up the disk space occupied by these entries?

Become a Premium Member for full access
  Unlock Premium Member

Question 294

Report Export Collapse

A server administrator has scheduled a cron job to run YUM updates on all servers without manual intervention, but kernel packages must be excluded from the updates at all times. Which of the following configuration files needs to be modified to make these changes persistent?

Become a Premium Member for full access
  Unlock Premium Member

Question 295

Report Export Collapse

A Linux administrator wants a permission bit on a shared folder that allows only the owner of the file within that directory or the root user to delete or rename the file. Which of the following commands will help achieve this goal?

Become a Premium Member for full access
  Unlock Premium Member

Question 296

Report Export Collapse

Linux system users report that over the past few months, a server has stopped responding at least twice each day. Every time this happens, the users have to restart the server to recover it. A systems administrator diagnosing the issue collects the following outputs:

csharp

Output 1

[Tue Aug 31 16:36:42 2021] oom-killer invoked by java: gfp_mask=0x280da2 order=0, oom_score_adj=0

[Tue Aug 31 16:36:42 2021] java cpuset=/ mems_allowed=0

makefile

Output 2

[root@server]# free -m

total used free shared buff/cache available

Mem: 15819 15026 174 92 619 134

Swap: 0 0 0

Which of the following is the best permanent resolution for the system?

Become a Premium Member for full access
  Unlock Premium Member

Question 297

Report Export Collapse

A Linux administrator is configuring network traffic forwarding. Despite having proper iptables rules, the traffic forwarding is not working. Which of the following commands will allow Linux to pass network traffic between different interfaces?

Become a Premium Member for full access
  Unlock Premium Member

Question 298

Report Export Collapse

Joe, a user, is unable to log in to the system. The Linux administrator checks the /etc/passwd file and reviews the following output:

Joe:x:1002:1002::/home/Joe:/sbin/nologin

Which of the following should the administrator do to fix this issue?

Become a Premium Member for full access
  Unlock Premium Member

Question 299

Report Export Collapse

A systems administrator is configuring a Linux system so that network traffic from the internal network 172.17.0.0/16 going out through the eth0 interface would appear as if it was sent directly from this interface. Which of the following commands will accomplish this task?

Become a Premium Member for full access
  Unlock Premium Member

Question 300

Report Export Collapse

An administrator thinks that a package was installed using a snap. Which of the following commands can the administrator use to verify this information?

Become a Premium Member for full access
  Unlock Premium Member
Total 407 questions
Go to page: of 41
Search

Related questions