Summer Special - Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: top65certs

New Release XK0-005 Linux+ Questions

Page: 18 / 37
Total 487 questions

CompTIA Linux+ Exam Questions and Answers

Question 69

A systems administrator receives the following message after running an ip link command to verify the status of a network interface named enp0s3:

state DOWN

Which of the following commands should the administrator use to resolve this issue?

Options:

A.

ip link set enp0s3 up

B.

ip link ifb enp0s3 up

C.

ip link add enp0s3 up

D.

ip link enp0s3 up

Question 70

A Linux administrator is testing a web application on a laboratory service and needs to temporarily allow DNS and HTTP/HTTPS traffic from the internal network. Which of the following commands will accomplish this task?

Options:

A.

firewalld -- add-service=dns, http,https -- zone=internal

B.

iptables -- enable-service='dns|http|https' -- zone=internal

C.

firewall-cmd --add-service={dns, http, https} --zone=internal

D.

systemctl mask firewalld --for={dns, http, https} --zone=internal

Question 71

An administrator is running a web server in a container named web, but none of the error output is not showing. Which of the following should the administrator use to generate the errors on the container?

Options:

A.

docker-compose inspect WEB

B.

dockerlogs WEB

C.

dockerrun —nameWEB —volume/dev/stdout:/var/log/nginx/error.log

D.

dockerps WEB -f

Question 72

Which of the following is the main purpose of SSO?

Options:

A.

To allow a user to authenticate once and have access to multiple applications or systems without having to log in again

B.

To add an extra layer of protection, reducing the risk of unauthorized access, requiring more than just a password to access

C.

To be an essential component for managing authentication, authorization, and identity information

D.

To serve as an information protection mechanism that protects identities with administrative access

Page: 18 / 37
Total 487 questions