Weekend Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code = simple70

Pass the CompTIA Linux+ XK0-006 Questions and answers with Dumpstech

Exam XK0-006 Premium Access

View all detail and faqs for the XK0-006 exam

Practice at least 50% of the questions to maximize your chances of passing.
Viewing page 1 out of 3 pages
Viewing questions 1-10 out of questions
Questions # 1:

Which of the following is the main reason for setting up password expiry policies?

Options:

A.

To avoid using the same passwords repeatedly

B.

To mitigate the use of exposed passwords

C.

To force usage of passwordless authentication

D.

To increase password strength and complexity

Questions # 2:

A Linux administrator is making changes to local files that are part of a Git repository. The administrator needs to retrieve changes from the remote Git repository. Which of the following commands should the administrator use to save the local modifications for later review?

Options:

A.

git stash

B.

git pull

C.

git merge

D.

git fetch

Questions # 3:

A systems administrator receives reports from users who are having issues while trying to modify newly created files in a shared directory. The administrator sees the following outputs:

Question # 3

Which of the following provides the best resolution to this issue?

Options:

A.

Adding a setuid bit to the user in the shared folder

B.

Manually changing the group of the newly created files

C.

Changing all directory contents to be writable and readable for everyone

D.

Adding a setgid bit to the group in the shared folder

Questions # 4:

User1 reports "access denied" errors while trying to execute app. Given the following outputs:

Question # 4

Which of the following options will remediate this issue?

Options:

A.

Providing execute permissions to user1 in the ACL

B.

Modifying the permissions for others to grant read, write, and execute

C.

Adding user1 to the wheel group

D.

Moving app to a different folder

Questions # 5:

An administrator receives the following output while attempting to unmount a filesystem:

umount /data1: target is busy.

Which of the following commands should the administrator run next to determine why the filesystem is busy?

Options:

A.

ps -f /data1

B.

du -sh /data1

C.

top -d /data1

D.

lsof | grep /data1

Questions # 6:

A systems administrator needs to set the IP address of a new DNS server. Which of the following files should the administrator modify to complete this task?

Options:

A.

/etc/whois.conf

B.

/etc/resolv.conf

C.

/etc/nsswitch.conf

D.

/etc/dnsmasq.conf

Questions # 7:

Users cannot access an application that is running inside containers. The administrator wants to validate whether the containers are running. Which of the following commands should the administrator use?

Options:

A.

docker start

B.

docker ps

C.

docker run

D.

docker images

Questions # 8:

A Linux user frequently tests shell scripts located in the /home/user/scripts directory. Which of the following commands allows the user to run the program by invoking only the script name?

Options:

A.

export SHELL=$SHELL=/home/user/scripts

B.

export TERM=$TERM=/home/user/scripts

C.

export PATH=$PATH:/home/user/scripts

D.

export alias /home/user/scripts='/bin'

Questions # 9:

A Linux administrator updates the DNS record for the company using:

cat /etc/bind/db.abc.com

The revised partial zone file is as follows:

ns1 IN A 192.168.40.251

ns2 IN A 192.168.40.252

www IN A 192.168.30.30

When the administrator attempts to resolve www.abc.com to its IP address, the domain name still points to its old IP mapping:

nslookup www.abc.com

Server: 192.168.40.251

Address: 192.168.40.251#53

Non-authoritative answer:

Name: www.abc.com

Address: 199.168.20.81

Which of the following should the administrator execute to retrieve the updated IP mapping?

Options:

A.

systemd-resolve query www.abc.com

B.

systemd-resolve status

C.

service nslcd reload

D.

resolvectl flush-caches

Questions # 10:

A Linux administrator needs to create and then connect to the app-01-image container. Which of the following commands accomplishes this task?

Options:

A.

docker run -it app-01-image

B.

docker start -td app-01-image

C.

docker build -ic app-01-image

D.

docker exec -dc app-01-image

Viewing page 1 out of 3 pages
Viewing questions 1-10 out of questions