Pre-Summer Sale 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: save70

XK0-006 Exam Questions Tutorials

Page: 10 / 11
Total 149 questions

CompTIA Linux+ V8 Exam Questions and Answers

Question 37

An administrator needs to create a new logical volume from sets of provisioned disks. Which of the following shows the correct order of commands the administrator should execute?

Options:

A.

1. pvcreate, 2. vgcreate, 3. lvcreate

B.

1. vgcreate, 2. pvcreate, 3. lvcreate

C.

1. vgcreate, 2. lvcreate, 3. pvcreate

D.

1. lvcreate, 2. pvcreate, 3. vgcreate

Question 38

Which of the following describes PEP 8?

Options:

A.

The style guide for Python code

B.

Python virtual environments

C.

A package installer for Python

D.

A Python variable holding octal values

Question 39

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.

Question 40

A Linux administrator just finished setting up passwordless SSH authentication between two nodes. However, upon test validation, the remote host prompts for a password. Given the following logs:

Which of the following is the most likely cause of the issue?

Options:

A.

The SELinux policy is incorrectly targeting the unconf ined_u context.

B.

The administrator forgot to restart the SSHD after creating the authorizedjceys file.

C.

The authorized_keys file has the incorrect root permissions assigned.

D.

The authorized_keys file does not have the correct security context to match SELinux policy.

Page: 10 / 11
Total 149 questions