New Year Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: simple70

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

Viewing page 4 out of 15 pages
Viewing questions 31-40 out of questions
Questions # 31:

A Linux administrator is providing a new Nginx image from the registry to local cache. Which of the following commands would allow this to happen?

Options:

A.

docker pull nginx


B.

docker attach nginx


C.

docker commit nginx


D.

docker import nginx


Expert Solution
Questions # 32:

Rugged appliances are small appliances with ruggedized hardware and like Quantum Spark appliance they use which operating system?

Options:

A.

Centos Linux


B.

Gaia embedded


C.

Gaia


D.

Red Hat Enterprise Linux version 5


Expert Solution
Questions # 33:

A cloud engineer needs to check the link status of a network interface named eth1 in a Linux server. Which of the following commands can help to achieve the goal?

Options:

A.

ifconfig hw eth1


B.

netstat -r eth1


C.

ss -ti eth1


D.

ip link show eth1


Expert Solution
Questions # 34:

After starting an Apache web server, the administrator receives the following error:

Apr 23 localhost.localdomain httpd 4618] : (98) Address already in use: AH00072: make_sock: could not bind to address [: :]80

Which of the following commands should the administrator use to further trou-bleshoot this issue?

Options:

A.

Ss


B.

Ip


C.

Dig


D.

Nc


Expert Solution
Questions # 35:

A junior developer is unable to access an application server and receives the following output:

Question # 35

The systems administrator investigates the issue and receives the following output:

Which of the following commands will help unlock the account?

Options:

A.

Pam_tally2 --user=dev2 —-quiet


B.

pam_ tally2 --user=dev2


C.

pam_tally2 -–user+dev2 —-quiet


D.

pam_tally2 --user=dev2 —-reset


Expert Solution
Questions # 36:

An administrator recently updated the BIND software package and would like to review the default configuration that shipped with this version. Which of the following files should the administrator review?

Options:

A.

/etc/named.conf.rpmnew


B.

/etc/named.conf.rpmsave


C.

/etc/named.conf


D.

/etc/bind/bind.conf


Expert Solution
Questions # 37:

A systems administrator is tasked with setting up key-based SSH authentication. In which of the following locations should the administrator place the public keys for the server?

Options:

A.

~/.sshd/authkeys


B.

~/.ssh/keys


C.

~/.ssh/authorized_keys


D.

~/.ssh/keyauth


Expert Solution
Questions # 38:

The security team has identified a web service that is running with elevated privileges A Linux administrator is working to change the systemd service file to meet security compliance standards. Given the following output:

Which of the following remediation steps will prevent the web service from running as a privileged user?

Options:

A.

Removing the ExecStarWusr/sbin/webserver -D SOPTIONS from the service file


B.

Updating the Environment File line in the [Service] section to/home/webservice/config


C.

Adding the User-webservice to the [Service] section of the service file


D.

Changing the:nulti-user.target in the [Install] section to basic.target


Expert Solution
Questions # 39:

A systems administrator created a new Docker image called test. After building the image, the administrator forgot to version the release. Which of the following will allow the administrator to assign the v1 version to the image?

Options:

A.

docker image save test test:v1


B.

docker image build test:vl


C.

docker image tag test test:vl


D.

docker image version test:v1


Expert Solution
Questions # 40:

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
Viewing page 4 out of 15 pages
Viewing questions 31-40 out of questions