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

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

A Linux administrator is installing a web server and needs to check whether web traffic has already been allowed through the firewall. Which of the following commands should the administrator use to accomplish this task?

Options:

A.

firewalld query-service-http


B.

firewall-cmd --check-service http


C.

firewall-cmd --query-service http


D.

firewalld --check-service http


Expert Solution
Questions # 122:

A Linux administrator needs to determine whether a hostname is in the DNS. Which of the following would supply the information that is needed?

Options:

A.

nslookup


B.

rsynс


C.

netstat


D.

host


Expert Solution
Questions # 123:

What is the main objective when using Application Control?

Options:

A.

To filter out specific content.


B.

To assist the firewall blade with handling traffic.


C.

To see what users are doing.


D.

Ensure security and privacy of information.


Expert Solution
Questions # 124:

A Linux systems administrator needs to copy files and directories from Server A to Server B. Which of the following commands can be used for this purpose? (Select TWO)

Options:

A.

rsyslog


B.

cp


C.

rsync


D.

reposync


E.

scp


F.

ssh


Expert Solution
Questions # 125:

A systems administrator frequently connects to a remote host via SSH and a non-standard port. The systems administrator would like to avoid passing the port parameter on the command line every time. Which of the following files can be used to set a different port value for that host?

Options:

A.

/etc/ssh/sshd_config


B.

/etc/ssh/moduli


C.

~/.ssh/config


D.

~/.ssh/authorized_keys


Expert Solution
Questions # 126:

A Linux administrator is alerted to a storage capacity issue on a server without a specific mount point or directory. Which of the following commands would be MOST helpful for troubleshooting? (Choose two.)

Options:

A.

parted


B.

df


C.

mount


D.

du


E.

fdisk


F.

dd


G.

ls


Expert Solution
Questions # 127:

A systems administrator needs to verify whether the built container has the app.go file in its root directory. Which of the following can the administrator use to verify the root directory has this file?

Options:

A.

docker image inspect


B.

docker container inspect


C.

docker exec ls


D.

docker ps


Expert Solution
Questions # 128:

A Linux administrator is adding a new configuration file to a Git repository. Which of the following describes the correct order of Git commands to accomplish the task successfully?

Options:

A.

pull -> push -> add -> checkout


B.

pull -> add -> commit -> push


C.

checkout -> push -> add -> pull


D.

pull -> add -> push -> commit


Expert Solution
Questions # 129:

A DevOps engineer wants to allow the same Kubernetes container configurations to be deployed in development, testing, and production environments. A key requirement is that the containers should be configured so that developers do not have to statically configure custom, environment-specific locations. Which of the following should the engineer use to meet this requirement?

Options:

A.

Custom scheduler


B.

Node affinity


C.

Overlay network


D.

Ambassador container


Expert Solution
Questions # 130:

Which of the following commands is used to configure the default permissions for new files?

Options:

A.

setenforce


B.

sudo


C.

umask


D.

chmod


Expert Solution
Viewing page 13 out of 15 pages
Viewing questions 121-130 out of questions