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

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

List of questions

Question 341

Report Export Collapse

Which of the following options describes the purpose of YAML?

Become a Premium Member for full access
  Unlock Premium Member

Question 342

Report Export Collapse

Users are reporting that a production application has slow performance. A systems administrator logs in to the server and performs some basic checks. Given the following:

yaml

[root@comptia]# ps -o pcpu; pidstat 1

Average: UID PID %usr %system %wait %CPU Command

Average: 0 937242 32.39 0 63.21 32.39 app_prd

Average: 0 937245 44.97 0.31 51.57 45.28 app_prd

Average: 0 937244 23.62 0 63.55 28.62 app_prd

[root@comptia]# vmstat 1

procs memory swap io system cpu

r b swpd free buff cache si so bi bo in cs us sy id wa st

16 0 978912 376320 50804 10296312 0 0 0 44 5503 2962 98 2 0 0 0

[root@comptia]# free -m

total used free shared buff/cache available

Mem: 15533 5063 365 164 10104 9975

Swap: 7931 955 6976

Which of the following is causing the performance issue?

Become a Premium Member for full access
  Unlock Premium Member

Question 343

Report Export Collapse

The development team created a new branch with code changes that a Linux administrator needs to pull from the remote repository. When the administrator looks for the branch in Git, the branch in question is not visible. Which of the following commands should the Linux administrator run to refresh the branch information?

Become a Premium Member for full access
  Unlock Premium Member

Question 344

Report Export Collapse

After connecting to a remote host via SSH, an administrator attempts to run an application but receives the following error:

arduino

Error: cannot open display:

Which of the following should the administrator do to resolve this error?

Become a Premium Member for full access
  Unlock Premium Member

Question 345

Report Export Collapse

A systems administrator needs to know the mail exchange (MX) record for the foo.com domain. Which of the following commands will accomplish this task?

Become a Premium Member for full access
  Unlock Premium Member

Question 346

Report Export Collapse

Which of the following commands should a technician use to create an administrative account for the username Joe?

Become a Premium Member for full access
  Unlock Premium Member

Question 347

Report Export Collapse

A Linux administrator needs to forward port 8000 on a remote server to port 8000 on a local server. Which of the following commands should the administrator run on the local server to achieve this goal?

Become a Premium Member for full access
  Unlock Premium Member

Question 348

Report Export Collapse

A systems administrator created a user cron to run a scheduled database backup cronjob on the server at 1 a.m. every day. The following is the cronjob syntax:

0 1 * * * /bin/sh backup.sh

The backups, however, are not being created. When checking the crontab file, the administrator sees the following error:

/var/spool/cron/crontab/cron: Permission denied

Which of the following will permit the cronjob to execute?

Become a Premium Member for full access
  Unlock Premium Member

Question 349

Report Export Collapse

A Linux administrator deployed a large-scale application service as a containerized pod. The Linux administrator needs to continually send the application's log file to the company's central log store. Which of the following should the Linux administrator do to efficiently perform this task?

Become a Premium Member for full access
  Unlock Premium Member

Question 350

Report Export Collapse

A Linux administrator needs to run a web application on a server that requires the use of a desktop web browser to enter the final configuration information. The administrator determines the server is running in multi-user mode. The administrator verifies that a web browser is installed on the server and that it has a display manager installed. Which of the following commands will best allow the administrator to temporarily use the web browser on the server?

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

Related questions