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

XK0-005 Exam Results

Page: 12 / 35
Total 470 questions

CompTIA Linux+ Exam Questions and Answers

Question 45

Which of the following concepts describes the approach of keeping all configurations in a repository?

Options:

A.

Inventory

B.

Infrastructure as Code

C.

Orchestration

D.

Agentless deployment

Question 46

A systems technician needs to install a third-party software package. Which of the following commands would allow the technician to download this software package from a remote server?

Options:

A.

netstat

B.

nc

C.

telnet

D.

wget

Question 47

When trying to connect from the bastion host to the remote server, a Linux user always forgets to add some required options in the SSH command line. Which of the following is the best way to permanently solve the user's issue?

Options:

A.

Write a connection script and put it in the user's home directory.

B.

Instruct the user to add the required options to the ~/.ssh/config file

C.

Add the required options to /etc/ssh/sshconfig

D.

Establish an alias for the SSH command with all the required options.

Question 48

A Linux administrator needs to create a new user named user02. However, user02 must be in a different home directory, which is under /comptia/projects. Which of the following commands will accomplish this task?

Options:

A.

useradd -d /comptia/projects user02

B.

useradd -m /comptia/projects user02

C.

useradd -b /comptia/projects user02

D.

useradd -s /comptia/projects user02

Page: 12 / 35
Total 470 questions