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

Pass XK0-006 Exam Guide

Page: 7 / 7
Total 87 questions

CompTIA Linux+ V8 Exam Questions and Answers

Question 25

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 26

Which of the following describes how a user's public key is used during SSH authentication?

Options:

A.

The user's public key is used to hash the password during SSH authentication.

B.

The user's public key is verified against a list of authorized keys. If it is found, the user is allowed to log in.

C.

The user's public key is used instead of a password to allow server access.

D.

The user's public key is used to encrypt the communication between the client and the server.

Page: 7 / 7
Total 87 questions