Summer Certification Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code = getmirror

Pass the CompTIA Linux+ XK0-005 Questions and answers with ExamsMirror

Practice at least 50% of the questions to maximize your chances of passing.
Exam XK0-005 Premium Access

View all detail and faqs for the XK0-005 exam


788 Students Passed

94% Average Score

94% Same Questions
Viewing page 13 out of 15 pages
Viewing questions 121-130 out of questions
Questions # 121:

A cloud engineer wants to delete all unused networks that are not referenced by any container. Which of the following commands will achieve this goal?

Options:

A.

docker network erase

B.

docker network clear

C.

docker network prune

D.

docker network rm

Questions # 122:

The systemd logs are disappearing after a restart, even though the free disk space is adequate. Which of the following is the cause of this behavior?

Options:

A.

The option Storage=volatile is set in the journald configuration

B.

The journald size limit has been exceeded

C.

The service systemd-journald is disabled and masked

D.

The directory /tmp does not have enough tree space

Questions # 123:

An administrator added a new disk to expand the current storage. Which of the following commands should the administrator run first to add the new disk to the LVM?

Options:

A.

vgextend

B.

lvextend

C.

pvcreate

D.

pvresize

Questions # 124:

A Linux administrator needs to rebuild a container with the httpd service in order to change some default parameters. Which of the following should be the first command line in the Dockerfile?

Options:

A.

FROM httpd

B.

BASE httpd

C.

USE httpd

D.

INHERIT httpd

Questions # 125:

A systems technician needs to install a third-party software package. Which of the following commands would allow the technician to download this software package from a remote server?

Options:

A.

netstat

B.

nc

C.

telnet

D.

wget

Questions # 126:

A Linux administrator generated a list of users who have root-level command-line access to the Linux server to meet an audit requirement. The administrator analyzes the following /etc/passwd and /etc/sudoers files:

$ cat /etc/passwd

root:x: 0:0: :/home/root: /bin/bash

lee: x: 500: 500: :/home/lee:/bin/tcsh

mallory:x: 501:501: :/root:/bin/bash

eve:x: 502: 502: /home/eve:/bin/nologin

carl:x:0:503: :/home/carl:/bin/sh

bob:x: 504: 504: : /home/bob:/bin/ksh

alice:x: 505:505: :/home/alice:/bin/rsh

$ cat /etc/sudoers

Cmnd_Alias SHELLS = /bin/tcsh, /bin/sh, /bin/bash

Cmnd_Alias SYSADMIN = /usr/sbin/tcpdump

ALL = (ALL) ALL

ALL = NOPASSWD: SYSADMIN

Which of the following users, in addition to the root user, should be listed in the audit report as having root-level command-line access? (Select two).

Options:

A.

Carl

B.

Lee

C.

Mallory

D.

Eve

E.

Bob

F.

Alice

Questions # 127:

A systems administrator is trying to track down a rogue process that has a TCP listener on a network interface for remote command-and-control instructions.

Which of the following commands should the systems administrator use to generate a list of rogue process names? (Select two).

Options:

A.

netstat -antp | grep LISTEN

B.

lsof -iTCP | grep LISTEN

C.

lsof -i:22 | grep TCP

D.

netstat -a | grep TCP

E.

nmap -p1-65535 | grep -i tcp

F.

nmap -sS 0.0.0.0/0

Questions # 128:

A User on a Linux workstation needs to remotely start an application on a Linux server and then forward the graphical display of that application back to the Linux workstation. Which of the following would enable the user to perform this action?

Options:

A.

ssh -X user@server application

B.

ssh -y user@server application

C.

ssh user@server application

D.

ssh -D user@server application

Questions # 129:

A Linux administrator is implementing a stateful firewall on the Linux server. Which of the following iptables options will be required to build the stateful rules? (Select two).

Options:

A.

--name established

B.

-m recent

C.

-m conntrack

D.

--state

E.

--remove

F.

-j DROP

Questions # 130:

A Linux administrator wants to display a list of all containers, including ones that are stopped. Which of the following commands should the administrator run?

Options:

A.

docker ps -a

B.

docker image list

C.

docker stats

D.

docker list -a

Viewing page 13 out of 15 pages
Viewing questions 121-130 out of questions
TOP CODES

TOP CODES

Top selling exam codes in the certification world, popular, in demand and updated to help you pass on the first try.